16-13
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 16 Configuring VLANs
Displaying VLANs
To delete an extended-range VLAN, use the no vlan vlan-id global configuration command.
The procedure for assigning static-access ports to an extended-range VLAN is the same as for
normal-range VLANs. See the “Assigning Static-Access Ports to a VLAN” section on page 16-10.
This example shows how to create a new extended-range VLAN (when the EI is installed) with all
default characteristics, enter config-vlan mode, and save the new VLAN in the switch startup
configuration file:
Switch(config)# vtp mode transparent
Switch(config)# vlan 2000
Switch(config-vlan)# end
Switch# copy running-config startup config
Displaying VLANs
Use the show vlan privileged EXEC command to display a list of all VLANs on the switch, including
extended-range VLANs. The display includes VLAN status, ports, and configuration information. To
view normal-range VLANs in the VLAN database (1 to 1005) use the show VLAN configuration
command (accessed by entering the vlan database privileged EXEC command). For a list of the VLAN
IDs on the switch, use the show running-config vlan privileged EXEC command, optionally entering a
VLAN ID range.
Table 16-3 lists the commands for monitoring VLANs.
For more details about the show command options and explanations of output fields, see the command
reference for this release.
Configuring VLAN Trunks
These sections describe how VLAN trunks function on the switch:
Trunking Overview, page 16-14
IEEE 802.1Q Configuration Considerations, page 16-15
Default Layer 2 Ethernet Interface VLAN Configuration, page 16-16
Tab l e 16-3 VLAN Monitoring Commands
Command Command Mode Purpose
show VLAN configuration Display status of VLANs in the VLAN database.
show current [vlan-id]VLAN configuration Display status of all or the specified VLAN in the
VLAN database.
show interfaces [vlan
vlan-id]
Privileged EXEC Display characteristics for all interfaces or for
the specified VLAN configured on the switch.
show running-config vlan Privileged EXEC Display all or a range of VLANs on the switch.
show vlan [id vlan-id]Privileged EXEC Display parameters for all VLANs or the
specified VLAN on the switch.