Simplified Networking
  • Home
  • Technology VoD!
    • Cisco >
      • Route & Switch / Enterprise Infrastructure
  • Technology Breakdowns!
    • Route&Switch/Ent. Infra. >
      • L2 Technologies
      • L3 Technologies
      • VPN Technologies
      • Services >
        • IOS - Dynamic NAT
        • HSRP - IPv4 Setup
        • HSRP - Priority and Preemption
    • Service Provider >
      • IGPs (Interior Gateway Protocols)
      • First Hop Redundancy >
        • HSRP (Hot Standby Router Protocol) >
          • HSRP - IOS/IOS XE Setup
          • HSRP - IOS XR Setup
      • BGP (Border Gateway Protocol)
      • Inter AS Multicast (MSDP)
      • Intra-AS MPLS
      • Inter-AS MPLS
    • Security >
      • IOS Firewall
      • ASA Firewall
      • FirePOWER Threat Defense >
        • FTD - FTD NGFW Device Setup and FMC Integration
      • VPNs >
        • PKI
        • Site to Site VPNs
        • Remote Access VPNs >
          • IOS Remote Access
          • ASA Remote Access
    • Data Center >
      • Nexus 9000v >
        • Nexus 9000v - Enabling Features
        • Nexus 9000v - VLANs and Trunks
        • Nexus 9000v - LACP Port Channels
        • Nexus 9000v - vPC (Virtual Port Channel)
        • Nexus 9000v - OSPFv2
        • Nexus 9000v - VXLAN - Ingress Replication Flood and Learn
        • Nexus 9000v - IP Multicast
        • Nexus 9000v - VxLAN - Multicast Flood and Learn
        • Nexus 9000v - VxLAN - BGP EVPN with Multicast
        • Nexus 9000v - VxLAN - BGP EVPN w/Ingress Replication
        • Nexus 9000v - VxLAN - Inter-VxLAN Routing with BGP EVPN
        • Nexus 9000v - VXLAN - External Routing
      • Nexus 7000v
    • Palo Alto

PE-CE Routing with IPv4/v6 BGP Site Of Origin

Picture
CSR5
 address-family ipv4 vrf C1
  neighbor 101.5.18.18 send-community both
  neighbor 101.5.18.18 soo 65100:100
 exit-address-family
 !
 address-family ipv6 vrf C1
  neighbor 101:5:18::18 send-community both
  neighbor 101:5:18::18 soo 65100:100
 exit-address-family


XR13
router bgp 100
 vrf C1
    neighbor 101.13.19.19
   remote-as 65100
   address-family ipv4 unicast
    route-policy RPL_PASS_ALL in
    route-policy RPL_PASS_ALL out
    as-override
    site-of-origin 65100:100
   !
  !
  neighbor 101:13:19::19
   remote-as 65100
   address-family ipv6 unicast
    route-policy RPL_PASS_ALL in
    route-policy RPL_PASS_ALL out
    as-override
    site-of-origin 65100:100


