您的位置:首页 > 其它

Vlan与Trunk配置

2019-05-04 16:22 239 查看

1.实现拓扑图:

2.配置第一台交换机
[Huawei]sysname sw1
[sw1]vlan batch 5 10
[sw1-Ethernet0/0/1]int e0/0/1
[sw1-Ethernet0/0/1]port link-type access
[sw1-Ethernet0/0/1]port default vlan 5
[sw1-Ethernet0/0/1]int e0/0/2
[sw1-Ethernet0/0/2]port link-type access
[sw1-Ethernet0/0/2]port default vlan 10
[sw1-Ethernet0/0/3]port link-type hybrid
[sw1-Ethernet0/0/3]port hybrid tagged vlan 5 10
3.配置第二台交换机
[Huawei]sysname sw1
[sw2]vlan batch 5 10
[sw2]int e0/0/1
[sw2-Ethernet0/0/1]port link-type access
[sw2-Ethernet0/0/1]port default vlan 5
[sw2-Ethernet0/0/1]int e0/0/2
[sw2-Ethernet0/0/2]port link-type access
[sw2-Ethernet0/0/2]port default vlan 10
[sw2-Ethernet0/0/2]int e0/0/3
[sw2-Ethernet0/0/3]port link-type hybrid
[sw2-Ethernet0/0/3]port hybrid tagged vlan 5 10

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: