H3C 链路聚合实验

H3C 链路聚合实验

实验拓扑

image

实验需求

  1. 按照图示配置PC1和PC2的IP地址
  2. 在SW1和SW2的两条直连链路上配置链路聚合,实现链路冗余,并可以增加传输带宽
  3. SW1和SW2之间的直连链路要配置为Trunk类型,允许所有vlan通过
  4. 中断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

image

SW2

image

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.

image

实验附件

H3C 链路聚合实验.zip

posted @ 2024-02-05 16:52  M建  阅读(106)  评论(0)    收藏  举报