User Tools

Site Tools


cisco:switch:vlans

This is an old revision of the document!


Cisco - Switch - VLANs

NOTE: Every Cisco switch has VLAN 1 on it by default.


Check the VLANs

show vlan

returns:

 

Create a new VLAN

vlan 50
exit

Assign port FA0/1-FA0/4 to that VLAN

interface range fastethernet 0/14
switchport mode access
switchport access vlan 50
exit

Check that VLAN has been configured

show vlan

returns:

...
20   VLAN0020   active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
...

Delete VLAN

Remove assigned ports to VLAN 50.

interface range fastethernet 0/14
switchport mode access
switchport access vlan 1

NOTE: This moves them back to VLAN 1.


Remove the VLAN

no vlan 50

Check that the VLAN has been removed

show vlan

NOTE: This should show all ports are back to VLAN 1 and VLAN 50 is deleted.

cisco/switch/vlans.1613735200.txt.gz · Last modified: 2021/02/19 11:46 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki