|
|
This chapter describes how to configure EtherChannel for switch routers. Unless otherwise noted, the information in this chapter applies to the Catalyst 8540 CSR, Catalyst 8510 CSR, and Catalyst 8540 MSR with Layer 3 functionality. For further information about the commands used in this chapter, refer to the command reference publications in the Cisco IOS documentation set and to "Command Reference."
This chapter includes the following sections.
![]() |
Note You are at Step 6 in the suggested process for configuring your switch router (see "Suggested Procedure for Configuring Your Switch Router" section). You should have already configured bridging and should now be ready to proceed with configuring the EtherChannel. |
This section describes how to configure Fast EtherChannel or Gigabit EtherChannel 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).
In summary, EtherChannel provides the following benefits:
Your switch router supports Fast EtherChannel (FEC) and Gigabit EtherChannel (GEC).
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 increments of 200 Mbps to 800 Mbps.
![]() |
Note EtherChannel does not support IP/IPX filtering at Layer 3 with the ACL daughter card. |
Step 2 Assign the Fast Ethernet or Gigabit Ethernet interfaces (up to four) to the port channel.
![]() |
Note When assigning interfaces to a specific port channel, the interfaces must be all Fast Ethernet, Gigabit Ethernet, or Enhanced 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, perform the following steps:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface port-channel channel-number Router(config-if)# | Creates the EtherChannel interface. The channel number can be from 1 to 64 for FEC and GEC. |
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 | Exits interface configuration mode. Optionally, you can remain in interface configuration mode and enable other supported interface commands to meet your requirements. |
To assign Ethernet interfaces to the EtherChannel, perform the following steps, beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface or Router(config)# interface 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 any interface module installed 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 it 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)# exit Router# | Exits interface configuration mode. Repeat Steps 3 through 6 to add up to four Fast Ethernet or Gigabit Ethernet interfaces to the Fast EtherChannel. |
Step 5 | Router# copy system:running-config nvram:startup-config | Saves your configuration changes to NVRAM. |
For a complete configuration example of Gigabit EtherChannel, see the "Catalyst 8540 CSR with ISL, VLAN, and BVI with GEC" section.
To remove an interface from the EtherChannel requires the following steps, described in the procedures below:
Step 2 Remove the Ethernet interfaces assigned to the EtherChannel.
To remove the network address from the EtherChannel, perform 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 the IP address and subnet mask from the EtherChannel interface. For IPX, use the no ipx network network-number command. |
Step 3 | Router(config-if)# exit Router(config)# | Exits interface configuration mode. |
To remove Ethernet interfaces assigned to the EtherChannel, perform the following steps, beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# interface or Router(config)# interface Router(config-if)# | Enters Ethernet interface configuration mode to configure the Fast Ethernet or Gigabit Ethernet interface in the EtherChannel. |
Step 2 | Router(config-if)# no channel-group channel-number | Removes the Ethernet interface assigned to the EtherChannel. The channel number must be the same channel number you assigned from the EtherChannel interface. |
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 system:running-config nvram:startup-config | Saves your 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 on a subinterface over EtherChannel, perform 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. The channel number can be from 1 to 64 for FEC and GEC. |
Step 2 | Router(config-if)# exit | Returns to global configuration mode. |
Step 3 | Router(config)# interface or Router(config)# interface Router(config-if)# | Configures the port-channel member. |
Step 4 | Router(config-if)# channel-group channel-number | Adds this interface to the EtherChannel. Up to four interfaces can be added. |
Step 5 | Router(config-if)# interface port-channel | Configures the subinterface on the port channel. |
Step 6 | Router(config-if)# encapsulation isl vlan-id | Assigns the ISL encapsulation and VLAN ID to the subinterface. |
Step 7 | Router(config-if)# ip address ip-address subnet-mask | Assigns the protocol IP address and subnet mask to the subinterface. |
Step 8 | Router(config-if)# end Router# | Returns to privileged EXEC mode. Optionally, you can remain in interface configuration mode and enable other supported interface commands to meet your requirements. |
Step 9 | Router# copy system:running-config nvram:startup-config | Saves your configuration changes to NVRAM. |
Example
The following example demonstrates configuring a subinterface and encapsulation over an EtherChannel:
Router(config)# interface port-channel 3 Router(config-if)# exit Router(config-if)# interface fastethernet 1/0/3 Router(config-if)# channel-group 3 Router(config-if)# interface port-channel 1/0/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 system:running-config nvram:startup-config
Once Fast EtherChannel or Gigabit EtherChannel is configured, you can monitor its status using the show interfaces port-channel command.
Configuring the EtherChannel concludes the suggested process for configuring your switch router. You have the option of configuring system management tasks to monitor and fine tune your switch router's performance. For these tasks, refer to the Cisco IOS documentation set.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Sep 26 13:17:26 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.