1-3
to: Specifies multiple contiguous VLAN IDs. The VLAN ID after to cannot be less than that before to.
all: Displays the information about all the VLANs.
dynamic: Displays information about the dynamic VLANs (which are registered through GVRP
protocol).
static: Displays information about the static VLANs (which are created through manual configuration).
Description
Use the display vlan command to display the information about the specified VLANs or all VLANs.
z If the vlan-id argument is specified, information about the specified VLAN will be displayed.
z If the vlan-id argument is not specified, the VLAN IDs of all the existing VLANs will be displayed.
z If the dynamic or static keyword is specified, this command displays the amount and VLAN IDs of
the dynamic or static VLANs.
Related command: vlan.
Example
# Display the information about VLAN 1.
<Sysname> display vlan 1
VLAN ID: 1
VLAN Type: static
Route Interface: configured
IP Address: 192.168.0.39
Subnet Mask: 255.255.255.0
Description: VLAN 0001
Name: VLAN 0001
Tagged Ports: none
Untagged Ports:
GigabitEthernet1/0/1 GigabitEthernet1/0/2 GigabitEthernet1/0/3
GigabitEthernet1/0/4 GigabitEthernet1/0/5 GigabitEthernet1/0/6
GigabitEthernet1/0/7 GigabitEthernet1/0/8 GigabitEthernet1/0/9
GigabitEthernet1/0/10 GigabitEthernet1/0/11 GigabitEthernet1/0/12
GigabitEthernet1/0/13 GigabitEthernet1/0/14 GigabitEthernet1/0/15
GigabitEthernet1/0/16 GigabitEthernet1/0/17 GigabitEthernet1/0/18
GigabitEthernet1/0/19 GigabitEthernet1/0/20 GigabitEthernet1/0/21
GigabitEthernet1/0/22 GigabitEthernet1/0/23 GigabitEthernet1/0/24
Table 1-2 Description on the fields of the display vlan command
Field Description
VLAN ID VLAN ID
VLAN Type VLAN type (dynamic or static)
Route Interface
Whether the VLAN interface of the VLAN is configured as a route
forwarding interface (Whether an IP address is assigned to the VLAN
interface)
IP Address Primary IP address of the VLAN interface
Subnet Mask Subnet mask of the IP address of the VLAN interface
Description Description string of the VLAN