Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 172
Set promiscuous port for private VLAN
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 172 highlights
172 | Command Reference | Layer 2 functions 2nd-vlan-id : VLAN ID specified as the secondary VLAN [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 SWR2310(config)# interface port1.1 SWR2310(config-if)# switchport mode private-vlan host SWR2310(config-if)# switchport private-vlan host-association 100 add 101 SWR2310(config-if)# interface port1.2 SWR2310(config-if)# switchport mode private-vlan host SWR2310(config-if)# switchport private-vlan host-association 100 add 102 SWR2310(config-if)# interface port1.3 SWR2310(config-if)# switchport mode private-vlan host SWR2310(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 : Sets the secondary VLAN for the primary VLAN remove : Deletes the secondary VLAN for the primary VLAN [Parameter] pri-vlan-id 2nd-vlan-ids : VLAN ID specified as the primary VLAN : 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 [Initial value] none