User`s manual

45
10. private-vlan command
This command is used to create VLAN groups for Private VLAN and create the
associations between Primary VLAN and Community VLAN.
(config-vlan)# private-vlan 100 ?
association Association
name VLAN interface name
private-vlan x association y command is used to create the association
between Primary VLAN “x” and Community VLAN “y
private-vlan x association add y command is used to add the association
between Primary VLAN “x” and Community VLAN “y”.
private-vlan x association remove y command is used to remove the
association between Primary VLAN “x” and Community VLAN “y”.
no private-vlan x association command is used to reomove all the
association for Primary VLAN “x”.
(config-vlan)# private-vlan 100 name sales ?
community Community
isolated Isolated
primary Primary
private-vlan x name yyy community command is used to create a
Community VLAN with VLAN ID “x”, VLAN name “yyy” for Private VLAN
application.
private-vlan x name yyy isolated command is used to create a Isolated VLAN
with VLAN ID “x”, VLAN name “yyy” for Private VLAN application.
private-vlan x name yyy primary command is used to create a Primary VLAN
with VLAN ID “x”, VLAN name “yyy” for Private VLAN application.
no private-vlan x command can delete a Private VLAN “x”. (“x” is the VLAN
ID).
11. vlan command
This command is used to create a 802.1Q VLAN. In this command, you have
to assign the VLAN ID and VLAN name for VLAN creation.
vlan x name yyy media ethernet command is used to create a 802.1Q VLAN
with VLAN ID “x” and VLAN name “yyy”. For example, “vlan 500 name sales
media ethernet” will create a VLAN with VLAN ID 500 and VLAN name “sales”.
And no vlan x command can remove the VLAN with VLAN ID “x”.
If VLAN “x” exists already but name “yyy” is different, the command will rename
the VLAN.