3tere 发表于 2017-10-27 13:30:28

华为交换机基本的端口隔离配置

<Huawei>       
<Huawei>language-mode Chinese
Change language mode, confirm? y
提示:改变语言模式成功。
<Huawei>undo terminal monitor

提示:当前终端禁止所有类信息输出。
<Huawei>system-view
进入系统视图,键入Ctrl+Z退回到用户视图。
vlan 10
int vlan 10
ip address 192.168.10.1 24

undo sh
提示:接口Vlanif10已经处于undo shutdown状态。
qu
int e0/0/1
port link-type access
vlan 10       
port e0/0/1
qu
int e0/0/3
port link-type access
vlan 10
port e0/0/3
quit
int e0/0/2
port link-type access
vlan 10
port e0/0/2
qu
int e0/0/2
am isolate e0/0/3
int e0/0/3
am isolate e0/0/2
quit
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   
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;
--------------------------------------------------------------------------------

VIDType    Ports                                                         
--------------------------------------------------------------------------------
1    commonUT: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   commonUT:Eth0/0/1(U)   Eth0/0/2(U)   Eth0/0/3(U)                     


VID   Status   Property      MAC-LRN Statistics Description      
--------------------------------------------------------------------------------

1   enabledefault       enabledisable    VLAN 0001                        
10    enabledefault       enabledisable    VLAN 0010               验证PC1互相pingPC2和PC3
PC2和PC3互不相通

明天会更好 发表于 2017-10-28 16:33:44

路过看一看,顺便顶顶帖

renjie01389 发表于 2017-12-18 11:59:39

路过顶

renjie01389 发表于 2017-12-18 16:51:45

夏东海他大爷 发表于 2018-1-5 10:48:49


路过看一看,顺便顶顶帖
页: [1]
查看完整版本: 华为交换机基本的端口隔离配置