Cisco端口聚合
所有主机均属vlan1 交换机间接口配置为trunk ? 实例: ? ?
?
配置3个PC机的ip地址 SW1配置 Switch>enable Switch#conf terminal Switch(config)#hostname SW1 SW1(config)#interface range f0/1-2 SW1 (config-if-range)#switchport mode trunk SW1 (config-if-range)#channel-protocol pagp SW1 (config-if-range)#channel-group 1 mode desirable? ?#企望(desirable),主动发起请求,主要用于观察实验效果,如果两端交换机都设置为on,效果不明显 SW1 (config-if-range)#exit Switch#show etherchannel summary Number of channel-groups in use: 1 Number of aggregators:?????????? 1 ? Group? Port-channel? Protocol??? Ports ------+-------------+-----------+---------------------------------------------- ? 1????? Po1(SD)?????????? PAgP?? Fa0/3(I) Fa0/4(I) SW2配置 Switch>enable Switch#conf terminal Switch(config)#hostname SW1 SW2(config)#interface range f0/1-2 SW2 (config-if-range)#switchport mode trunk SW2 (config-if-range)#channel-protocol pagp SW2 (config-if-range)#channel-group 1 mode auto? #自动模式 SW2 (config-if-range)#exit SW2#show etherchannel summary Number of channel-groups in use: 1 Number of aggregators:?????????? 1 ? Group? Port-channel? Protocol??? Ports ------+-------------+-----------+---------------------------------------------- ? 1????? Po1(SU)?????????? PAgP?? Fa0/1(P) Fa0/2(P) ? 这时再查看交换机SW1上的结果 Switch#show etherchannel summary Number of channel-groups in use: 1 Number of aggregators:?????????? 1 ? Group? Port-channel? Protocol??? Ports ------+-------------+-----------+---------------------------------------------- ? 1????? Po1(SU)?????????? PAgP?? Fa0/3(P) Fa0/4(P) ? ? ??????????????????? ? ? ? ? ? ? ?? PAgP模式
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |