XS26GS Managed Optical Ethernet Switch User Manual
89
show vlan
Syntax
show vlan { all | dynamic | static |
vlan-id1
[ to
vlan-id2
] }
View
Any view.
Parameters
vlan-id1
: specifies the ID of a VLAN the information of which is to be displayed, in
the range of 1 to 4094.
to
vlan-id2
: in conjunction with
vlan-id1
, defines a VLAN range to display
information of all existing VLANs in the range. The
vlan-id2
argument takes a value
in the range of 1 to 4094, and must not be less than that of
vlan-id1
.
all
: displays information of all the VLANs.
dynamic
: displays the number of dynamic VLANs and the ID of each dynamic VLAN.
Dynamic VLANs refer to VLANs that are generated through GVRP.
static
: displays the number of static VLANs and the ID of each static VLAN. Static
VLANs refer to VLANs manually created.
Description
Use
show vlan
command to display information of VLANs, including ID, type, VLAN
interface state and member ports of a VLAN.
Examples
XS#
show vlan static
VLAN ID: 1
VLAN Type: static
Description: default
Tag Ports:
unTag Ports:
Ethernet0/1 Ethernet0/2 Ethernet0/3
Ethernet0/4 Ethernet0/5 Ethernet0/6
Ethernet0/7 Ethernet0/8 Ethernet0/9
Ethernet0/10 Ethernet0/11 Ethernet0/12
Ethernet0/13 Ethernet0/14 Ethernet0/15
Ethernet0/16 Ethernet0/17 Ethernet0/18
Ethernet0/19 Ethernet0/20 Ethernet0/21
Ethernet0/22 Ethernet0/23 Ethernet0/24
Ethernet1/1 Ethernet1/2
Forbidden Ports:
Protocol vlan information:
VLAN ID: 2
VLAN Type: static
Description: test2
Tag Ports:
unTag Ports:
Forbidden Ports:
Protocol vlan information: