Purpose
Command
Displays parameters for all VLANs or the specified
VLAN on the switch . The following command
options are available:
•
access-log
—
Displays the VACL logging.
•
access-map
—
Displays the VLAN access-maps.
•
brief
—
Displays VTP VLAN status in brief.
•
dot1q
—
Displays the dot1q parameters.
•
filter
—
Displays VLAN filter information.
•
group
—
Displays the VLAN group with its
name and the connected VLANs that are
available.
•
id
—
Displays VTP VLAN status by
identification number.
•
ifindex
—
Displays SNMP ifIndex.
•
mtu
—
Displays VLAN MTU information.
•
name
—
Display the VTP VLAN information
by specified name.
•
private-vlan
—
Displays private VLAN
information.
•
remote-span
–
Displays the remote SPAN
VLANs.
•
summary
—
Displays a summary of VLAN
information.
show vlan
[
access-log
{
config
|
flow
|
statistics
}
|
access-map name
|
brief
|
dot1q
{
tag native
} |
filter
[
access-map
|
vlan
] |
group
[
group-name name
]
|
id vlan-id
|
ifindex
|
internal usage
|
mtu
|
name
name
|
private-vlan type
|
remote-span
|
summary
]
Configuration Examples
Example: Creating a VLAN Name
This example shows how to create Ethernet VLAN 20, name it test20, and add it to the VLAN database:
Switch#
configure terminal
Switch(config)#
vlan 20
Switch(config-vlan)#
name test20
Switch(config-vlan)#
end
Related Topics
Creating or Modifying an Ethernet VLAN
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2126
Configuration Examples
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......