实验要求:
Experimental requirements:
- 创建Eth-Trunk 端口
- 配置链路聚合模式
- 将物理端口加入进Eth-Trunk 端口
- 配置二层链路的连通性(如VLAN 配置等等)
网络拓扑图:
Network pamphlet:
操作步骤
Operational Steps
1、配置 S2,建立 Eth-Trunk GigabitEthernet 0/0/1 到0/0/3 三个接口加入聚合链路
1. Configure S2, create Eth-Trunk GigabitEthernet 0/0/1 to 0/0/3 Adding three interfaces to the polymer link
[Huawei]sysname S2
[S2]interface Eth-Trunk 1
[S2-Eth-Trunk1]mode manual load-balance //模式为手工负载分担, mode lacp-static是静态LACP模式
[S2-Eth-Trunk1] Model manual load sharing//mode lacp-static is static LACP mode
[S2-Eth-Trunk1]trunkport GigabitEthernet 0/0/1 to 0/0/3
[S2-Eth-Trunk1]quit
[S2]display eth-trunk 1 verbose
Eth-Trunk1's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 3
Flow statistic
Interface GigabitEthernet0/0/1,
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 drops
0 packets output, 0 bytes, 0 drops
Interface GigabitEthernet0/0/2,
Interface GigabitEthernet0/0/3,
2、配置 S3,建立 Eth-TrunkGigabitEthernet 0/0/1到0/0/3 三个接口加入聚合链路
2. Configure S3, create Eth-TrunkGigabitEthernet 0/0/1 to 0/0/3 interfaces to join the polymer link
[Huawei]sysname S3
[S3]interface Eth-Trunk 1
[S3-Eth-Trunk1]mode manual load-balance
[S3-Eth-Trunk1]quit
[S3]display eth-trunk 1 verbose
3、配置 S2的VLAN100 和 Trunk 线路
3. Configure VLAN100 and Trunk lines for S2
[S2-Eth-Trunk1]port link-type trunk
[S2-Eth-Trunk1]port trunk allow-pass vlan all
[S2]vlan 100
[S2-vlan100]inter vlan 100
[S2-Vlanif100]ip address 192.168.100.1 255.255.255.0
4、配置 S3的VLAN100 和Access 接口
4. Configure VLAN100 and Access interface for S3
[S3]vlan 100
[S3-vlan100]quit
[S3]interface GigabitEthernet0/0/4
[S3- GigabitEthernet0/0/4]port link-type access
[S3- GigabitEthernet0/0/4] port default vlan 100
[S3]interface GigabitEthernet0/0/5
[S3- GigabitEthernet0/0/5]port link-type access
[S3- GigabitEthernet0/0/5] port default vlan 100
5、使用 pc测试通信
5. Test communication using pc
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论