13-12
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 13 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 13-9
This example shows how to create a new extended-range VLAN with all default characteristics, enter
VLAN configuration 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.
lists the privileged EXEC commands for monitoring VLANs.
For more details about the
show
command options and explanations of output fields, see the command
reference for this release.
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.
Note
With VTP version 3, the VLAN configuration is also saved in the
VLAN database.
Command
Purpose
Table 13-3
VLAN Monitoring Commands
Command
Purpose
show interfaces
[
vlan
vlan-id
]
Display characteristics for all interfaces or for the specified VLAN configured on the switch.
show vlan
[
id
vlan-id
]
Display parameters for all VLANs or the specified VLAN on the switch.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...