eNSP三层交换机单臂路由

在这里插入图片描述

SW:

<Huawei>un t m
Info: Current terminal monitor is off.
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname SW
[SW]user-interface console 0
[SW-ui-console0]idle-timeout 0 0
[SW]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW]int g0/0/1
[SW-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[SW-GigabitEthernet0/0/1]port hybrid untagged vlan 10
[SW-GigabitEthernet0/0/1]int g0/0/2
[SW-GigabitEthernet0/0/2]port hybrid pvid vlan 20
[SW-GigabitEthernet0/0/2]port hybrid untagged vlan 20
[SW-GigabitEthernet0/0/2]qu
[SW]int Vlanif 10
[SW-Vlanif10]ip address 192.168.1.1 24
[SW-Vlanif10]undo shut
Info: Interface Vlanif10 is not shutdown.
[SW-Vlanif10]int Vlanif 20
[SW6-Vlanif20]ip address 192.168.2.1 24
[SW-Vlanif20]undo shut
Info: Interface Vlanif20 is not shutdown.
[SW-Vlanif20]

猜你喜欢

转载自blog.csdn.net/July_jojo/article/details/107458476