cc/td/doc/product/l3sw/2948g-l3/rel_12_0/7wx515a
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring EtherChannel

Configuring EtherChannel

This chapter describes how to configure EtherChannel for the Catalyst 2948G-L3 switch router. For additional information about the Cisco IOS commands used in this chapter, refer to the Cisco IOS Command Reference publication. This chapter includes the following sections.


Note You are at Step 7 in the suggested process for configuring your switch router (see Table 2-1). This is an optional step. You may have already configured bridging, and you may now proceed with configuring EtherChannel as an optional step.

About EtherChannel

This section describes how to configure Fast EtherChannel (FEC) or Gigabit EtherChannel (GEC) in Layer 3 switching. EtherChannel is a trunking technology that groups together multiple full-duplex 802.3 Ethernet interfaces to provide fault-tolerant high-speed links between switches, routers, and servers. EtherChannel is a logical aggregation of multiple Ethernet interfaces. EtherChannel forms a single higher bandwidth routing or bridging endpoint. EtherChannel is designed primarily for host-to-switch connectivity or Inter-Switch Link (ISL) switch-to-switch connectivity (for example, connectivity to a Catalyst 5500 switch).

EtherChannel provides the following benefits:

The EtherChannel interface (consisting of up to four Ethernet interfaces) is treated as a single interface, which is called a port channel. You must configure EtherChannel on the EtherChannel interface rather than on the individual member Ethernet interfaces. You can create the EtherChannel interface by using the interface port-channel interface configuration command. The Catalyst 2948G-L3 switch router supports up to 16 FEC port channels and 1 GEC port channel.

EtherChannel connections are fully compatible with Cisco IOS VLAN and routing technologies. The ISL VLAN trunking protocol can carry multiple VLANs across an EtherChannel, and routers attached to EtherChannel links can provide full multiprotocol routing with support for the
Hot Standby Router Protocol (HSRP).

The Catalyst 2948G-L3 switch router supports Fast EtherChannel (FEC) and Gigabit EtherChannel (GEC).

The Cisco Fast EtherChannel technology builds upon standards-based 802.3 full-duplex
Fast
Ethernet to provide a reliable high-speed solution for the campus network backbone. Fast EtherChannel provides bandwidth scalability within the campus by providing up to 800 Mbps full-duplex Fast Ethernet.

The Cisco Gigabit EtherChannel technology provides bandwidth scalability within the campus by providing 4 Gbps full-duplex aggregate capacity per channel.

Configuring EtherChannel

Configuring a Fast EtherChannel or a Gigabit EtherChannel consists of the following two-step process:

Step 1 Create an EtherChannel interface (port channel) and assign a network (IP or IPX) address.

Step 2 Assign up to four Fast Ethernet or up to two Gigabit Ethernet interfaces to the port channel.


Note When assigning interfaces to a specific port channel, the interfaces must be all Fast Ethernet or all Gigabit Ethernet. You cannot mix interface types within a single port channel.

To create an EtherChannel interface and assign its IP address and subnet mask, use the following steps beginning in global configuration mode.

Step Command Purpose
1

2948G-L3(config)# interface port-channel channel-number

2948G-L3(config-if)#

Creates the EtherChannel interface. You can configure up to 16 FECs and 1 GEC.

2

2948G-L3(config-if)# ip address ip-address subnet-mask

Assigns an IP address and subnet mask to the Fast EtherChannel interface.

For IPX, use the ipx network network-number command.

3

2948G-L3(config-if)# exit

2948G-L3(config)#

Exits this mode. Optionally, you can remain in interface configuration mode and enable other supported interface commands to meet your requirements.

For information on other configuration tasks for the EtherChannel, refer to the Cisco IOS Configuration Fundamentals Configuration Guide.

To assign Ethernet interfaces to the EtherChannel, use the following steps beginning in global configuration mode.

Step Command Purpose
1

2948G-L3(config)# interface f1

2948G-L3(config-if)#

or

2948G-L3(config)# interface g49

2948G-L3(config-if)#

Enters Ethernet interface configuration mode to configure the Fast Ethernet or Gigabit Ethernet interface you want to assign to the EtherChannel. You can assign any interface on the system to the EtherChannel.

2

2948G-L3(config-if)# no ip address

Disables the IP address. If the Fast Ethernet or Gigabit Ethernet interface already exists and has an IP address assigned, you must disable the IP address before performing the next step.

The Ethernet interface uses the IP address assigned to the EtherChannel interface.

3

2948G-L3(config-if)# channel-group channel-number

Assigns the Fast Ethernet or Gigabit Ethernet interfaces to the EtherChannel. The channel number must be the same channel number you assigned to the EtherChannel interface.

4

2948G-L3(config-if)# end

2948G-L3#

Exits interface configuration mode. Repeat Steps 1 through 4 to add up to four
Fast Ethernet or two Gigabit Ethernet interfaces to the EtherChannel.

5

