Change language mode, confirm? [Y/N] y
提示:改变语言模式成功。
提示:当前终端禁止所有类信息输出。
进入系统视图,键入Ctrl+Z退回到用户视图。
[Huawei]vlan 10
[Huawei-vlan10]int vlan 10
[Huawei-Vlanif10]ip address 192.168.10.1 24
[Huawei-Vlanif10]undo sh
提示:接口Vlanif10已经处于undo shutdown状态。
[Huawei-Vlanif10]qu
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]port link-type access
[Huawei-Ethernet0/0/1]vlan 10
[Huawei-vlan10]port e0/0/1
[Huawei-vlan10]qu
[Huawei]int e0/0/3
[Huawei-Ethernet0/0/3]port link-type access
[Huawei-Ethernet0/0/3]vlan 10
[Huawei-vlan10]port e0/0/3
[Huawei-vlan10]quit
[Huawei]int e0/0/2
[Huawei-Ethernet0/0/2]port link-type access
[Huawei-Ethernet0/0/2]vlan 10
[Huawei-vlan10]port e0/0/2
[Huawei-vlan10]qu
[Huawei]int e0/0/2
[Huawei-Ethernet0/0/2]am isolate e0/0/3
[Huawei-Ethernet0/0/2]int e0/0/3
[Huawei-Ethernet0/0/3]am isolate e0/0/2
[Huawei-Ethernet0/0/3]quit
[Huawei]display ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol MEth0/0/1 unassigned down down
NULL0 unassigned up up(s) Vlanif1 unassigned up down Vlanif10 192.168.10.1/24 up up
[Huawei-vlan10]display vlan
The total number of vlans is : 2
--------------------------------------------------------------------------------
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;
#: ProtocolTransparent-vlan; *: Management-vlan;
--------------------------------------------------------------------------------
VID Type Ports
--------------------------------------------------------------------------------
1 common UT:Eth0/0/4(D) Eth0/0/5(D) Eth0/0/6(D) Eth0/0/7(D)
Eth0/0/8(D) Eth0/0/9(D) Eth0/0/10(D) Eth0/0/11(D)
Eth0/0/12(D) Eth0/0/13(D) Eth0/0/14(D) Eth0/0/15(D)
Eth0/0/16(D) Eth0/0/17(D) Eth0/0/18(D) Eth0/0/19(D)
Eth0/0/20(D) Eth0/0/21(D) Eth0/0/22(D) GE0/0/1(D)
GE0/0/2(D)
10 common UT:Eth0/0/1(U) Eth0/0/2(U) Eth0/0/3(U)
VID Status Property MAC-LRN Statistics Description
--------------------------------------------------------------------------------
1 enable default enable disable VLAN 0001
10 enable default enable disable VLAN 0010 验证PC1互相pingPC2和PC3
PC2和PC3互不相通