User Manual

[Note]
This command can be set only for a LAN/SFP port that has been set as a promiscuous port by the switchport mode private-
vlan command.
In addition, it can also be set for the following interfaces that are specified as promiscuous ports.
Interface that is operating as a trunk port
logical interface
pri-vlan-id and 2nd-vlan-id must be associated by the private-vlan association command.
If this command is applied to a logical interface, the settings of every LAN/SFP port associated with that interface are changed.
If the switchport mode private-vlan command is used to set the port type to something other than promiscuous port, the
setting of this command is deleted.
A community VLAN can be associated with multiple promiscuous ports.
Multiple promiscuous ports can be specified for one primary VLAN.
Since an interface in an isolated VLAN can communicate only with one promiscuous port, only one promiscuous port can be
associated with one isolated VLAN.
If you specify the switchport private-vlan mapping add command with a combination of "-" or "," in the 2nd-vlan-ids, the
command setting will fail if you revert to an older version (Rev.2.01.04 or earlier). As a result, normal communication might
become impossible. (Example setting: switchport private-vlan mapping 100 add 101,103-105)
[Example]
Make LAN port #1 operate as a promiscuous port, specify primary VLAN #100, and associate the secondary VLANs #101,
#102, and #103.
SWP1(config)# interface ge1
SWP1(config-if)# switchport mode private-vlan promiscuous
SWP1(config-if)# switchport private-vlan mapping 100 add 101
SWP1(config-if)# switchport private-vlan mapping 100 add 102
SWP1(config-if)# switchport private-vlan mapping 100 add 103
11.1.16 Show VLAN information
[Syntax]
show vlan vlan-id
show vlan brief
[Keyword]
brief : Show all VLAN information.
[Parameter]
vlan-id : <1-4094>
VLAN ID to show
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows information for the specified VLAN ID.
The following items are shown.
Item Description
VLAN ID VLAN ID
Name Name of the VLAN
State
VLAN status (whether frames are forwarded)
ACTIVE: forwarded
SUSPEND: not forwarded
Member ports
Interfaces associated with the VLAN ID
(u): Access port (untagged port)
(t): Trunk port (tagged port)
130 | Command Reference | L2 switching function