2948G-L3# copy running-config startup-config

Saves configuration changes to NVRAM.

Caution
The EtherChannel interface is the routed interface. Do not enable Layer 3 addresses on the physical Fast Ethernet or Gigabit Ethernet interfaces. Do not assign bridge groups on the physical Fast Ethernet or Gigabit Ethernet interfaces because doing so creates loops.

Note You cannot delete a Fast Ethernet EtherChannel or Gigabit Ethernet EtherChannel once they are created.

To remove an IP address and subnet mask from the EtherChannel interface, use the following steps beginning in global configuration mode.

Step Command Purpose
1

2948G-L3(config)# interface port-channel channel-number

2948G-L3(config-if)#

Enters interface configuration mode for the port channel.

2

2948G-L3(config-if)# no ip address ip-address subnet-mask

Removes an IP address and subnet mask assigned to the Fast EtherChannel interface.

For IPX, use the no ipx network network-number command.

3

2948G-L3(config-if)# exit

2948G-L3(config)#

Exits this mode.

To remove Ethernet interfaces assigned to the EtherChannel, use the following steps beginning in global configuration mode.

Step Command Purpose

1 . 

2948G-L3(config)# interface f1

2948G-L3(config-if)#

or

2948G-L3(config)# interface g49

2948G-L3(config-if)#

Enters interface configuration mode to remove the Fast Ethernet or Gigabit Ethernet interface you want to remove from the EtherChannel. You can remove any interface you had assigned to the EtherChannel.

2 . 

2948G-L3(config-if)# no channel-group channel-number

Removes the Fast Ethernet or Gigabit Ethernet interfaces assigned to the EtherChannel. The channel number must be the same channel number you assigned from the EtherChannel interface.

3 . 

2948G-L3(config-if)# end

2948G-L3#

Exits interface configuration mode. Repeat Steps 1 through 3 to remove any other interfaces from the EtherChannel.

4 . 

2948G-L3# copy running-config startup-config

Saves configuration changes to NVRAM.

The Cisco IOS software automatically removes a Fast Ethernet or Gigabit Ethernet interface from the EtherChannel if the interface goes down, and the software automatically adds the interface to the EtherChannel when the interface is back up.

About Encapsulation over EtherChannel

When configuring encapsulation over FEC or GEC, be sure to configure ISL or 802.1Q over EtherChannel (that is, the port-channel interface), not its member ports. Also make sure that you do not apply protocol-level configuration (such as an IP address or a bridge group assignment) to the member interfaces. All protocol-level configuration should be on the port channel or on its subinterface. You must configure ISL or 802.1Q encapsulation on the partner system of the EtherChannel as well.


Note When configuring encapsulation on EtherChannel, you cannot configure both ISL and 802.1Q on the same EtherChannel interface.

Configuring Encapsulation over EtherChannel

To configure encapsulation over the EtherChannel, use the following steps beginning in global configuration mode.

Step Command Purpose

1 . 

2948G-L3(config)# interface port-channel channel-number

2948G-L3(config-if)#

Creates the EtherChannel (or port channel) virtual interface.

2 . 

2948G-L3(config-if)# exit

2948G-L3(config)#

Exits to enter global configuration mode.

3 . 

2948G-L3(config)# interface f1

2948G-L3(config-if)#

or

2948G-L3(config)# interface g49

2948G-L3(config-if)#

Enters interface configuration mode for the interface you are adding to the port channel.

4 . 

2948G-L3(config-if)# channel-group channel-number

Adds the interface to the port channel. You can add up to four Fast Ethernet or two Gigabit Ethernet interfaces to the EtherChannel.

5 . 

2948G-L3(config-if)# exit

2948G-L3(config)#

Exits to enter global configuration mode.

6 . 

2948G-L3(config)# interface port-channel channel-number.subinterface-number

Configures the subinterface on the port channel.

7 . 

2948G-L3(config-subif)# encap isl vlan-id

Assigns the ISL encapsulation to the subinterface.

8 . 

2948G-L3(config-subif)# ip address ip-address subnet-mask

Assigns the protocol IP address and subnet mask to the subinterface.

9 . 

2948G-L3(config-subif)# end

2948G-L3#

Exits this mode. Optionally, you can remain in interface configuration mode and enable other supported interface commands to meet your requirements.

10 . 

2948G-L3# copy running-config startup-config

Saves configuration changes to NVRAM.


Note Four adjacent ports on the Catalyst 2948G-L3 (such as f1 through f4 or f45 through f48) on a 10/100 interface must all use the same VLAN encapsulation; that is, either ISL or 802.1Q.

Monitoring and Verifying EtherChannel

Once Fast EtherChannel or Gigabit EtherChannel is configured, you can monitor its status using the show interfaces port-channel command.

In addition, you have the option of configuring system management tasks to monitor and fine tune your switch router's performance. For these tasks, see the Cisco IOS command reference documentation.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed May 3 14:46:37 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.