Set Promiscuous Port For Private Vlan - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

2nd-vlan-id
[Initial value]
none
[Input mode]
interface mode
[Description]
Specifies the primary VLAN that is associated as the host port of the private VLAN for the applicable interface, and associates
the secondary VLAN.
If this is executed with the "no" syntax, the setting of the primary VLAN associated as the host port of the applicable interface,
and the association of the secondary VLAN, are deleted.
[Note]
This command can be set only for a LAN/SFP port that has been set as the host port by the switchport mode private-vlan
command.
pri-vlan-id and 2nd-vlan-id must be associated by the private-vlan association command.
If the switchport mode private-vlan command is used to set the port type to something other than host port, the setting of this
command is deleted.
[Example]
Specify the following private VLAN for each interface.
LAN port #1 : Primary VLAN #100, Secondary VLAN #101
LAN port #2 : Primary VLAN #100, Secondary VLAN #102
LAN port #3 : Primary VLAN #100, Secondary VLAN #103
SWR2311P(config)# interface port1.1
SWR2311P(config-if)# switchport mode private-vlan host
SWR2311P(config-if)# switchport private-vlan host-association 100 add 101
SWR2311P(config-if)# interface port1.2
SWR2311P(config-if)# switchport mode private-vlan host
SWR2311P(config-if)# switchport private-vlan host-association 100 add 102
SWR2311P(config-if)# interface port1.3
SWR2311P(config-if)# switchport mode private-vlan host
SWR2311P(config-if)# switchport private-vlan host-association 100 add 103

6.2.12 Set promiscuous port for private VLAN

[Syntax]
switchport private-vlan mapping pri-vlan-id add 2nd-vlan-ids
switchport private-vlan mapping pri-vlan-id remove 2nd-vlan-ids
no switchport private-vlan mapping
[Keyword]
add
remove
[Parameter]
pri-vlan-id
2nd-vlan-ids
[Initial value]
none
:
<2-4094>
VLAN ID specified as the secondary VLAN
:
Sets the secondary VLAN for the primary VLAN
:
Deletes the secondary VLAN for the primary VLAN
:
<2-4094>
VLAN ID specified as the primary VLAN
:
<2-4094>
VLAN ID specified as the secondary
To specify multiple items, use "-" or "," as shown below
To select from VLAN #2 through VLAN #4: 2-4
select VLAN #2 and VLAN #4: 2,4
Command Reference | Layer 2 functions | 167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents