Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 166
Set private VLAN
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 166 highlights
166 | Command Reference | Layer 2 functions [Note] If this command is executed with "name" omitted for a VLAN ID for which name is already specified, the already-specified name is not changed. Multiple VLAN IDs can be specified for vlan-id. However, if multiple VLAN IDs are specified, the name cannot be specified. To specify multiple items, use "-" or "," as shown below • To select from VLAN #2 through VLAN #4: 2-4 • To select VLAN #2 and VLAN #4: 2,4 [Example] Set VLAN #1000 with the name "Sales". SWR2310(config-vlan)#vlan 1000 name Sales 6.2.3 Set private VLAN [Syntax] private-vlan vlan-id type no private-vlan vlan-id type [Parameter] vlan-id : VLAN ID set by the vlan command type : Type of private VLAN Setting value primary community isolated Description Primary VLAN Secondary VLAN (community VLAN) Secondary VLAN (isolated VLAN) [Initial value] none [Input mode] VLAN mode [Description] Uses vlan-id as a private VLAN. If this command is executed with the "no" syntax, the private VLAN setting is deleted, and it is used as a conventional VLAN. [Note] If this is set as a community VLAN, it can communicate with the promiscuous port of the primary VLAN and with another interface that is associated with the same community VLAN, but cannot communicate with a different community VLAN or with an interface that is associated with an isolated VLAN. If this is set as an isolated VLAN, it can communicate with the promiscuous port of the primary VLAN, but cannot communicate with the community VLAN or with another interface that is associated with an isolated VLAN. [Example] Set the following private VLANs. • VLAN #100 : Primary VLAN • VLAN #101 : Secondary VLAN (community VLAN) • VLAN #102 : Secondary VLAN (community VLAN) • VLAN #103 : Secondary VLAN (isolated VLAN) SWR2310(config-vlan)#vlan 100 SWR2310(config-vlan)#vlan 101 SWR2310(config-vlan)#vlan 102 SWR2310(config-vlan)#vlan 103 SWR2310(config-vlan)#private-vlan 100 primary SWR2310(config-vlan)#private-vlan 101 community SWR2310(config-vlan)#private-vlan 102 community SWR2310(config-vlan)#private-vlan 103 isolated