10-3
Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration Guide, R8.0
Chapter 10 Configuring Link Aggregation
EtherChannel Configuration Example
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, perform the following procedure, beginning in global
configuration mode:
EtherChannel Configuration Example
Figure 10-1 shows an example of EtherChannel. The associated commands are provided in
Example 10-1 (Switch A) and Example 10-2 (Switch B).
Command Purpose
Step 1
Router(config)# interface port-channel
channel-number
Creates the EtherChannel interface. You can
configure up to 6 FECs on the ML100T-12, 4
FECs on the ML100X-8, and 1 GEC on the
ML1000-2.
Step 2
Router(config-if)# ip address
ip-address
subnet-mask
Assigns an IP address and subnet mask to the
EtherChannel interface (required only for Layer 3
EtherChannel).
Step 3
Router(config-if)# end
Exits to privileged EXEC mode.
Step 4
Router# copy running-config startup-config
(Optional) Saves configuration changes to
NVRAM.
Command Purpose
Step 1
Router(config)# interface fastethernet
number
or
Router(config)# interface gigabitethernet
number
Enters one of the interface configuration modes to
configure the Fast Ethernet or Gigabit Ethernet
interface that you want to assign to the
EtherChannel. You can assign any Ethernet
interface on the system to the EtherChannel, but
both interfaces must be either FEC or GEC.
Step 2
Router(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.
Step 3
Router(config-if)# end
Exits to privileged EXEC mode.
Step 4
Router# copy running-config startup-config
(Optional) Saves configuration changes to
NVRAM.