在运行了STP或者RSTP的交换机上,捆绑了以太链路的时候,交换机将这个逻辑的端口置于正常的防环机制里。
下面在两台3550交换机上用四个端口做两个以太捆绑,然后show span来看看结果。
 

Int fa0/1
Swi mod acc
Channel-g 1 mod on
No sh
Int fa0/2
Swi mod acc
Channel-g 1 mod on
 
Int g0/1
Swi mod tr
Channel-g 2 mod on
No sh
Int g0/2
Swi mod tr
Channel-g 2 mod on
No sh
Exi
 
SW-2#sh span
VLAN0001
 Spanning tree enabled protocol ieee
 Root ID     Priority    32769
             Address     0003.E492.B849
             Cost        19
             Port        27(Port-channel 2)
             Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
 
 Bridge ID Priority     32769 (priority 32768 sys-id-ext 1)
             Address     0090.0C18.2674
             Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
             Aging Time 20
 
Interface         Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Po2              Root FWD 19        128.27    Shr
Po1              Altn BLK 19        128.28     Shr
 
注意链路类型是share