Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.3

PDF

Example - Route leaking across VRFs in a VXLAN BGP EVPN symmetric IRB topology

The following VXLAN with BGP EVPN example uses a Clos leaf-spine topology to show how to set up route leaking across VRF in a symmetric IRB topology.

Route leaking across VRF in a VXLAN BGP EVPN symmetric IRB topology

The following explains how the network is configured:

  • All VTEPs perform symmetric IRB routing. In this example, all spine nodes are in one autonomous system and each VTEP in the leaf network belongs to a different autonomous system. Spine switch 1 is in AS 101. Spine switch 2 is in AS 101. For leaf nodes, VLT domain 1 is in AS 201; VLT domain 2 is in AS 202. VLT domain 2 is a border leaf VTEP.
  • The individual switch configuration shows how to configure VRFs in the VTEPs and configure route leaking between VRFs. For other VXLAN and BGP EVPN configuration, see other examples and the VXLAN section.
  • Route leaking is performed on the Border Leaf VTEP.
  • There are three nondefault VRFs present in the network – Yellow, Green, and Red.
  • Route leaking is done between:
    • VRF-Yellow and VRF-Green.
    • VRF-Yellow and VRF-Red.
    • VRF-Yellow and VRF-default (underlay with external router)
    NOTE: Route leaking is not performed between VRF-Green and VRF-Red.
  • On VTEPs 1 and 2, two VRFs are present – VRF-Yellow and VRF-Green. VN10001 is part of VRF-Yellow and VN20001 is part of VRF-Green.
  • On VTEPs 3 and 4, three VRFs are present – VRF-Yellow, VRF-Green and VRF-Red. VN10001 is part of VRF-Yellow and VN30001 is part of VRF-Red. VRF-Green does not have local VNs.
  • On all VTEPs, symmetric IRB is configured in EVPN mode using a unique, dedicated VXLAN VNI, and Auto RD/RT values for each tenant VRF.
  • On all VTEPs, the disable-rt-asn command is used to autoderive the RT that does not include the ASN in the RT value. This allows auto RT to be used even if there are separate ASNs for each leaf node.
  • A VLAN to an external network is configured on VTEPs 3 and 4 in the VLT domain that serves as the border-leaf gateway.

Leaf 1 configuration

  1. Configure VRFs Yellow and Green.
    OS10(config)# ip vrf Yellow
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Green
    OS10(conf-vrf)# exit
  2. Configure Layer 3 virtual-network interfaces with VRFs and IP addresses.
    OS10(config)# interface virtual-network 10001
    OS10(conf-if-vn-10001)# ip vrf forwarding Yellow
    OS10(conf-if-vn-10001)# ip address 10.1.0.1/24
    OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
    OS10(conf-if-vn-10001)# 
    OS10(config)# interface virtual-network 20001
    OS10(conf-if-vn-20001)# ip vrf forwarding Green
    OS10(conf-if-vn-20001)# ip address 10.2.0.1/24
    OS10(conf-if-vn-20001)# ip virtual-router address 10.2.0.254
    NOTE: For creating the virtual-networks with access ports, check the relevant sections.
  3. Configure EVPN with IP-VRFs.
    OS10(config)# evpn 
    OS10(config-evpn)# auto-evi 
    OS10(config-evpn)# disable-rt-asn 
    OS10(config-evpn)# router-mac de:11:de:11:00:01
    OS10(config-evpn)# vrf Yellow
    OS10(config-evpn-vrf-Yellow)# vni 65001
    OS10(config-evpn-vrf-Yellow)# route-target auto 
    OS10(config-evpn-vrf-Yellow)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Yellow)# exit
    OS10(config-evpn)# vrf Green
    OS10(config-evpn-vrf-Green)# vni 65002
    OS10(config-evpn-vrf-Green)# route-target auto 
    OS10(config-evpn-vrf-Green)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Green)# exit
    

