XS26GS Managed Optical Ethernet Switch User Manual
98
Ingress-filtering has been disabled successfully!
3.11.2
Port-Based VLAN Configuration Commands
The “Any view” in the below table refers to anyone of the following: System view,
Ethernet port view, Port-based VLAN view, VLAN view, or dot1x view.
Command list
:
View
Command
Any view
show port-based-vlan { all |
vlan-id1
[ to
vlan-id2
] }
System view
port-based-vlan
vlan-id
no
port-based-vlan { all |
vlan-id1
[ to
vlan-id2
] }
Port-based VLAN view
end
Port-based VLAN view
description
name
Port-based VLAN view
interface ethernet
interface
[ to ethernet
interface
]
no
interface ethernet
interface
[ to ethernet
interface
]
show port-based-vlan
Syntax
show port-based-vlan { all |
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 255.
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 255, and must not be less than that of
vlan-id1
.
all
: displays information of all the VLANs.
Description
Use
show port-based-vlan
command to display information of port based VLANs,
including ID, description and member ports of a VLAN.
Examples
XS#
show port-based-vlan
1
to
2
VLAN ID: 1
Description:vlan1
Member Ports:
Ethernet0/9 Ethernet0/10 Ethernet0/11
Ethernet0/12
VLAN ID: 2
Description: vlan2
Member Ports: