创建vlan

<H3C_TEST>system-view
System View: return to User View with Ctrl+Z.
[H3C_TEST]vlan 99
[H3C_TEST-vlan99]name asd
[H3C_TEST-vlan99]quit
把交换机的端端口划分到相应的Vlan中
[H3C_TEST]interface ethernet1/0/2       
[H3C_TEST-Ethernet1/0/2]port link-type access
[H3C_TEST-Ethernet1/0/2]port access vlan 99  
[H3C_TEST]vlan 99
[H3C_TEST-vlan99]port ethernet1/0/1 to ethernet1/0/24 
[H3C_TEST-vlan99]quit
[H3C_TEST]interface ethernet1/2/1
[H3C_TEST-GigabitEthernet1/2/1]port trunk permit vlan  99 100 101  

上一篇:chuanjiang vlan


下一篇:h3c acl配置一列