Alcatel-Lucent 6850-48 Guía De Referencia
VLAN Management Commands
page 21-20
OmniSwitch CLI Reference Guide
September 2009
show vlan port
Displays VLAN port associations (VPAs) for all VLANs, a specific VLAN, or for a specific port. Infor-
mation is also included that shows the VPA type (configured default VLAN, 802.1Q tagged VLAN,
dynamically assigned secondary VLAN, or mirrored port VLAN assignment) and the status of that associ-
ation (inactive, blocking, forwarding, or filtering).
mation is also included that shows the VPA type (configured default VLAN, 802.1Q tagged VLAN,
dynamically assigned secondary VLAN, or mirrored port VLAN assignment) and the status of that associ-
ation (inactive, blocking, forwarding, or filtering).
show vlan [vid1[-vid2]] port [slot/port | link_agg]
Syntax Definitions
vid1
VLAN ID number (1–4094).
-vid2
The last VLAN ID number in a range of VLANs that you want to
configure (e.g. 10-12 specifies VLANs 10, 11, and 12).
configure (e.g. 10-12 specifies VLANs 10, 11, and 12).
slot/port
Enter the slot number for the module and the physical port number on
that module (e.g. 3/1 specifies port 1 on slot 3).
that module (e.g. 3/1 specifies port 1 on slot 3).
ling_agg
Enter the link aggregate ID number (0–31) to assign to the specified
VLAN.
VLAN.
Defaults
If no parameters are specified with this command, a list of all VLANs and their assigned ports is displayed
by default.
by default.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• If the vid is specified without a slot/port or link_agg, then all port assignments for that VLAN are
displayed.
• If the slot/port or link_agg is specified without a vid, then all VLAN assignments for that port are
displayed.
• If both the vid and slot/port or link_agg are specified, then information only for that VLAN and slot/
port or link aggregate ID is displayed.
• Note that specifying a range of VLAN IDs is also allowed. Use a hyphen to indicate a contiguous range
(e.g., show vlan 10-15 port). Note that only one VLAN entry—a single VLAN ID or a range of VLAN
IDs— is allowed with this command. Multiple entries are not accepted.
IDs— is allowed with this command. Multiple entries are not accepted.
Examples
-> show vlan port
vlan port type status
+-----+-------+---------+------------+
1 1/1
default inactive
2 1/2
default blocking
1/3 mobile forwarding
11/4 qtagged
forwarding