交换机配置示例:以H3C S6850数据中心交换机为例,假定陪测网卡和被测网卡分别连接交换机的WGE1/0/1、WGE1/0/2、WGE1/0/3和WGE1/0/4,配置2个LDAP组101(1/0/1,1/0/2)、102(1/0/3、1/0/4)。
则可以使用下述示例命令进行配置:
# 创建动态聚合组101~102
system-view
interface bridge-aggregation 101
link-aggregation mode dynamic
interface bridge-aggregation 102
link-aggregation mode dynamic
# 将端口加入到聚合组
interface Twenty-FiveGigE 1/0/1
port link-aggregation group 101
interface Twenty-FiveGigE 1/0/2
port link-aggregation group 101
interface Twenty-FiveGigE 1/0/3
port link-aggregation group 102
interface Twenty-FiveGigE 1/0/4
port link-aggregation group 102
interface Twenty-FiveGigE 1/0/33
port link-aggregation group 103
quit