channel-group
channel-groupは帯域増強や冗長化を行うため、物理ポートを論理ポートに集約するコマンドです。
設定
物理ポートgigabitethernet 1/0/1と2/0/1をPo1へ集約します。
Switch> enable
Switch# configure terminal
Switch(config)# interface gigabitethernet 1/0/1
Switch(config-if)# switchport
Switch(config-if)# switchport mode access
Switch(config-if)# channel-group 1 mode on
Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)# interface gigabitethernet 2/0/1
Switch(config-if)# switchport
Switch(config-if)# switchport mode access
Switch(config-if)# channel-group 1 mode on
Switch(config-if)# no shutdown
Switch(config-if)# end
Switch# copy running-config startup-config
mode設定部分は接続によって使い分けます。
スニファーなどと接続
- channel-group 1 mode auto
- channel-group 1 mode disable
PAgPの使用できるCisco装置と接続
- channel-group 1 mode auto non-silent
- channel-group 1 mode disable non-silent
- channel-group 1 mode active
- channel-group 1 mode passive
状態確認
- show etherchannel summary
- show etherchannel detail
- show etherchannel 1 detail
- show etherchannel load-balance
注意点
channel-groupの数は上限が決まっていてCatalyst2960は6となっている。
集約できるインタフェースの数も上限がありCatalyst2960だと8となっている。
関連コマンド
- port-channel load-balance
- lacp system-priority
- lacp port-priority
- interface port-channel