Cisco – Is it possible for a private VLAN to have two simultaneous SVI mappings

ciscoswitchingvlan

In our environment, we run our computers inline with Cisco IP phones to our switch. The problem is that our phones are on a separate VLAN from our normal access traffic. I would like to know if it is possible to map the private VLAN to both our access and voice SVIs. On top of that, is it possible to have our access and voice "layer 2" VLAN statements associated with the same private VLAN? Even if these two queries are possible, is can I assign the physical ports to have multiple private VLAN associations? (This seems like a mouthful. I apologize)

Here is an example of what I have setup already:

vlan 101
 name WKS-VLAN
 private-vlan primary
 private-vlan association 1000,2000
!
vlan 254
 name VOIP-VLAN
!
 vlan 1000
  private-vlan isolated
!
vlan 2000
 private-vlan community

SVIs:

interface Vlan101
 description WKS-VLAN
 ip address x.x.x.x 255.255.252.0
 private-vlan mapping 1000,2000
!
interface Vlan254
 description VoIP-VLAN
 ip address x.x.x.x 255.255.255.0
!

Example Port:

interface GigabitEthernet2/46
 switchport private-vlan host-association 101 1000
 switchport mode private-vlan host

Thanks in advance for any help!

Best Answer

Q: It is possible to map the private VLAN to both our access and voice SVIs? A: No. You are creating "In theory" a bridge between two main VLANs.

Q: Is it possible to have our access and voice "layer 2" VLAN statements associated with the same private VLAN? A: This is like haveing the same VLAN name on two different networks. The private VLAN scope is within its main VLAN. Technically it would not make the private VLAN part of two main VLANs but it might be against the allowed configuration to have the same name for two private VLANs on the same switch. I am not sure but logically it would be confusing.

Q: Can I assign the physical ports to have multiple private VLAN associations? A: I cant think of a reason for doing so except for the 'P' port which you will need to do on at least one port/SVI.

Check this link for a great explaination on private VLANs.