R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
35
display vlan
Syntax
display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | reserved | static ]
View
Any view
Default level
1: Monitor level
Parameters
vlan-id1: Displays information about a VLAN specified by VLAN ID, ranging from 1 to 4094.
vlan-id1 to vlan-id2: Displays information about VLANs specified by a VLAN ID range.
all: Displays all VLAN information except for 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 do any configuration on reserved VLANs.
static: Displays the number of static VLANs and the ID for each static VLAN. The static VLANs are
manually created.
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
Route interface: not configured
Description: VLAN 0002
Name: VLAN 0002
Tagged Ports: none
Untagged Ports:
GigabitEthernet0/1 GigabitEthernet0/2 GigabitEthernet0/3
# Display VLAN 3 information.
<Sysname> display vlan 3
VLAN ID: 3
VLAN Type: static
Route Interface: configured
IP Address: 1.1.1.1
Subnet Mask: 255.255.255.0
Description: VLAN 0003
Name: VLAN 0003