vlan间路由

华为设备提示信息关闭命令:

在用户视图()下输入:undo terminalmonitor

 

华为交换机恢复出厂命令:
进入交换机后
resetsaved-configuration  恢复出厂值
显示Theconfiguration will be erased toreconfigure.Continue?[Y/N];输入Y
reboot
提示是否保存配置的,选择N不要保存配置
System willreboot! Continue?[Y/N]:Y
重启后,交换机就恢复为出厂设置了。

 

划分VLAN

[Quidway] vlan batch10 20

 

华为交换机配置多个接口划分到同一个VLAN:

<Quidway> system-view
[Quidway]port-group yewu
[Quidway]group-member Ethernet 0/0/1 to Ethernet0/0/20
[Quidway]port link-type access
[Quidway]port default vlan 10
[Quidway]quit

三层vlan间路由

interfaceVlanif10

 ip address 192.168.1.1 255.255.255.0

interfaceVlanif20

 ip address 192.168.2.1 255.255.255.0

 

配置trunk

[s5700]interfaceGigabitEthernet 0/0/1

[s5700-GigabitEthernet0/0/1]portlink-type trunk        

[s5700-GigabitEthernet0/0/1]porttrunk allow-pass vlan all

posted on 2019-11-28 22:08  沉梦昂志·  阅读(82)  评论(0编辑  收藏  举报