118
Field Description
0 packets output, 0 bytes, 0 drops
Total number and size (in bytes) of the sent packets of the interface and
the number of the dropped packets. This information is displayed only
if the current VLAN interface supports collecting interface statistics.
display vlan
Syntax
display
vlan
[
vlan-id1
[
to
vlan-id2
] |
all
|
dynamic
|
reserved
|
static
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
vlan-id1
: Displays the information of a VLAN specified by VLAN ID ranging from 1 to 4094.
vlan-id1
to
vlan-id2
: Displays the information of a range of VLANs specified by a VLAN ID range.
all
: Displays all current VLAN information except for the reserved VLANs.
dynamic
: Displays the number of dynamic VLANs and the ID of each dynamic VLAN. Dynamic VLANs
are generated through GVRP or those distributed by a RADIUS server.
reserved
: Displays information of the reserved VLANs. Protocol modules determine which VLANs are
reserved VLANs according to function implementation, and reserved VLANs serve protocol modules.
You cannot do any configuration on reserved VLANs.
static
: Displays the number of static VLANs and the ID of each static VLAN. Static VLANs are manually
created.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case sensitive string of 1 to 256
characters.
Description
Use the
display
vlan
command to display VLAN information.
Related commands:
vlan
.
Examples
# Display VLAN 2 information.
<Sysname> display vlan 2
VLAN ID: 2
VLAN Type: static