|
|
This chapter describes how to configure EtherChannel for the Layer 3 switch routers. 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 Layer 3 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. |
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 5000 series or a Catalyst 6000 series switch).
EtherChannel provides the following benefits:
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.
![]() |
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. |
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface port-channel channel-number Router(config-if)# | Creates the EtherChannel interface. You can configure up to 16 FECs and 1 GEC on the Catalyst 2948G-L3 and up to 4 GECs on the Catalyst 4908G-L3. |
Step 2 | Router(config-if)# ip address ip-address subnet-mask | Assigns an IP address and subnet mask to the EtherChannel interface. |
Step 3 | Router(config-if)# exit Router(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:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface fastethernet number Router(config-if)# or Router(config)# interface gigabitethernet number Router(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. |
Step 2 | Router(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. |
Step 3 | Router(config-if)# channel-group channel-number | |
Step 4 | Router(config-if)# end Router# | Exits interface configuration mode. Repeat Steps 1 through 4 to add up to four |
Step 5 | Router# copy running-config startup-config | Saves configuration changes to NVRAM. |
![]() |
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:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface port-channel channel-number Router(config-if)# | Enters interface configuration mode for the port channel. |
Step 2 | Router(config-if)# no ip address ip-address subnet-mask | Removes an IP address and subnet mask assigned to the Fast EtherChannel or Gigabit EtherChannel interface. For IPX, use the no ipx network network-number command. |
Step 3 | Router(config-if)# exit Router(config)# | Exits this mode. |
To remove Ethernet interfaces assigned to the EtherChannel, use the following steps beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface fastethernet number Router(config-if)# or Router(config)# interface gigabitethernet number Router(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 previously assigned to the EtherChannel. |
Step 2 | Router(config-if)# no channel-group channel-number | |
Step 3 | Router(config-if)# end Router# | Exits interface configuration mode. Repeat Steps 1 through 3 to remove any other interfaces from the EtherChannel. |
Step 4 | Router# 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.
![]() |
Note When configuring encapsulation on EtherChannel, you cannot configure both ISL and 802.1Q on the same EtherChannel interface. |
To configure encapsulation over the EtherChannel, use the following steps beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface port-channel channel-number Router(config-if)# | Creates the EtherChannel (or port channel) virtual interface. |
Step 2 | Router(config-if)# exit Router(config)# | Exits to enter global configuration mode. |
Step 3 | Router(config)# interface fastethernet number Router(config-if)# or Router(config)# interface gigabitethernet number Router(config-if)# | Enters interface configuration mode for the interface you are adding to the port channel. |
Step 4 | Router(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. |
Step 5 | Router(config-if)# exit Router(config)# | Exits to enter global configuration mode. |
Step 6 | Router(config)# interface port-channel channel-number.subinterface-number | Configures the subinterface on the port channel. |
Step 7 | Router(config-subif)# encap isl vlan-id | Assigns the ISL encapsulation to the subinterface. |
Step 8 | Router(config-subif)# ip address ip-address subnet-mask | Assigns the protocol IP address and subnet mask to the subinterface. |
Step 9 | Router(config-subif)# end Router# | Exits this mode. Optionally, you can remain in interface configuration mode and enable other supported interface commands to meet your requirements. |
Step 10 | Router# copy running-config startup-config | Saves configuration changes to NVRAM. |
![]() |
Note Four adjacent Fast Ethernet ports on the Catalyst 2948G-L3 (such as Fast Ethernet 1 through 4 or Fast Ethernet 45 through 48) must all use the same VLAN encapsulation; that is, either ISL or 802.1Q. |
The following example demonstrates how to create a port channel, add a Gigabit Ethernet interface to the port channel, and how to configure a subinterface on the port channel:
Router(config)# interface port-channel 3 Router(config-if)# exit Router(config)# interface gigabitethernet 1 Router(config-if)# channel-group 3 Router(config-if)# interface port-channel 3.3 Router(config-subif)# encapsulation isl 11 Router(config-subif)# ip address 10.3.4.5 255.0.0.0 Router(config-subif)# end Router# copy running-config startup-config
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.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 7 09:20:45 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.