User Manual

11.1.4 Set secondary VLAN for primary VLAN
[Syntax]
private-vlan vlan-id association add 2nd-vlan-ids
private-vlan vlan-id association remove 2nd-vlan-ids
no private-vlan vlan-id association
[Keyword]
add : Associate the specified VLAN
remove : Remove the association of the specified VLAN
[Parameter]
vlan-id : <2-4094>
VLAN ID specified for the primary VLAN
2nd-vlan-ids : <2-4094>
VLAN ID specified for the secondary VLAN
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
[Initial value]
none
[Input mode]
VLAN mode
[Description]
Specify the association of the secondary VLAN (isolated VLAN, community VLAN) with the primary VLAN of the private
VLAN.
By specifying "add," specify the association of the vlan-id with the 2nd-vlan-id.
By specifying "remove," remove the association of the vlan-id and the 2nd-vlan-id.
If this command is executed with the "no" syntax, all associations to the primary VLAN are deleted.
[Note]
If you specify the private-vlan association 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: private-vlan 100 association add 101,103-105)
[Example]
After specifying the following private VLAN, associate the secondary VLANs to the primary VLAN.
VLAN #100: Primary VLAN
VLAN #101: Secondary VLAN (community VLAN)
VLAN #102: Secondary VLAN (community VLAN)
VLAN #103: Secondary VLAN (isolated VLAN)
SWP1(config-vlan)#vlan 100
SWP1(config-vlan)#vlan 101
SWP1(config-vlan)#vlan 102
SWP1(config-vlan)#vlan 103
SWP1(config-vlan)#private-vlan 100 primary
SWP1(config-vlan)#private-vlan 101 community
SWP1(config-vlan)#private-vlan 102 community
SWP1(config-vlan)#private-vlan 103 isolated
SWP1(config-vlan)#private-vlan 100 association add 101
SWP1(config-vlan)#private-vlan 100 association add 102
SWP1(config-vlan)#private-vlan 100 association add 103
11.1.5 Set VLAN access map and move to VLAN access map mode
[Syntax]
vlan access-map access-map-name
no vlan access-map access-map-name
122 | Command Reference | L2 switching function