VLAN C
OMMANDS
4-233
Displaying VLAN Information
show vlan
This command shows VLAN information.
Syntax
show vlan [id vlan-id | name vlan-name | private-vlan private-vlan-type]
- id - Keyword to be followed by the VLAN ID.
• vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading
zeroes)
- name - Keyword to be followed by the VLAN name.
• vlan-name - ASCII string from 1 to 32 characters.
- private-vlan - For an explanation of this command see “show vlan
private-vlan” on page -241
• private-vlan-type - Indicates the private vlan type.
(Options: Community, Isolated, Primary)
Default Setting
Shows all VLANs.
Command Mode
Normal Exec, Privileged Exec
Example
Show VLAN Commands
Command Function Mode Page
show vlan Shows VLAN information NE,
PE
4-233
show interfaces status
vlan
Displays status for the specified VLAN
interface
NE,
PE
4-165
show interfaces
switchport
Displays the administrative and
operational status of an interface
NE,
PE
4-168