17.
Virtual LANs (VLANs)
MN700004 Rev 01
197
Description of Commands
Commands to Display the VLAN Configuration
Figure 17-1 summarizes the commands available for displaying the VLANs. You can use the
show
command (with no arguments) in the general VLAN configuration mode or in a specific
VLAN configuration mode to display the VLAN configuration. The other commands
summarized in the table are available in Privileged (Enable) mode.
Table 17-1 Commands for displaying the VLANs
C o m m a n d D e s c r i p t i o n
show
Displays the VLAN configuration (this command is available in the
general VLAN configuration mode and in any specific VLAN
configuration mode).
show vlan
Displays the VLANs configuration.
show vlan dynamic
Displays the dynamic VLANs.
show vlan management
Displays the management VLANs.
show vlan
The
show vlan
command, in Privileged (Enable) mode, displays information regarding the
VLANs defined in the system. The command is equivalent to the
show
command in VLAN
Configuration mode.
Command Syntax
device-name
#
show vlan
Example
device-name
#
show vlan
====================================================================
Name |VTag| Tagged ports | Untagged ports
--------------------+----+---------------------+--------------------
default |1 | |1/1/1-1/1/2
show
The
show
command, in Global and Specific VLAN Configuration modes, displays
information regarding the VLANs defined in the system. The command is equivalent to the
show vlan
command in View and Privileged (Enable) mode.
Command Syntax
device-name
(config vlan)#
show