Cisco create and setup a VLAN

Create and setup a VLAN

conf t
enters into configuration mode
vlan 4
create vlan and enters into VLAN configuration mode
name Sales
give the Sales name for the created vlan 4
exit
int fa0/1
select an interface
switchport mode access
put the selected switch port into access mode
switchport access vlan 4
put the selected switch port into vlan 4
exit
exit from configuration mode
sh vlan
list VLAN-s

Revoke VLAN

no switchport access vlan
revoke VLAN membership of the port
no switchport mode access
revoke access mode of the port

Share with: