Cisco WS-C2950SX-48-SI Configuration Manual page 227

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Chapter 10
Configuring VLANs
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
------- --------- -------------- ------------
7
7
7
78-15486-01
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
901
isolated
902
community
903
community
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
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
4/3
4/4-6
4/7-9
Configuring Private VLANs
4/4-6
BrdgMode Trans1 Trans2
-
0
0
4/4-6
BrdgMode Trans1 Trans2
-
0
0
Release 8.1
10-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents