VLANIF实现VLAN之间的通信
-
实验拓扑图
-
实验要求
1.修改交换机名称为S2 S3
2.在S2 S3上做适当配置,使得3个VLAN之间能够通信 -
配置
交换机S2:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname S2 //修改交换机名称为S2
[S2]undo info-center enable //关闭域名解析信息提示
Info: Information center is disabled.
[S2]vlan batch 10 20 30
Info: This operation may take a few seconds. Please wait for a moment...done.
[S2-Ethernet0/0/1]port link-type access
[S2-Ethernet0/0/1]port default vlan