Display Vlan - H3C MSR Series Command Reference Manual

Comware 5 layer 2 - lan switching
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Field
Protocol
Main IP
Description
Cause
Related commands
reset counters interface vlan-interface

display vlan

Use display vlan to display VLAN information.
Syntax
display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | reserved | static ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vlan-id1: Displays information about a VLAN specified by VLAN ID in the range of 1 to 4094.
vlan-id1 to vlan-id2: Displays information about VLANs specified by a VLAN ID range. vlan-id2 must
be no smaller than vlan-id1.
all: Displays all VLAN information but the reserved VLANs.
dynamic: Displays the number of dynamic VLANs and the ID for each dynamic VLAN. The dynamic
VLANs are generated through GVRP or those distributed by a RADIUS server.
reserved: Displays information about the reserved VLANs. Protocol modules determine which
VLANs are reserved VLANs, according to function implementation, and reserved VLANs serve
protocol modules. You cannot configure reserved VLANs.
static: Displays the number of static VLANs and the ID for each static VLAN. The static VLANs are
manually created.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display VLAN 2 information.
Description
recover its physical state, perform the undo shutdown
command.
Protocol connection state of the interface: UP, DOWN, or UP(s).
Main IP address of the interface.
Description of the interface.
Cause of a DOWN physical link. If the port has been shut down with
the shutdown command, this field displays Administratively. To
restore the physical state of the interface, use the undo shutdown
command.
17

Advertisement

Table of Contents
loading

Table of Contents