1041
Configuring EtherChannels
Monitoring and Maintaining EtherChannels
Monitoring and Maintaining EtherChannels
Configuration Examples for Configuring
EtherChannels
Configuring EtherChannels: Examples
This example shows how to configure an EtherChannel and assign two ports as static-access ports in VLAN 10 to
channel 5 with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range GigabitEthernet1/17 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode desirable non-silent
Switch(config-if-range)# end
This example shows how to configure an EtherChannel and assign two ports as static-access ports in VLAN 10 to
channel 5 with the LACP mode active:
Switch# configure terminal
Switch(config)# interface range GigabitEthernet1/17 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode active
Switch(config-if-range)# end
Additional References
The following sections provide references related to switch administration:
Command Purpose
show etherchannel [channel-group-number
{detail | port | port-channel | protocol |
summary}] {detail | load-balance | port |
port-channel | protocol | summary}
Displays EtherChannel information in a brief,
detailed, and one-line summary form. Also
displays the load-balance or frame-distribution
scheme, port, port-channel, and protocol
information.
show pagp [channel-group-number] {counters |
internal | neighbor}
Displays PAgP information such as traffic
information, the internal PAgP configuration, and
neighbor information.
show pagp [channel-group-number]
dual-active
Displays the dual-active detection status.
show lacp [channel-group-number] {counters |
internal | neighbor}
Displays LACP information such as traffic
information, the internal LACP configuration, and
neighbor information.