Displaying Vlans - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Displaying VLANs

Beginning in privileged EXEC mode, follow these steps to create an extended-range VLAN:
Command
Step 9
configure terminal
Step 10
vtp mode transparent
Step 1
vlan vlan-id
Step 2
mtu mtu-size
Step 3
end
Step 4
show vlan id vlan-id
Step 5
copy running-config startup config
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
This example shows how to create a new extended-range VLAN (when the enhanced software image 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 13-4
Catalyst 2950 Desktop Switch Software Configuration Guide
13-16
Purpose
Enter global configuration mode.
Configure the switch for VTP transparent mode, disabling VTP.
Enter an extended-range VLAN ID and enter config-vlan mode. The
range is 1006 to 4094.
(Optional) Modify the VLAN by changing the MTU size.
Note
Return to privileged EXEC mode.
Verify that the VLAN has been created.
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.
"Assigning Static-Access Ports to a VLAN" section on page
lists the commands for monitoring VLANs.
Although all commands appear in the CLI help in config-vlan
mode, only the mtu mtu-size command is supported for
extended-range VLANs.
Chapter 13
Configuring VLANs
13-13.
78-11380-04

Advertisement

Table of Contents
loading

Table of Contents