EasyManuals Logo

Cisco WS-C2960-24LC-S User Manual

Cisco WS-C2960-24LC-S
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #263 background imageLoading...
Page #263 background image
12-13
Catalyst 2960 Switch Software Configuration Guide
OL-8603-04
Chapter 12 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 12-10.
This example shows how to create a new extended-range VLAN 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 database
configuration command (accessed by entering the vlan database privileged EXEC command).
Table 12-3 lists the commands for monitoring VLANs.
Step 3
vlan vlan-id Enter an extended-range VLAN ID and enter config-vlan mode. The
range is 1006 to 4094.
Step 4
mtu mtu-size (Optional) Modify the VLAN by changing the MTU size.
Note Although all VLAN commands appear in the CLI help in
config-vlan mode, only the mtu mtu-size, and remote-span
commands are supported for extended-range VLANs.
Step 5
remote-span (Optional) Configure the VLAN as the RSPAN VLAN. See the
“Configuring a VLAN as an RSPAN VLAN” section on page 23-16.
Step 6
end Return to privileged EXEC mode.
Step 7
show vlan id vlan-id Verify that the VLAN has been created.
Step 8
copy running-config startup config Save your entries in the switch startup configuration file. To save
extended-range VLAN configurations, you need to save the VTP
transparent mode configuration and the extended-range VLAN
configuration in the switch startup configuration file. Otherwise, if the
switch resets, it will default to VTP server mode, and the extended-range
VLAN IDs will not be saved.
Command Purpose
Table 12-3 VLAN Monitoring Commands
Command Command Mode Purpose
show VLAN database configuration Display status of VLANs in the VLAN database.
show current [vlan-id] VLAN database configuration Display status of all or the specified VLAN in the VLAN
database.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco WS-C2960-24LC-S and is the answer not in the manual?

Cisco WS-C2960-24LC-S Specifications

General IconGeneral
BrandCisco
ModelWS-C2960-24LC-S
CategoryNetwork Router
LanguageEnglish

Related product manuals