beautypg.com

3 private-vlan association, 4 show vlan – Accton Technology ES4626 User Manual

Page 170

background image

170

Private VLAN.

It is to be noted Private VLAN messages will not be transmitted by GVRP.

Example:

Set VLAN100、200、300 to private vlans, with respectively primary、Isolated、

Community types.

Switch(Config)#vlan 100

Switch(Config-Vlan100)#private-vlan primary

Switch(Config-Vlan100)#exit

Switch(Config)#vlan 200

Switch(Config-Vlan200)#private-vlan isolated

Switch(Config-Vlan200)#exit

Switch(Config)#vlan 300

Switch(Config-Vlan300)#private-vlan community

Switch(Config-Vlan300)#exit

5.1.3.3 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:

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 VLANs 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 with 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.1.3.4 show vlan

Command: show vlan [brief| summary] [id <vlan-id>] [name <vlan-name>]

Function:

Display detailed information for all VLANs or specified VLAN.

Parameter: brief

stands for brief information; summary for VLAN statistics;

for VLAN ID of the VLAN to display status information, the valid range is 1 to 4094;

This manual is related to the following products: