1.4LACP使能、查询
Admin\\protocol\\lacp# set lacp [enable|disable] // 上联端口LACP使能/去使能 Admin# cd protocol Admin\\protoco# cd lacp
Admin\\protocol\\lacp#set lacp enable
Admin\\protocol\\lacp# show lacp channel-group trunks // 查询所有上联trunk组LACP状态
Admin\\protocol\\lacp# show lacp channel-group trunks
LACP GROUP state information is:
Group Id: 1 Mode: LACP
System Priority: 32768 System ID: 34bf-9074-ae1f Priority Preemption: disable
--------------------------------------------------------------------------------
ActorPortName Status PortPri PortKey PortState 17 select 32768 1 0x3d 23 select 32768 1 0x3d --------------------------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo PortKey PortState
17 32768 84d9-31e6-e24b 32768 310 5 0x3d
23 32768 84d9-31e6-e24b 32768 3790 5 0x3d
Group Id: 2 Mode: LACP
System Priority: 32768 System ID: 34bf-9074-ae1f Priority Preemption: disable
-------------------------------------------------------------------------------- ActorPortName Status PortPri PortKey PortState 20 select 32768 2 0x3d 26 select 32768 2 0x3d --------------------------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo PortKey PortState
20 32768 84d9-31e6-e255 32768 453 8 0x3d
26 32768 84d9-31e6-e255 32768 3933 8 0x3d
Admin\\protocol\\lacp#
1.5 聚合组配置
Admin\\interface# create trunk
Admin\\interface# set trunk <1-6> max-member-num <1-12> //设置trunk组最大成员数 1-12
Admin\\interface# add trunk
Admin\\interface# show trunk all //查询所有trunk组信息
Admin\\interface# show trunk
Admin\\interface# create trunk 1 //创建turnk组1
Admin\\interface# set trunking groupno 1 mode lacp //设置trunk组1类型为lacp Admin\\interface# set trunk 1 max-member-num 6 //设置trunk组1 最大成员数为6
Admin\\interface# add trunk 1 slot 19 port 1 //添加19:1 到trunk组1
Admin\\interface# add trunk 1 slot 20 port 1 //添加20:1 到trunk组1
Admin\\interface# show trunk 1 //查询trunk组1信息 trunk 1 info :
portId(option):19:1 20:1 . master_port 19:1, trunk_mode : LACP
trunk psc : SRC and DST MAC auto_negotiation : DISABLE duplex : FULL flow_switch : DISABLE mac_learning_switch : ENABLE pri_enable : DISABLE priority 0 : speed 3 : wan_lan_mode 1 : work_mode 0 : jumbo_frame 0 : Admin\\interface#
Admin\\interface# show trunk all //查询所有trunk组信息 trunk 1 info :
portId(option):19:1 20:1 . master_port 19:1,