Specifications
PrivateVLANPortConfiguraiton
Gototheport
configur aiton
Switch(config)#interface(port_number,ex:gi9)
Switch(config‐if)#switchportprivate‐vlan
host‐associationSettheprivateVLANhostassociation
mappingmapprimaryVLANtosecondaryVLAN
PrivateVLANPortType
PromiscuousPortType
HostPortType
Switch(config‐if)#switchportmode
private‐vlanSetprivate‐vlanmode
Switch(config‐if)#switchportmodeprivate‐vlan
hostSetthemodetoprivate‐vlanhost
promiscuousSetthemodetoprivate‐vlanpromiscuous
Switch(config‐if)#switchportmodeprivate‐vlanpromiscuous
<cr>
Switch(config‐if)#switchportmodeprivate‐vlanhost
<cr>
PrivateVLANPort
Configuration
PVLANPortType
HostAssociationprimary
tosecondary
(Thecommandisonly
availableforhostport.)
Switch
(config)#interfacegi9
Switch(config‐if)#switchportmodeprivate‐vlanhost
Switch(config‐if)#switchportprivate‐vlanhost‐association
<2‐4094>PrimaryrangeVLANIDoftheprivateVLANportassociation
Switch(config‐if)#switchportprivate‐vlanhost‐association2
<2‐4094>SecondaryrangeVLANIDoftheprivateVLANport
association
Switch(config‐if)#switchportprivate‐vlanhost‐association23
Mappingprimaryto
secondaryVLANs
(Thiscommandisonly
availableforpromiscuous
port)
Switch(config)#interfacegi10
Switch(config‐if)#switchportmodeprivate‐vlanpromiscuous
Switch(config‐if)#switchportprivate‐vlanmapping2add3
Switch(config‐if)#switchportprivate‐vlanmapping2add4
Switch(config‐if)#switchportprivate‐vlanmapping2add5
PrivateVLANInformation
PrivateVLANInformation Switch#showvlanprivate‐vlan
FLAGS:I‐>IsolatedP‐>Promiscuous
C‐>Community
PrimarySecondaryTypePorts
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
23Isolatedgi10(P),gi9(I)
24Communitygi10(P),gi8(C)
25Communitygi10(P),fa7(C),gi9(I)
10‐‐‐
PVLANType Switch#showvlanprivate‐vlantype
V
lanTypePorts
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
2primarygi10
3isolatedgi9
4
communitygi8
5communityfa7,gi9
10primary‐
97