H3C 链路聚合实验
实验拓扑
实验需求
- 按照图示配置PC1和PC2的IP地址
- 在SW1和SW2的两条直连链路上配置链路聚合,实现链路冗余,并可以增加传输带宽
- SW1和SW2之间的直连链路要配置为Trunk类型,允许所有vlan通过
- 中断SW1和SW2之间的一条直连链路,测试PC1和PC2是否仍然能够继续访问
实验步骤
PC配置IP地址(略)
SW配置链路聚合
SW1
创建聚合组1
#
interface Bridge-Aggregation1
端口加入聚合组1
#
interface GigabitEthernet1/0/2
port link-aggregation group 1
#
interface GigabitEthernet1/0/3
port link-aggregation group 1
聚合口配置Trunk,允许所有Vlan通过
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
SW2
创建聚合组1
#
interface Bridge-Aggregation1
端口加入聚合组1
#
interface GigabitEthernet1/0/2
port link-aggregation group 1
#
interface GigabitEthernet1/0/3
port link-aggregation group 1
聚合口配置Trunk,允许所有Vlan通过
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
实验验证
端口聚合成功
SW1
SW2
shutdown SW1 GE0/2,PC之间依然可以互访
[SW1]int GigabitEthernet 1/0/2
[SW1-GigabitEthernet1/0/2]shutdown
%Jan 22 15:04:14:141 2024 SW1 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/2 changed to down.
%Jan 22 15:04:14:141 2024 SW1 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/2 changed to down.
%Jan 22 15:04:14:142 2024 SW1 LAGG/6/LAGG_INACTIVE_PHYSTATE: Member port GE1/0/2 of aggregation group BAGG1 changed to the inactive state, because the physical state of the port is down.
实验附件
标签:H3C,聚合,GigabitEthernet1,interface,链路,SW1,port From: https://www.cnblogs.com/caomojian/p/18008446/h3c-link-aggregation-experiment-z1kv51q