Leaf 2 configuration

  1. Configure VRFs Yellow and Green.
    OS10(config)# ip vrf Yellow
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Green
    OS10(conf-vrf)# exit
  2. Configure Layer 3 virtual-network interfaces with VRFs and IP addresses.
    OS10(config)# interface virtual-network 10001
    OS10(conf-if-vn-10001)# ip vrf forwarding Yellow
    OS10(conf-if-vn-10001)# ip address 10.1.0.2/24
    OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
    OS10(conf-if-vn-10001)# 
    OS10(config)# interface virtual-network 20001
    OS10(conf-if-vn-20001)# ip vrf forwarding Green
    OS10(conf-if-vn-20001)# ip address 10.2.0.2/24
    OS10(conf-if-vn-20001)# ip virtual-router address 10.2.0.254
  3. Configure EVPN with IP-VRFs.
    OS10(config)# evpn 
    OS10(config-evpn)# auto-evi 
    OS10(config-evpn)# disable-rt-asn 
    OS10(config-evpn)# router-mac de:11:de:11:00:02
    OS10(config-evpn)# vrf Yellow
    OS10(config-evpn-vrf-Yellow)# vni 65001
    OS10(config-evpn-vrf-Yellow)# route-target auto 
    OS10(config-evpn-vrf-Yellow)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Yellow)# exit
    OS10(config-evpn)# vrf Green
    OS10(config-evpn-vrf-Green)# vni 65002
    OS10(config-evpn-vrf-Green)# route-target auto 
    OS10(config-evpn-vrf-Green)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Green)# exit

Leaf3 configuration:

  1. Configure VRFs Yellow, Green, and Red.
    OS10(config)# ip vrf Yellow
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Green
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Red
    OS10(conf-vrf)# exit
  2. Configure Layer 3 virtual-network interfaces with VRFs and IP addresses.
    OS10(config)# interface virtual-network 10001
    OS10(conf-if-vn-10001)# ip vrf forwarding Yellow
    OS10(conf-if-vn-10001)# ip address 10.1.0.3/24
    OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
    OS10(conf-if-vn-10001)# 
    OS10(config)# interface virtual-network 30001
    OS10(conf-if-vn-30001)# ip vrf forwarding Red
    OS10(conf-if-vn-30001)# ip address 10.3.0.1/24
    OS10(conf-if-vn-30001)# ip virtual-router address 10.3.0.254
  3. Configure EVPN with IP-VRFs.
    OS10(config)# evpn 
    OS10(config-evpn)# auto-evi 
    OS10(config-evpn)# disable-rt-asn
    OS10(config-evpn)# router-mac de:11:de:11:00:02
    OS10(config-evpn)# vrf Yellow
    OS10(config-evpn-vrf-Yellow)# vni 65001
    OS10(config-evpn-vrf-Yellow)# route-target auto 
    OS10(config-evpn-vrf-Yellow)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Yellow)# exit
    OS10(config-evpn)# vrf Green
    OS10(config-evpn-vrf-Green)# vni 65002
    OS10(config-evpn-vrf-Green)# route-target auto 
    OS10(config-evpn-vrf-Green)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Green)# exit
    OS10(config-evpn)# vrf Red
    OS10(config-evpn-vrf-Red)# vni 65003
    OS10(config-evpn-vrf-Red)# route-target auto 
    OS10(config-evpn-vrf-Red)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Red)# exit
  4. Configure the border-leaf to advertise the default route into the EVPN in each VRF. From the other VTEPs, any traffic to an external network and also to networks which are not within the local VRF reaches the Border Leaf router using this default route.
    1. If the border-leaf is already getting a default route from an external router for each VRF: Advertise the BGP route using the advertise ipv4 bgp command for each VRF in the EVPN.
      OS10(config)# evpn
      OS10(config-evpn)# vrf Yellow
      OS10(config-evpn-vrf-Yellow)# advertise ipv4 bgp
      OS10(config-evpn-vrf-Yellow)# exit
      OS10(config-evpn)# vrf Green
      OS10(config-evpn-vrf-Green)# advertise ipv4 bgp
      OS10(config-evpn-vrf-Green)# exit
      
    2. If the border-leaf does not get a default route from an external router: Configure a static null default route in each VRF and advertise it using advertise ipv4 static command for each VRF in the EVPN.
      OS10(config)# ip route vrf Yellow 0.0.0.0/0 interface null 0
      OS10(config)# ip route vrf Green 0.0.0.0/0 interface null 0
      OS10(config)# evpn 
      OS10(config-evpn)# vrf Yellow
      OS10(config-evpn-vrf-Yellow)# advertise ipv4 static
      OS10(config-evpn-vrf-Yellow)# exit
      OS10(config-evpn)# vrf Green
      OS10(config-evpn-vrf-Green)# advertise ipv4 static
      OS10(config-evpn-vrf-Green)# exit
  5. (Optional) Configure route-maps with a prefix-list to leak selective routes from each VRF.
    OS10(config)# ip prefix-list PrefixList_DefaultVrf_Export permit 10.10.0.0/24
    OS10(config)# ip prefix-list PrefixList_YellowVrf_Export permit 10.1.0.0/24 le 32
    OS10(config)# ip prefix-list PrefixList_GreenVrf_Export permit 10.2.0.0/24
    OS10(config)# ip prefix-list PrefixList_RedVrf_Export permit 10.3.0.0/24
    OS10(config)# route-map RouteMap_DefaultVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_DefaultVrf_Export
    OS10(config-route-map)# exit
    OS10(config)# route-map RouteMap_YellowVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_YellowVrf_Export 
    OS10(config-route-map)# exit
    OS10(config)# route-map RouteMap_GreenVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_GreenVrf_Export 
    OS10(config-route-map)# exit
    OS10(config)# route-map RouteMap_RedVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_RedVrf_Export 
    OS10(config-route-map)# exit
    
    NOTE: While leaking EVPN routes, only the subnet routes must be leaked. Host routes (/32) need not be leaked and could be blocked using route-maps. But, if you have certain VNs stretched on the border-leaf as well (like in Yellow VRF), you must leak the host routes as well.
  6. Configure route leaking between:
    • Yellow VRF and default VRF.
    • Yellow VRF and Green VRF.
    • Yellow VRF and Red VRF.
    OS10(config)# ip vrf default
    OS10(conf-vrf)# ip route-export 0:0 route-map RouteMap_DefaultVrf_Export
    OS10(conf-vrf)# ip route-import 1:1
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Yellow
    OS10(conf-vrf)# ip route-export 1:1 route-map RouteMap_YellowVrf_Export
    OS10(conf-vrf)# ip route-import 0:0
    OS10(conf-vrf)# ip route-import 2:2
    OS10(conf-vrf)# ip route-import 3:3
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Green
    OS10(conf-vrf)# ip route-export 2:2 route-map RouteMap_GreenVrf_Export
    OS10(conf-vrf)# ip route-import 1:1
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Red
    OS10(conf-vrf)# ip route-export 3:3 route-map RouteMap_RedVrf_Export
    OS10(conf-vrf)# ip route-import 1:1
    OS10(conf-vrf)# exit
  7. (Optional) For advertising leaked routes from Yellow VRF only to an external router on the default VRF and not to an underlay network, use route-maps on spine-facing eBGP neighbors and also on the iBGP neighbor between the VLT peers.
    OS10(config)# ip prefix-list PrefixList_Deny_YellowVrfRoutes deny 10.1.0.0/24 le 
    OS10(config)# ip prefix-list PrefixList_Deny_YellowVrfRoutes permit 0.0.0.0/0 le 32
    OS10(config)# 
    OS10(config)# route-map RouteMap_Deny_YellowVrfRoutes
    OS10(config-route-map)# match ip address prefix-list PrefixList_Deny_YellowVrfRoutes
    OS10(config-route-map)# 
    OS10(config-route-map)# router bgp 202
    OS10(config-router-bgp-202)# address-family ipv4 unicast
    OS10(configure-router-bgpv4-af)# redistribute l2vpn evpn
    OS10(configure-router-bgpv4-af)# redistribute connected 
    OS10(configure-router-bgpv4-af)# exit
    OS10(config-router-bgp-202)# neighbor 192.168.2.0
    OS10(config-router-neighbor)# address-family ipv4 unicast
    OS10(config-router-bgp-neighbor-af)# route-map RouteMap_Deny_YellowVrfRoutes out
    OS10(config-router-bgp-neighbor-af)# exit
    OS10(config-router-neighbor)# exit
    OS10(config-router-bgp-202)# neighbor 192.168.2.2
    OS10(config-router-neighbor)# address-family ipv4 unicast
    OS10(config-router-bgp-neighbor-af)# route-map RouteMap_Deny_YellowVrfRoutes out
    OS10(config-router-bgp-neighbor-af)# exit
    OS10(config-router-neighbor)# exit
    OS10(config-router-bgp-202)# neighbor 192.168.2.241
    OS10(config-router-neighbor)# address-family ipv4 unicast
    OS10(config-router-bgp-neighbor-af)# route-map RouteMap_Deny_YellowVrfRoutes out
    OS10(config-router-bgp-neighbor-af)# exit
    OS10(config-router-neighbor)# exit
    OS10(config-router-bgp-202)# neighbor 10.10.0.3
    OS10(config-router-neighbor)# remote-as 301
    OS10(config-router-neighbor)# no shutdown
    OS10(config-router-neighbor)# exit

