PurposeCommand or Action
Removesthe VLAN by entering the VLAN ID.
novlan vlan-id
Example:
Switch(config)# no vlan 4
Step 2
Returnsto privileged EXEC mode.end
Example:
Switch(config)# end
Step 3
Verifiesthe VLAN removal.showvlan brief
Example:
Switch# show vlan brief
Step 4
Assigning Static-Access Ports to a VLAN
Youcan assign a static-access port to a VLAN without having VTP globally propagate VLAN configuration
informationby disablingVTP (VTP transparentmode).
Ifyou are assigning a port on a cluster member switch to a VLAN, first use the rcommand privileged EXEC
commandto log in to the cluster member switch.
Ifyou assign an interfaceto a VLAN that does not exist, the new VLAN is created.
SUMMARY STEPS
1. configureterminal
2. interfaceinterface-id
3. switchportmode access
4. switchportaccess vlan vlan-id
5. end
6. showrunning-config interface interface-id
7. showinterfaces interface-id switchport
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
50 OL-29440-01
Configuring VLANs
How to Configure Normal-Range VLANs