cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
892
Views
0
Helpful
1
Replies

Trunk ports from Esxi 6 to Nexus 2232TM-E with normal and private vlans?

Ulrik Rosen
Level 1
Level 1

Hi were trying to setup trunk ports with a number of vlans from a pair of Nexus 5548(with sw 6.0.(2)N2(5)) with a dual homed FEX Nexus 2232TM-E connected to a to a ESXi-host with 10GBase-T to a configured dvSwitch to handle the trunk vlans

With a trunk with ordinary vlans it works just fine, port config below:

-----------------------------------------
interface Ethernet102/1/9
  description esxi-host-01
  switchport mode trunk
  switchport trunk native vlan 999
  switchport trunk allowed vlan 1-2,5,11,15,20,25,30,35,38,40,42,44-46,64,98-99,105,110,115,120,125,130,135,140,145,155,170,180,188,190,194-202,210-212,220-222,230-232,240-243,246-247,301-306,312,320,400,402,410,412,500,910-912,940,980-983,986-988,992,996,998-999,1006,1012,1014-1015,1020,1032-1037,1041-1042,1048-1055,1100
  spanning-tree port type edge trunk
----------------------------------------

But when we try to use the private vlans on a dvSwitch in another esxi-host, with the same config as above, the virtual machines cannot communicate at all

It seems like the esxi's pvlans are not transported through the trunk to the Nexus 

One example of many private vlans config in Nexus, configured on the trunk port:

-------------------------------------
vlan 301
  name 301-Primary
  private-vlan primary
  private-vlan association 302
vlan 302
  name 302-Community
  private-vlan community
-------------------------------------

The esxi-host were previously connected to a Catalyst 4948 (etherchannel trunk) and were able to use the configured pvlans without any problems

Whats wrong here?

Please advise

Note/Comment: I've seen this command in some articles (we dont have it enabled): system private-vlan fex trunk

It seems that this might help me to make this work, any comments on what this can do to the running system when enabled??

Solution edit: The command system private-vlan fex trunk did the trick without any problems and the ESXi-hosts got the private vlans correctly

Hope this can help someone

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Thanks for the feedback!

Review Cisco Networking for a $25 gift card