(1) 配置Device A
# 创建VLAN 10和聚合接口1,并将该接口加入VLAN 10。
[DeviceA] vlan 10 [DeviceA-vlan10] quit [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] port access vlan 10 [DeviceA-Bridge-Aggregation1] quit # 分别将端口GE4/0/1至GE4/0/3加入到聚合组1和VLAN 10中。 [DeviceA] interface gigabitethernet 4/0/1 [DeviceA-Gigabitethernet4/0/1] port link-aggregation group 1 [DeviceA-Gigabitethernet4/0/1] port access vlan 10 Warning:This port is a member of the link aggregation group. If configuration of the whole group is required to be modified, please configure it under the aggregation interface view. Otherwise, this operation may interrupt network traffic.Continue?[Y/N]: y [DeviceA-Gigabitethernet4/0/1] quit [DeviceA] interface gigabitethernet 4/0/2 [DeviceA-Gigabitethernet4/0/2] port link-aggregation group 1 [DeviceA-Gigabitethernet4/0/2] port access vlan 10 Warning:This port is a member of the link aggregation group. If configuration of the whole group is required to be modified, please configure it under the aggregation interface view. Otherwise, this operation may interrupt network traffic.Continue?[Y/N]: y [DeviceA-Gigabitethernet4/0/2] quit [DeviceA] interface gigabitethernet 4/0/3 [DeviceA-Gigabitethernet4/0/3] port link-aggregation group 1 [DeviceA-Gigabitethernet4/0/3] port access vlan 10 Warning:This port is a member of the link aggregation group. If configuration of the whole group is required to be modified, please configure it under the aggregation interface view. Otherwise, this operation may interrupt network traffic.Continue?[Y/N]: y [DeviceA-Gigabitethernet4/0/3] quit # 配置全局聚合负载分担模式为源MAC地址与目的MAC地址相结合的方式。 [DeviceA] link-aggregation load-sharing mode source-mac destination-mac (2) 配置Device B Device B的配置与Device A相似,配置过程略。 因篇幅问题不能全部显示,请点此查看更多更全内容