user manual
PurposeCommand or Action
Removes the VLAN by entering the VLAN ID.
no vlan vlan-id
Example:
Switch(config)# no vlan 4
Step 2
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 3
Verifies the VLAN removal.show vlan brief
Example:
Switch# show vlan brief
Step 4
Assigning Static-Access Ports to a VLAN
You can assign a static-access port to a VLAN without having VTP globally propagate VLAN configuration
information by disabling VTP (VTP transparent mode).
If you are assigning a port on a cluster member switch to a VLAN, first use the rcommand privileged EXEC
command to log in to the cluster member switch.
If you assign an interface to a VLAN that does not exist, the new VLAN is created.
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
switchport mode access
4.
switchport access vlan vlan-id
5.
end
6.
show running-config interface interface-id
7.
show interfaces 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