Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 171
Set private VLAN port type, 2.11 Set private VLAN host port
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 171 highlights
Command Reference | Layer 2 functions | 171 • If you use the switchport trunk allowed vlan command to specify the associated VLAN ID, and then specify this command, it is removed from the specified VLAN ID. • If the VLAN ID specified by this command is associated using the switchport trunk allowed vlan command, switchport trunk native vlan none is specified. [Example] Set LAN port #1 as the trunk port, and specify VLAN #2 as the native VLAN. SWR2310(config)#interface port1.1 SWR2310(config-if)#switchport mode trunk SWR2310(config-if)#switchport trunk native vlan 2 6.2.10 Set private VLAN port type [Syntax] switchport mode private-vlan port-type no switchport mode private-vlan port-type [Parameter] port-type : Port mode Setting value promiscuous host Description Promiscuous port Host port [Initial value] none [Input mode] interface mode [Description] Specifies the private VLAN port type for the applicable interface. If this is executed with the "no" syntax, the setting of the private VLAN specified for the applicable interface is deleted. [Note] This command can be set only for a LAN/SFP port for which the switchport mode access command is set. In addition, promiscuous can be specified for the following interfaces. • Interface that is operating as a trunk port • logical interface [Example] Set LAN port #1 as a promiscuous port, and LAN port #2 as a host port. SWR2310(config)#interface port1.1 SWR2310(config-if)#switchport mode private-vlan promiscuous SWR2310(config-if)#exit SWR2310(config)#interface port1.2 SWR2310(config-if)#switchport mode private-vlan host 6.2.11 Set private VLAN host port [Syntax] switchport private-vlan host-association pri-vlan-id add 2nd-vlan-id no switchport private-vlan host-association [Keyword] add : Sets the secondary VLAN for the primary VLAN [Parameter] pri-vlan-id : VLAN ID specified as the primary VLAN