Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual page 174

Software guide
Table of Contents

Advertisement

Configuring Private VLANs
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)
This example shows how to bind VLAN 903 to primary VLAN 7 and assign port 4/7 through 4/9 as the
community ports:
Console> (enable) set pvlan 7 903
Successfully set association between 7 and 903.
Console> (enable) set pvlan 7 903 4/7-9
Successfully set the following ports to Private Vlan 7,903:4/7-9
Console> (enable)
This example shows how to map the isolated/community VLAN to the primary VLAN on the
promiscuous port, 3/1, for each isolated or community VLAN:
Console> (enable) set pvlan mapping 7 901 3/1
Successfully set mapping between 7 and 901 on 3/1
Console> (enable) set pvlan mapping 7 902 3/1
Successfully set mapping between 7 and 902 on 3/1
Console> (enable) set pvlan mapping 7 903 3/1
Successfully set mapping between 7 and 903 on 3/1
This example shows how to verify the private VLAN configuration:
Console> (enable) show vlan 7
VLAN Name
---- -------------------------------- --------- ------- ------------------------
7
VLAN Type
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
7
VLAN DynCreated
---- ---------- --------
7
VLAN AREHops STEHops Backup CRF 1q VLAN
---- ------- ------- ---------- -------
Primary Secondary Secondary-Type
------- --------- ----------------- -----------------
7
7
7
Console> (enable) show vlan 902
VLAN Name
---- -------------------------------- --------- ------- ------------------------
902
VLAN Type
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
7
VLAN DynCreated
---- ---------- --------
7
VLAN AREHops STEHops Backup CRF 1q VLAN
---- ------- ------- ---------- -------
Primary Secondary Secondary-Type
------- --------- ----------------- -----------------
7
Console> (enable) show pvlan
Primary Secondary Secondary-Type Ports
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
10-12
VLAN0007
SAID
MTU
enet
100010
1500
RSPAN
static
disabled
901
Isolated
902
Community
903
Community
VLAN0007
SAID
MTU
enet
100010
1500
RSPAN
static
disabled
902
Isolated
Status
IfIndex Mod/Ports, Vlans
active
35
Parent RingNo BrdgNo Stp
-
-
-
-
Ports
4/3
4/4-6
4/7-9
Status
IfIndex Mod/Ports, Vlans
active
38
Parent RingNo BrdgNo Stp
-
-
-
-
Ports
4/4-6
Chapter 10
Configuring VLANs
4/4-6
BrdgMode Trans1 Trans2
-
0
0
4/4-6
BrdgMode Trans1 Trans2
-
0
0
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents