I have problem in my Eve-NG lab. My Nexus 9000v version 9.2(2) switch gets route from external network, and then adds RT, despite there aren't strings:
route-target export 65000:10077 route-target both auto evpn
in VRF address-family ipv4 unicast config. I don't understand why it adds RT. Could you explain me, or show where are my mistake.
Leaf-103(config-vrf-af-ipv4)# sh bgp l2vpn evpn 172.16.77.0 BGP routing table information for VRF default, address family L2VPN EVPN Route Distinguisher: 192.168.77.103:3 (L3VNI 10077) BGP routing table entry for [5]:[0]:[0]:[24]:[172.16.77.0]/224, version 20 Paths: (1 available, best #1) Flags: (0x000002) (high32 00000000) on xmit-list, is not in l2rib/evpn Advertised path-id 1 Path type: local, path is valid, is best path, no labeled nexthop Gateway IP: 0.0.0.0 AS-Path: 64577 , path sourced external to AS 192.168.100.103 (metric 0) from 0.0.0.0 (192.168.77.103) Origin IGP, MED 0, localpref 100, weight 0 Received label 10077 Extcommunity: RT:65000:10077 ENCAP:8 Router MAC:5000.000d.0007 Path-id 1 advertised to peers: 192.168.77.11
Configs Nexus:
cfs eth distribute nv overlay evpn feature ospf feature bgp feature pim feature fabric forwarding feature interface-vlan feature vn-segment-vlan-based feature lacp feature nv overlay fabric forwarding anycast-gateway-mac 0001.0001.0001 ip pim rp-address 192.168.238.1 group-list 238.0.0.0/24 bidir ip pim ssm range 232.0.0.0/8 vlan 1,10,20,77 vlan 10 name L2VNI-for-VLAN10 vn-segment 10000 vlan 20 name L2VNI-for-VLAN20 vn-segment 20000 vlan 77 name TENANT77 vn-segment 10077 vrf context TENANT77 vni 10077 rd auto address-family ipv4 unicast vrf context VPC-Peer-Keepalive vrf context management hardware access-list tcam region racl 512 hardware access-list tcam region arp-ether 256 double-wide interface Vlan10 no shutdown vrf member TENANT77 ip address 192.168.11.1/24 fabric forwarding mode anycast-gateway interface Vlan20 no shutdown vrf member TENANT77 ip address 192.168.12.1/24 fabric forwarding mode anycast-gateway interface Vlan77 no shutdown mtu 9216 vrf member TENANT77 ip forward interface nve1 no shutdown host-reachability protocol bgp source-interface loopback100 member vni 10000 suppress-arp mcast-group 238.0.0.10 member vni 10077 associate-vrf member vni 20000 mcast-group 238.0.0.10 interface Ethernet1/1 no switchport medium p2p ip unnumbered loopback0 ip ospf network point-to-point ip router ospf UNDERLAY-NET area 0.0.0.0 ip pim sparse-mode no shutdown interface Ethernet1/7 description ** to Ext-Ro02 ** no switchport vrf member TENANT77 ip address 10.103.77.103/24 no shutdown interface loopback0 description ** RID/Underlay ** ip address 192.168.0.103/32 ip router ospf UNDERLAY-NET area 0.0.0.0 ip pim sparse-mode interface loopback77 description ** BGP peering ** ip address 192.168.77.103/32 ip router ospf UNDERLAY-NET area 0.0.0.0 interface loopback100 description ** VTEP/Overlay ** ip address 192.168.100.103/32 ip router ospf UNDERLAY-NET area 0.0.0.0 ip pim sparse-mode line console line vty no feature signature-verification router ospf UNDERLAY-NET router-id 192.168.0.103 name-lookup router bgp 65000 router-id 192.168.77.103 timers bgp 3 9 address-family ipv4 unicast address-family l2vpn evpn neighbor 192.168.77.11 remote-as 65000 description ** Spine-11 BGP-RR ** update-source loopback77 address-family l2vpn evpn send-community extended vrf TENANT77 address-family ipv4 unicast advertise l2vpn evpn aggregate-address 192.168.11.0/24 summary-only neighbor 10.103.77.2 remote-as 64577 description ** External Network - Ext-Ro02 ** update-source Ethernet1/7 address-family ipv4 unicast send-community send-community extended evpn vni 10000 l2 rd auto route-target import auto route-target export auto vni 20000 l2 rd auto route-target import auto route-target export auto
Neighbor config:
! ip vrf TENANT77 rd 65077:1 route-target export 65077:1 route-target import 65077:1 ! interface Loopback77 description ** BGP-RID ** ip address 172.16.77.77 255.255.255.255 ! interface Loopback161 description ** This Interface simulates external net 172.16.1.0/24 ** ip vrf forwarding TENANT77 ip address 172.16.1.3 255.255.255.0 ! interface Ethernet0/0 ip vrf forwarding TENANT77 ip address 10.255.4.165 255.255.0.0 ! interface Ethernet0/1 mac-address 2000.0020.babe ip address 10.103.77.2 255.255.255.0 ! router bgp 64577 bgp router-id 10.103.77.3 network 172.16.77.0 mask 255.255.255.0 timers bgp 3 9 neighbor 10.103.77.103 remote-as 65000 ! address-family ipv4 vrf TENANT77 network 172.16.1.0 mask 255.255.255.0 network 172.16.3.0 mask 255.255.255.0 neighbor 10.103.77.103 remote-as 65000 neighbor 10.103.77.103 description ** VXLAN Fabric Border Leaf-103 ** neighbor 10.103.77.103 update-source Ethernet0/0 neighbor 10.103.77.103 activate exit-address-family ! ip route 172.16.77.0 255.255.255.0 Null0
No comments:
Post a Comment