您现在的位置是:首页 > 运维网络杂文

聚合链路静态模式Lacp-static

阿龙2022-07-31【网络杂文】人已围观


聚合链路静态模式做线路备份,03口为备份线路...
LSW1设置如下,LSW2设置和LSW1相同
interface Eth-Trunk1
mode lacp-static //静态模拟
max active-linknumber 2 //最大活动链路为2条
q //退出
lacp priority 200 //大小决定优先级,越小越靠前

//接口加入
#
interface GigabitEthernet0/0/1
 eth-trunk 1
 lacp priority 200
#
interface GigabitEthernet0/0/2
 eth-trunk 1
 lacp priority 200
#
interface GigabitEthernet0/0/3
 eth-trunk 1
通过以下查询显示,03接口为备份,最大链路2条,1和2优先最高.
[Huawei]dis eth-trunk 1
Eth-Trunk1's state information is:
Local:
LAG ID: 1                   WorkingMode: STATIC                               
Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP         
System Priority: 200        System ID: 4c1f-cc4b-7c27                         
Least Active-linknumber: 1  Max Active-linknumber: 2                          
Operate status: down        Number Of Up Port In Trunk: 0                     
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/1   Unselect 1GE      200     2      305     10100010  1     
GigabitEthernet0/0/2   Unselect 1GE      200     3      305     10100010  1     
GigabitEthernet0/0/3   Unselect 1GE      32768   4      305     10100010  1     

Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GigabitEthernet0/0/1   0        0000-0000-0000  0       0      0       10100011
GigabitEthernet0/0/2   0        0000-0000-0000  0       0      0       10100011
GigabitEthernet0/0/3   0        0000-0000-0000  0       0      0       10100011
 

Tags:Lacp-static

很赞哦! ()