1.接入交换机:  

interface Ten-GigabitEthernet1/0/21
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 port link-aggregation group 100  
interface Ten-GigabitEthernet1/0/22
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 port link-aggregation group 100  
interface Bridge-Aggregation100
 port link-type trunk
 port trunk permit vlan all
 link-aggregation mode dynamic

2.汇聚交换机  

interface GigabitEthernet1/0/25
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 combo enable fiber
 port link-aggregation group 21  
interface GigabitEthernet1/0/26
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 combo enable fiber
 port link-aggregation group 21  
interface Bridge-Aggregation21
 description vsan_32.21
 port link-type trunk
 port trunk permit vlan all
 link-aggregation mode dynamic

3.查看聚合口  

<FC-RX_6F-SW-06>dis link-aggregation verbose 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing 
Port Status: S -- Selected, U -- Unselected, I -- Individual 
Port: A -- Auto port, M -- Management port, R -- Reference port 
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, 
        D -- Synchronization, E -- Collecting, F -- Distributing, 
        G -- Defaulted, H -- Expired 

Aggregate Interface: Bridge-Aggregation1
Creation Mode: Manual
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLANs: None
System ID: 0x8000, 7450-4e5e-3dac
Local: 
  Port                Status   Priority Index    Oper-Key               Flag
  XGE1/0/51(R)        S        32768    1        2                      {ACDEF}
  XGE1/0/52           S        32768    2        2                      {ACDEF}
Remote: 
  Actor               Priority Index    Oper-Key SystemID               Flag   
  XGE1/0/51           32768    18       18       0x8000, b044-147b-cdf0 {ACDEF}
  XGE1/0/52           32768    42       18       0x8000, b044-147b-cdf0 {ACDEF}

 

posted on 2021-01-29 17:29  星痕1216  阅读(4722)  评论(0编辑  收藏  举报