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
Do'stlaringiz bilan baham: |