Leaf 4 configuration

  1. Configure VRFs Yellow, Green, and Red.
    OS10(config)# ip vrf Yellow
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Green
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Red
    OS10(conf-vrf)# exit
  2. Configure Layer 3 virtual-network interfaces with VRFs and IP addresses.
    OS10(config)# interface virtual-network 10001
    OS10(conf-if-vn-10001)# ip vrf forwarding Yellow
    OS10(conf-if-vn-10001)# ip address 10.1.0.4/24
    OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
    OS10(conf-if-vn-10001)# 
    OS10(config)# interface virtual-network 30001
    OS10(conf-if-vn-30001)# ip vrf forwarding Red
    OS10(conf-if-vn-30001)# ip address 10.3.0.2/24
    OS10(conf-if-vn-30001)# ip virtual-router address 10.3.0.254
  3. Configure EVPN with IP-VRFs.
    OS10(config)# evpn 
    OS10(config-evpn)# auto-evi 
    OS10(config-evpn)# disable-rt-asn 
    OS10(config-evpn)# vrf Yellow
    OS10(config-evpn-vrf-Yellow)# vni 65001
    OS10(config-evpn-vrf-Yellow)# route-target auto 
    OS10(config-evpn-vrf-Yellow)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Yellow)# exit
    OS10(config-evpn)# vrf Green
    OS10(config-evpn-vrf-Green)# vni 65002
    OS10(config-evpn-vrf-Green)# route-target auto 
    OS10(config-evpn-vrf-Green)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Green)# exit
    OS10(config-evpn)# vrf Red
    OS10(config-evpn-vrf-Red)# vni 65003
    OS10(config-evpn-vrf-Red)# route-target auto 
    OS10(config-evpn-vrf-Red)# advertise ipv4 connected 
    OS10(config-evpn-vrf-Red)# exit
  4. Configure a border-leaf to advertise the default route into the EVPN in each VRF. From the other VTEPs, any traffic to external network and also to networks which are not within the local VRF reaches the Border-Leaf router using this default route.
    1. If the border-leaf is already getting a default route from an external router for each VRF: Advertise the BGP route using the advertise ipv4 bgp command for each VRF in the EVPN.
      OS10(config)# evpn
      OS10(config-evpn)# vrf Yellow
      OS10(config-evpn-vrf-Yellow)# advertise ipv4 bgp
      OS10(config-evpn-vrf-Yellow)# exit
      OS10(config-evpn)# vrf Green
      OS10(config-evpn-vrf-Green)# advertise ipv4 bgp
      OS10(config-evpn-vrf-Green)# exit
    2. If the border-leaf does not get a default route from an external router: Configure a static null default route in each VRF and advertise it using the advertise ipv4 static command for each VRF in the EVPN.
      OS10(config)# ip route vrf Yellow 0.0.0.0/0 interface null 0
      OS10(config)# ip route vrf Green 0.0.0.0/0 interface null 0
      OS10(config)# evpn 
      OS10(config-evpn)# vrf Yellow
      OS10(config-evpn-vrf-Yellow)# advertise ipv4 static
      OS10(config-evpn-vrf-Yellow)# exit
      OS10(config-evpn)# vrf Green
      OS10(config-evpn-vrf-Green)# advertise ipv4 static
      OS10(config-evpn-vrf-Green)# exit
  5. (Optional) Configure route-maps with a prefix-list to leak selective routes from each VRF.
    OS10(config)# ip prefix-list PrefixList_DefaultVrf_Export permit 10.10.0.0/24
    OS10(config)# ip prefix-list PrefixList_YellowVrf_Export permit 10.1.0.0/24 le 32
    OS10(config)# ip prefix-list PrefixList_GreenVrf_Export permit 10.2.0.0/24
    OS10(config)# ip prefix-list PrefixList_RedVrf_Export permit 10.3.0.0/24
    OS10(config)# 
    OS10(config)# route-map RouteMap_DefaultVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_DefaultVrf_Export
    OS10(config-route-map)# exit
    OS10(config)# route-map RouteMap_YellowVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_YellowVrf_Export 
    OS10(config-route-map)# exit
    OS10(config)# route-map RouteMap_GreenVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_GreenVrf_Export 
    OS10(config-route-map)# exit
    OS10(config)# route-map RouteMap_RedVrf_Export
    OS10(config-route-map)# match ip address prefix-list PrefixList_RedVrf_Export 
    OS10(config-route-map)# exit
    NOTE: While leaking EVPN routes, only the subnet routes must be leaked. Host routes (/32) need not be leaked and could be blocked using route-maps. But, if you have certain VNs stretched on border leaf as well (like in Yellow VRF), you must leak the host routes as well.
  6. Configure route leaking between:
    • Yellow VRF and default VRF.
    • Yellow VRF and Green VRF.
    • Yellow VRF and Red VRF.
    OS10(config)# ip vrf default
    OS10(conf-vrf)# ip route-export 0:0 route-map RouteMap_DefaultVrf_Export
    OS10(conf-vrf)# ip route-import 1:1
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Yellow
    OS10(conf-vrf)# ip route-export 1:1 route-map RouteMap_YellowVrf_Export
    OS10(conf-vrf)# ip route-import 0:0
    OS10(conf-vrf)# ip route-import 2:2
    OS10(conf-vrf)# ip route-import 3:3
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Green
    OS10(conf-vrf)# ip route-export 2:2 route-map RouteMap_GreenVrf_Export
    OS10(conf-vrf)# ip route-import 1:1
    OS10(conf-vrf)# exit
    OS10(config)# ip vrf Red
    OS10(conf-vrf)# ip route-export 3:3 route-map RouteMap_RedVrf_Export
    OS10(conf-vrf)# ip route-import 1:1
    OS10(conf-vrf)# exit
  7. (Optional) For advertising leaked routes from the Yellow VRF only to an external router in the default VRF and not to an underlay network, use route-maps on spine facing eBGP neighbors and also on the iBGP neighbor between the VLT peers.
    OS10(config)# ip prefix-list PrefixList_Deny_YellowVrfRoutes deny 10.1.0.0/24 le 32
    OS10(config)# ip prefix-list PrefixList_Deny_YellowVrfRoutes permit 0.0.0.0/0 le 32
    OS10(config)# 
    OS10(config)# route-map RouteMap_Deny_YellowVrfRoutes
    OS10(config-route-map)# match ip address prefix-list PrefixList_Deny_YellowVrfRoutes
    OS10(config-route-map)# 
    OS10(config-route-map)# router bgp 202
    OS10(config-router-bgp-202)# address-family ipv4 unicast
    OS10(configure-router-bgpv4-af)# redistribute l2vpn evpn
    OS10(configure-router-bgpv4-af)# redistribute connected 
    OS10(configure-router-bgpv4-af)# exit
    OS10(config-router-bgp-202)# neighbor 192.168.2.4
    OS10(config-router-neighbor)# address-family ipv4 unicast
    OS10(config-router-bgp-neighbor-af)# route-map RouteMap_Deny_YellowVrfRoutes out
    OS10(config-router-bgp-neighbor-af)# exit
    OS10(config-router-neighbor)# exit
    OS10(config-router-bgp-202)# neighbor 192.168.2.5
    OS10(config-router-neighbor)# address-family ipv4 unicast
    OS10(config-router-bgp-neighbor-af)# route-map RouteMap_Deny_YellowVrfRoutes out
    OS10(config-router-bgp-neighbor-af)# exit
    OS10(config-router-neighbor)# exit
    OS10(config-router-bgp-202)# neighbor 192.168.2.240
    OS10(config-router-neighbor)# address-family ipv4 unicast
    OS10(config-router-bgp-neighbor-af)# route-map RouteMap_Deny_YellowVrfRoutes out
    OS10(config-router-bgp-neighbor-af)# exit
    OS10(config-router-neighbor)# exit
    OS10(config-router-bgp-202)# neighbor 10.10.0.3
    OS10(config-router-neighbor)# remote-as 301
    OS10(config-router-neighbor)# no shutdown
    OS10(config-router-neighbor)# exit

Verify leaked routes using show outputs on the the Border-Leaf switch:

OS10# show ip route vrf Yellow
Codes: C - connected
       S - static
       B - BGP, IN - internal BGP, EX - external BGP, EV - EVPN BGP
       O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
       E2 - OSPF external type 2, * - candidate default,
       + - summary route, > - non-active route
Gateway of last resort is Direct    to network 0.0.0.0
  Destination                 Gateway                                        Dist/Metric       Last Change     
----------------------------------------------------------------------------------------------------------
  *S    0.0.0.0/0           Direct                   null0                   0/0               00:38:51
  C     10.1.0.0/24         via 10.1.0.3             virtual-network10001    0/0               00:47:11
  B  EV 10.1.0.1/32         via 192.168.0.1                                  200/0             00:48:55
  B  EV 10.1.0.2/32         via 192.168.0.1                                  200/0             00:48:55
  B  EV 10.2.0.0/24         via 192.168.0.1,Green                            200/0             00:35:48
  C     10.3.0.0/24         via 10.3.0.1,Red         virtual-network30001    0/0               00:35:48
  C     10.10.0.0/24        via 10.10.0.1,default    vlan100                 0/0               00:25:42
OS10# show ip route vrf Green
Codes: C - connected
       S - static
       B - BGP, IN - internal BGP, EX - external BGP, EV - EVPN BGP
       O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
       E2 - OSPF external type 2, * - candidate default,
       + - summary route, > - non-active route
