152
Example: Set VLAN100, VLAN200 and VLAN300 to Private VLAN. Set VLAN100 to
Primary VLAN; set VLAN200 to Isolated VLAN; set VLAN300 to Community VLAN.
5.2.2.9 private-vlan association
Command: private-vlan association
no private-vlan association
Function: Set Private VLAN association; the “no private-vlan association” command
cancels Private VLAN association.
Parameter: <secondary-vlan-list> Sets Secondary VLAN list which is associated to
Primary VLAN. There are two types of Secondary VLAN: Isolated VLAN and Community
VLAN. Users can set multiple Secondary VLAN by “;”.
Command mode: VLAN Mode
Default: There is no Private VLAN association by default.
Usage Guide: This command can only used for Private VLAN. The ports in Secondary
VLANs which are associated to Primary VLAN can communicate to the ports in
Primary VLAN. Before setting Private VLAN association, three types of Private
VLANs should have no member ports; the Private VLAN which has Private
VLAN association can’t be deleted; when users delete Private VLAN
association, all the member ports in the Private VLANs whose association is
deleted are removed from the Private VLANs.
Example: Associate Isolated VLAN200 and Community VLAN300 to Primary VLAN100.
Switch(Config-Vlan100)#private-vlan association 200;300
5.2.3 Typical VLAN Application
Scenario: