11-19
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 11 Configuring VLANs
Configuring Private VLANs
Note
You can bind the isolated, community, or two-way community port(s) and associated isolated,
community, or two-way community VLANs to the private VLAN using the
set pvlan
primary_vlan
{
isolated_vlan | community_vlan
|
twoway_community_vlan
}
mod
/
port
command.
Note
Ports do not have to be on the same switch as long as the switches are trunk connected and the private
VLAN has not been removed from the trunk.
Note
If you are using the MSFC for your promiscuous port in your private VLAN, use 15/1 as the MSFC
mod/por
t number if the supervisor engine is in slot 1, or use 16/1 if the supervisor engine is in slot 2.
Note
You must enter the
set pvlan
command everywhere a private VLAN needs to be created, which
includes switches with isolated, community, or two-way community ports, switches with
promiscuous ports, and all
intermediate
switches that need to carry the private VLANs on their
trunks. On the edge switches that do not have any isolated, community, two-way community, or
promiscuous ports (typically, access switches with no private ports), you do not need to create private
VLANs and you can prune the private VLANs from the trunks for security reasons.
This example shows how to specify VLAN 7 as the primary VLAN:
Console> (enable)
set vlan 7 pvlan-type primary
Vlan 7 configuration successful
Console> (enable)
This example shows how to specify VLAN 901 as the isolated VLAN and VLANs 902 and 903 as
community VLANs:
Console> (enable)
set vlan 901 pvlan-type isolated
Vlan 901 configuration successful
Console> (enable)
set vlan 902 pvlan-type community
Vlan 902 configuration successful
Console> (enable)
set vlan 903 pvlan-type community
Vlan 903 configuration successful
Console> (enable)
This example shows how to bind VLAN 901 to primary VLAN 7 and assign port 4/3 as the isolated port:
Console> (enable)
set pvlan 7 901 4/3
Successfully set the following ports to Private Vlan 7,901: 4/3
Console> (enable)
This example shows how to bind VLAN 902 to primary VLAN 7 and assign ports 4/4 through 4/6 as the
community port:
Console> (enable)
set pvlan 7 902 4/4-6
Successfully set the following ports to Private Vlan 7,902:4/4-6
Console> (enable)