Creating vlan

Create the VLAN
<H3C_TEST> System-View
the System View:. Return to the User View with the Ctrl + the Z
[H3C_TEST] VLAN 99
[H3C_TEST-vlan99] name ASD
[H3C_TEST-vlan99] quit
the side port of the switch is divided into respective of 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 / to Ethernet1. 1/0/24 
[H3C_TEST-vlan99] quit
[H3C_TEST] interface Ethernet1 / 2 /. 1
[H3C_TEST-GigabitEthernet / 2 /. 1] the permit Trunk Port VLAN 99 100 101

Guess you like

Origin blog.51cto.com/14226957/2414449