Gateway of last resort is Direct    to network 0.0.0.0
  Destination                 Gateway                                        Dist/Metric       Last Change     
----------------------------------------------------------------------------------------------------------
  *S    0.0.0.0/0           Direct                   null0                   0/0               00:39:24
  C     10.1.0.0/24         via 10.1.0.3,Yellow      virtual-network10001    0/0               00:36:22
  B  EV 10.1.0.1/32         via 192.168.0.1,Yellow                           200/0             00:36:22
  B  EV 10.1.0.2/32         via 192.168.0.1,Yellow                           200/0             00:36:22
  B  EV 10.2.0.0/24         via 192.168.0.1                                  200/0             00:41:47
  B  EV 10.2.0.1/32         via 192.168.0.1                                  200/0             00:41:47
  B  EV 10.2.0.2/32         via 192.168.0.1                                  200/0             00:41:47
  B  EV 10.2.0.254/32       via 192.168.0.1                                  200/0             00:41:47
OS10# show ip route vrf Red
Codes: C - connected
       S - static
       B - BGP, IN - internal BGP, EX - external BGP, EV - EVPN BGP
       O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
       E2 - OSPF external type 2, * - candidate default,
       + - summary route, > - non-active route
Gateway of last resort is not set
  Destination                 Gateway                                        Dist/Metric       Last Change     
----------------------------------------------------------------------------------------------------------
  C     10.1.0.0/24         via 10.1.0.3,Yellow      virtual-network10001    0/0               00:36:26
  B  EV 10.1.0.1/32         via 192.168.0.1,Yellow                           200/0             00:36:26
  B  EV 10.1.0.2/32         via 192.168.0.1,Yellow                           200/0             00:36:26
  C     10.3.0.0/24         via 10.3.0.1             virtual-network30001    0/0               00:45:44

Verify routes on the external router

OS10# show ip route
Codes: C - connected
       S - static
       B - BGP, IN - internal BGP, EX - external BGP, EV - EVPN BGP
       O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
       E2 - OSPF external type 2, * - candidate default,
       + - summary route, > - non-active route
Gateway of last resort is not set
  Destination                 Gateway                                        Dist/Metric       Last Change     
----------------------------------------------------------------------------------------------------------
  B  EX 10.1.0.0/24         via 10.10.0.1                                    20/0              00:13:49
                            via 10.10.0.2                                
  B  EX 10.1.0.1/32         via 10.10.0.1                                    20/0              00:14:22
                            via 10.10.0.2                                
  B  EX 10.1.0.2/32         via 10.10.0.1                                    20/0              00:14:24
                            via 10.10.0.2                                
  C     10.10.0.0/24        via 10.10.0.3            vlan100                 0/0               00:23:16
  B  EX 172.16.1.1/32       via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 172.16.1.2/32       via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 172.16.1.3/32       via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 172.16.1.4/32       via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 172.16.1.201/32     via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 172.16.1.202/32     via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 192.168.0.1/32      via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 192.168.0.2/32      via 10.10.0.1                                    20/0              00:22:58
                            via 10.10.0.2                                
  B  EX 192.168.2.0/31      via 10.10.0.1                                    20/0              00:14:11
                            via 10.10.0.2                                
  B  EX 192.168.2.2/31      via 10.10.0.1                                    20/0              00:14:11
                            via 10.10.0.2                                
  B  EX 192.168.2.4/31      via 10.10.0.1                                    20/0              00:13:49
                            via 10.10.0.2                                
  B  EX 192.168.2.6/31      via 10.10.0.1                                    20/0              00:13:49
                            via 10.10.0.2                                
  B  EX 192.168.2.240/31    via 10.10.0.1                                    20/0              00:14:11
                            via 10.10.0.2                                

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\