CSR5#show bgp vpnv4 unicast all 10.101.19.0/24
BGP routing table entry for 100:1:10.101.19.0/24, version 1479
Paths: (2 available, best #1, table C1)
  Not advertised to any peer
  Refresh Epoch 4
  65100
    192.0.2.13 (metric 40) (via default) from 192.0.2.3 (192.0.2.3)
      Origin IGP, metric 0, localpref 100, valid, internal, best
      Extended Community: SoO:65100:100 RT:192.0.2.13:1
      Originator: 192.0.2.13, Cluster list: 192.0.2.3
      mpls labels in/out nolabel/24013
      rx pathid: 0, tx pathid: 0x0
  Refresh Epoch 1
  65100
    192.0.2.13 (metric 40) (via default) from 192.0.2.9 (192.0.2.9)
      Origin IGP, metric 0, localpref 100, valid, internal
      Extended Community: SoO:65100:100 RT:192.0.2.13:1
      Originator: 192.0.2.13, Cluster list: 192.0.2.9
      mpls labels in/out nolabel/24013
      rx pathid: 0, tx pathid: 0



CSR5#show bgp vpnv6 unicast all 10:101:19::19/128
BGP routing table entry for [100:1]10:101:19::19/128, version 1263
Paths: (2 available, best #2, table C1)
  Not advertised to any peer
  Refresh Epoch 1
  65100
    ::FFFF:192.0.2.13 (metric 40) (via default) from 192.0.2.9 (192.0.2.9)
      Origin IGP, metric 0, localpref 100, valid, internal
      Extended Community: SoO:65100:100 RT:192.0.2.13:1
      Originator: 192.0.2.13, Cluster list: 192.0.2.9
      mpls labels in/out nolabel/24011
      rx pathid: 0, tx pathid: 0
  Refresh Epoch 4
  65100
    ::FFFF:192.0.2.13 (metric 40) (via default) from 192.0.2.3 (192.0.2.3)
      Origin IGP, metric 0, localpref 100, valid, internal, best
      Extended Community: SoO:65100:100 RT:192.0.2.13:1
      Originator: 192.0.2.13, Cluster list: 192.0.2.3
      mpls labels in/out nolabel/24011
      rx pathid: 0, tx pathid: 0x0




RP/0/0/CPU0:XR13#show bgp vrf C1 ipv4 unicast 10.101.18.0/24
Tue Sep 24 05:25:00.268 UTC
BGP routing table entry for 10.101.18.0/24, Route Distinguisher: 100:1
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                363         363
Last Modified: Sep 24 04:12:08.347 for 01:12:52
Paths: (2 available, best #1)
  Not advertised to any peer
  Path #1: Received by speaker 0
  Not advertised to any peer
  65100
    192.0.2.5 (metric 40) from 192.0.2.3 (192.0.2.5)
      Received Label 37
      Origin IGP, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, imported
      Received Path ID 0, Local Path ID 1, version 363
      Extended community: SoO:65100:100 RT:192.0.2.5:1 
      Originator: 192.0.2.5, Cluster list: 192.0.2.3
      Source AFI: VPNv4 Unicast, Source VRF: C1, Source Route Distinguisher: 100:1
  Path #2: Received by speaker 0
  Not advertised to any peer
  65100
    192.0.2.5 (metric 40) from 192.0.2.9 (192.0.2.5)
      Received Label 37
      Origin IGP, metric 0, localpref 100, valid, internal, import-candidate, imported
      Received Path ID 0, Local Path ID 0, version 0
      Extended community: SoO:65100:100 RT:192.0.2.5:1 
      Originator: 192.0.2.5, Cluster list: 192.0.2.9
      Source AFI: VPNv4 Unicast, Source VRF: C1, Source Route Distinguisher: 100:1




RP/0/0/CPU0:XR13#show bgp vrf C1 ipv6 unicast 10:101:18::18/128
Tue Sep 24 05:24:13.021 UTC
BGP routing table entry for 10:101:18::18/128, Route Distinguisher: 100:1
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                192         192
Last Modified: Sep 24 04:12:08.347 for 01:12:04
Paths: (2 available, best #1)
  Not advertised to any peer
  Path #1: Received by speaker 0
  Not advertised to any peer
  65100
    192.0.2.5 (metric 40) from 192.0.2.3 (192.0.2.5)
      Received Label 25
      Origin IGP, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, imported
      Received Path ID 0, Local Path ID 1, version 192
      Extended community: SoO:65100:100 RT:192.0.2.5:1 
      Originator: 192.0.2.5, Cluster list: 192.0.2.3
      Source AFI: VPNv6 Unicast, Source VRF: C1, Source Route Distinguisher: 100:1
  Path #2: Received by speaker 0
  Not advertised to any peer
  65100
    192.0.2.5 (metric 40) from 192.0.2.9 (192.0.2.5)
      Received Label 25
      Origin IGP, metric 0, localpref 100, valid, internal, import-candidate, imported
      Received Path ID 0, Local Path ID 0, version 0
      Extended community: SoO:65100:100 RT:192.0.2.5:1 
      Originator: 192.0.2.5, Cluster list: 192.0.2.9
      Source AFI: VPNv6 Unicast, Source VRF: C1, Source Route Distinguisher: 100:1



IOS19#sh ip route    
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, 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
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
C        10.18.19.0/24 is directly connected, GigabitEthernet0/1
L        10.18.19.19/32 is directly connected, GigabitEthernet0/1
C        10.100.19.0/24 is directly connected, Loopback100
L        10.100.19.19/32 is directly connected, Loopback100
B        10.101.8.0/24 [20/0] via 101.13.19.13, 01:23:39
B        10.101.17.0/24 [20/0] via 101.13.19.13, 01:23:39
D        10.101.18.0/24 
           [90/130816] via 10.18.19.18, 01:10:36, GigabitEthernet0/1
C        10.101.19.0/24 is directly connected, Loopback101
L        10.101.19.19/32 is directly connected, Loopback101
      100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        100.13.19.0/24 is directly connected, GigabitEthernet0/0.100
L        100.13.19.19/32 is directly connected, GigabitEthernet0/0.100
      101.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        101.13.19.0/24 is directly connected, GigabitEthernet0/0
L        101.13.19.19/32 is directly connected, GigabitEthernet0/0



IOS18#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, 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
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
C        10.18.19.0/24 is directly connected, GigabitEthernet0/1
L        10.18.19.18/32 is directly connected, GigabitEthernet0/1
C        10.100.1.0/24 is directly connected, GigabitEthernet0/2
L        10.100.1.18/32 is directly connected, GigabitEthernet0/2
B        10.101.8.0/24 [20/0] via 101.5.18.5, 01:10:44
B        10.101.17.0/24 [20/0] via 101.5.18.5, 01:10:44
C        10.101.18.0/24 is directly connected, Loopback101
L        10.101.18.18/32 is directly connected, Loopback101
D        10.101.19.0/24 
           [90/130816] via 10.18.19.19, 01:24:31, GigabitEthernet0/1
      100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        100.5.18.0/24 is directly connected, GigabitEthernet0/0.100
L        100.5.18.18/32 is directly connected, GigabitEthernet0/0.100
      101.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        101.5.18.0/24 is directly connected, GigabitEthernet0/0
L        101.5.18.18/32 is directly connected, GigabitEthernet0/0
      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.100.0/24 is directly connected, GigabitEthernet0/2.100
L        172.16.100.18/32 is directly connected, GigabitEthernet0/2.100



IOS18#sh ipv6 route
IPv6 Routing Table - default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       lA - LISP away, a - Application
C   10:18:19::/64 [0/0]
     via GigabitEthernet0/1, directly connected
L   10:18:19::18/128 [0/0]
     via GigabitEthernet0/1, receive
B   10:101:8::8/128 [20/0]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
B   10:101:17::17/128 [20/0]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
LC  10:101:18::18/128 [0/0]
     via Loopback0, receive
D   10:101:19::19/128 [90/10880]
     via FE80::5200:FF:FE13:1, GigabitEthernet0/1
C   101:5:18::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   101:5:18::18/128 [0/0]
     via GigabitEthernet0/0, receive
D   101:13:19::/64 [90/15360]
     via FE80::5200:FF:FE13:1, GigabitEthernet0/1
L   FF00::/8 [0/0]
     via Null0, receive



IOS19#sh ipv6 route
IPv6 Routing Table - default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       lA - LISP away, a - Application
C   10:18:19::/64 [0/0]
     via GigabitEthernet0/1, directly connected
L   10:18:19::19/128 [0/0]
     via GigabitEthernet0/1, receive
B   10:101:8::8/128 [20/0]
     via FE80::5200:FF:FE0D:2, GigabitEthernet0/0
B   10:101:17::17/128 [20/0]
     via FE80::5200:FF:FE0D:2, GigabitEthernet0/0
D   10:101:18::18/128 [90/10880]
     via FE80::5200:FF:FE12:1, GigabitEthernet0/1
LC  10:101:19::19/128 [0/0]
     via Loopback101, receive
D   101:5:18::/64 [90/15360]
     via FE80::5200:FF:FE12:1, GigabitEthernet0/1
C   101:13:19::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   101:13:19::19/128 [0/0]
     via GigabitEthernet0/0, receive
L   FF00::/8 [0/0]
     via Null0, receive
Powered by Create your own unique website with customizable templates.
  • Home
  • Technology VoD!
    • Cisco >
      • Route & Switch / Enterprise Infrastructure
  • Technology Breakdowns!
    • Route&Switch/Ent. Infra. >
      • L2 Technologies
      • L3 Technologies
      • VPN Technologies
      • Services >
        • IOS - Dynamic NAT
        • HSRP - IPv4 Setup
        • HSRP - Priority and Preemption
    • Service Provider >
      • IGPs (Interior Gateway Protocols)
      • First Hop Redundancy >
        • HSRP (Hot Standby Router Protocol) >
          • HSRP - IOS/IOS XE Setup
          • HSRP - IOS XR Setup
      • BGP (Border Gateway Protocol)
      • Inter AS Multicast (MSDP)
      • Intra-AS MPLS
      • Inter-AS MPLS
    • Security >
      • IOS Firewall
      • ASA Firewall
      • FirePOWER Threat Defense >
        • FTD - FTD NGFW Device Setup and FMC Integration
      • VPNs >
        • PKI
        • Site to Site VPNs
        • Remote Access VPNs >
          • IOS Remote Access
          • ASA Remote Access
    • Data Center >
      • Nexus 9000v >
        • Nexus 9000v - Enabling Features
        • Nexus 9000v - VLANs and Trunks
        • Nexus 9000v - LACP Port Channels
        • Nexus 9000v - vPC (Virtual Port Channel)
        • Nexus 9000v - OSPFv2
        • Nexus 9000v - VXLAN - Ingress Replication Flood and Learn
        • Nexus 9000v - IP Multicast
        • Nexus 9000v - VxLAN - Multicast Flood and Learn
        • Nexus 9000v - VxLAN - BGP EVPN with Multicast
        • Nexus 9000v - VxLAN - BGP EVPN w/Ingress Replication
        • Nexus 9000v - VxLAN - Inter-VxLAN Routing with BGP EVPN
        • Nexus 9000v - VXLAN - External Routing
      • Nexus 7000v
    • Palo Alto