[c-nsp] VxLAN on Nexus 9000v and trunk ports

Marco Marzetti marco at lamehost.it
Mon Dec 11 07:47:29 EST 2017


Hello,

I am trying to configure EVPN VxLANs on Nexus 9000v.
And i am stuck with trunk ports

Configuration looks like:

vlan 101
  vn-segment 1

interface nve1
  no shutdown
  overlay-encapsulation vxlan-with-tag
  host-reachability protocol bgp
  source-interface loopback0
  member vni 1
    ingress-replication protocol bgp

interface ethernet 1/3
  no shutdown
  switchport access vlan 101

router bgp 64496
  router-id 192.0.2.2
  address-family l2vpn evpn
  neighbor 192.0.2.1
    remote-as 64496
    update-source loopback0
    address-family l2vpn evpn
      send-community extended

evpn
  vni 1 l2
    rd auto
    route-target import auto
    route-target export auto

As long as i use access ports on both leafs everything works as expected.
But i can't get it working when one of the two is in trunk mode.

So, for instance:
hostname leaf1
!
interface ethernet 1/3
  no shutdown
  switchport access vlan 101

and

hostname leaf2
!
interface ethernet 1/3
  no shutdown
  switchport mode trunk
  switchport trunk allowed vlan 101,2

Vlan2 is connected to a SVI on the Nexus.
Vlan101 is connected to NVE1 via vn-segment

I'd expected traffic going out from e1/3 on leaf2 for vlan101 to be tagged
with id 101, but it is not. It's untagged.

Is it a bug (or a limitation of Nexus 9000v) or am i missing something?

Thank you

-- 
Marco


More information about the cisco-nsp mailing list