Carrier Supporting Carrier: CustC Runs an L3VPN for CustE over SP-B

Carrier Supporting Carrier (CsC) lets a provider carry the network of another provider over an L3VPN. The other provider, the customer carrier, can run its own VPN services for its own customers. The provider’s PE and the customer carrier’s CE exchange labels for the routes inside the customer carrier’s network.

CustC has been an L3VPN customer of SP-B since the L3VPN post, with AS 64530, CustC-Core2 behind B-PE1 and CustC-Core3 behind B-PE2. In this stage, CustC becomes the customer carrier. Core2 and Core3 receive labels from B-PE1 and B-PE2 over BGP labelled unicast on the IPv4 PE-CE sessions, and run an L3VPN between them for a new customer, CustE.

CustE has no CE routers. We simulate its two sites with a loopback in VRF CustE on Core2 and another on Core3.

At the end of the stage, Core2’s traceroute from its CustE loopback to Core3’s looks as below. Hop 2, B-P1, receives three labels:

CustC-Core2#traceroute vrf CustE 10.50.0.3 source Loopback50
Type escape sequence to abort.
Tracing the route to 10.50.0.3
VRF info: (vrf in name/id, vrf out name/id)
  1 10.2.12.1 [MPLS: Labels 24020/17 Exp 0] 6 msec 5 msec 8 msec
  2 10.2.1.21 [MPLS: Labels 16650/24011/17 Exp 0] 6 msec 11 msec 8 msec
  3 10.2.1.50 [MPLS: Labels 24011/17 Exp 0] 5 msec 10 msec 8 msec
  4 10.50.0.3 5 msec 4 msec * 

Topology file: topology.clab.yml · Addressing: ipam.md · Stage configs, 4 nodes (B-PE1, B-PE2, CustC-Core2, CustC-Core3): stage_configs/lab04-s4a-csc/

BGP, PCEP and IS-IS sessions between CustC-Core2, B-PE1, B-RR, B-PE2 and CustC-Core3, with what each session advertises for Core3's routes

Labelled Unicast on B-PE1 and B-PE2

B-PE1’s CustC neighbor, Core2 at 10.2.12.2, gets the IPv4 labelled-unicast address family:

router bgp 64502
 vrf CustC
  address-family ipv4 unicast
   allocate-label all
  !
  neighbor 10.2.12.2
   no address-family ipv4 unicast
   address-family ipv4 labeled-unicast
    route-policy PASS in
    route-policy PASS out
    as-override
   !
  !
 !
!

The full file is B-PE1.ios.

allocate-label all under the VRF’s address family gives B-PE1 a local label for each CustC route in the VRF’s BGP table. Without it, IOS-XR sends no route in the labelled-unicast address family. no address-family ipv4 unicast removes the old address family from the neighbor. IOS-XR does not support unicast and labelled unicast on the same session in a VRF other than the default.

route-policy PASS and as-override move into the new address family. CustC uses AS 64530 at every site, and as-override replaces it with 64502 in the routes B-PE1 sends to Core2, as in the L3VPN post.

B-PE2 has the same configuration for Core3 at 10.2.12.6. The IPv6 neighbors are unchanged.

Labelled Unicast on Core2 and Core3

On the CE side, Core2 has send-label for B-PE1 under the IPv4 address family, and Core3 has the same for B-PE2, 10.2.12.5:

router bgp 64530
 address-family ipv4
  neighbor 10.2.12.1 send-label
 exit-address-family

As on the ASBRs in the Option B post, IOS-XE adds mpls bgp forwarding to Gi2 by itself when the labelled eBGP session comes up:

CustC-Core2#show mpls interfaces
Interface              IP            Tunnel   BGP Static Operational
GigabitEthernet2       No            No       Yes No     Yes        

Core2 now has a label from B-PE1 for each of the other two CustC loopbacks: 24020 for Core3’s, 10.30.0.3, and 24019 for 10.30.0.1, the loopback of CustC-Core1, CustC’s third site behind A-PE2 in SP-A. Its own loopback has imp-null:

CustC-Core2#show bgp ipv4 unicast labels
   Network          Next Hop      In label/Out label
   10.30.0.1/32     10.2.12.1       nolabel/24019
   10.30.0.2/32     0.0.0.0         imp-null/nolabel
   10.30.0.3/32     10.2.12.1       18/24020

For Core3’s loopback, B-PE1 receives label 24011 over VPNv4 from B-PE2, 10.2.0.6, through B-RR, 10.2.0.7. It imports the route into VRF CustC, allocates local label 24020 and advertises the route to Core2, 10.2.12.2:

! the version, last-modified and path-ID lines are trimmed
RP/0/RP0/CPU0:B-PE1#show bgp vrf CustC ipv4 unicast 10.30.0.3/32
Sun Aug  9 18:01:01.300 UTC
BGP routing table entry for 10.30.0.3/32, Route Distinguisher: 10.2.0.5:30
    Local Label: 24020
Paths: (1 available, best #1)
  Advertised to CE peers (in unique update groups):
    10.2.12.2       
  Path #1: Received by speaker 0
  Advertised to CE peers (in unique update groups):
    10.2.12.2       
  64530
    10.2.0.6 C:128 (bsid:24014) (metric 30) from 10.2.0.7 (10.2.0.6)
      Received Label 24011 
      Origin IGP, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, imported
      Extended community: Color:128 RT:64502:30 
      Originator: 10.2.0.6, Cluster list: 10.2.0.7
      SR policy color 128, up, registered, bsid 24014, if-handle 0x00000024

With only the labelled-unicast address family on the neighbor, B-PE1’s show bgp vrf CustC ipv4 unicast summary has no row for Core2:

! the VRF ID, router ID, NSR and table version lines are trimmed
RP/0/RP0/CPU0:B-PE1#show bgp vrf CustC ipv4 unicast summary 
Sun Aug  9 17:53:51.466 UTC
BGP VRF CustC, state: Active
BGP Route Distinguisher: 10.2.0.5:30
Process       RcvTblVer   bRIB/RIB   LabelVer  ImportVer  SendTblVer  StandbyVer
Speaker             589        589        589        589         589           0

Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd

Core2’s summary shows the session established, with 2 prefixes received from B-PE1, the loopbacks of Core1 and Core3:

! the table and memory counters are trimmed
CustC-Core2#show bgp ipv4 unicast sum   
BGP router identifier 10.30.0.2, local AS number 64530
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.2.12.1       4        64502      20      20      346    0    0 00:13:13        2

VRF CustE on Core2 and Core3

VRF CustE on Core2 has the route distinguisher 10.30.0.2:50 and the route target 64530:50, with CustC’s own AS number. Core3 has 10.30.0.3:50 and the same route target. Loopback50 is in the VRF, and Core2 has an iBGP session to Core3’s Loopback0 for VPNv4 and VPNv6:

vrf definition CustE
 rd 10.30.0.2:50
 address-family ipv4
  route-target export 64530:50
  route-target import 64530:50
 exit-address-family
 address-family ipv6
  route-target export 64530:50
  route-target import 64530:50
 exit-address-family
!
interface Loopback50
 vrf forwarding CustE
 ip address 10.50.0.2 255.255.255.255
 ipv6 address 2001:DB8:50::2/128
!
router bgp 64530
 neighbor 10.30.0.3 remote-as 64530
 neighbor 10.30.0.3 update-source Loopback0
 address-family vpnv4
  neighbor 10.30.0.3 activate
  neighbor 10.30.0.3 send-community extended
 exit-address-family
 address-family vpnv6
  neighbor 10.30.0.3 activate
  neighbor 10.30.0.3 send-community extended
 exit-address-family
 address-family ipv4 vrf CustE
  redistribute connected
 exit-address-family
 address-family ipv6 vrf CustE
  redistribute connected
 exit-address-family

IOS-XE has bgp default ipv4-unicast on by default, so the remote-as line for 10.30.0.3 also activates the neighbor in the global IPv4 address family. There, Core2 and Core3 would exchange their loopbacks directly, without labels. no neighbor 10.30.0.3 activate removes it from there:

router bgp 64530
 address-family ipv4
  no neighbor 10.30.0.3 activate
 exit-address-family

Core2 learns Core3’s CustE loopback, 10.50.0.3/32, from 10.30.0.3 and imports it into its own route distinguisher:

! the status and origin legends are trimmed
CustC-Core2#show bgp vpnv4 unicast all     
BGP table version is 388, local router ID is 10.30.0.2
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 10.30.0.2:50 (default for vrf CustE)
 *>   10.50.0.2/32     0.0.0.0                  0         32768 ?
 *>i  10.50.0.3/32     10.30.0.3                0    100      0 ?
Route Distinguisher: 10.30.0.3:50
 *>i  10.50.0.3/32     10.30.0.3                0    100      0 ?

The VPNv6 routes use the same IPv4 session, with the next hop ::FFFF:10.30.0.3:

! the status and origin legends are trimmed
CustC-Core2#show bgp vpnv6 unicast all
BGP table version is 380, local router ID is 10.30.0.2
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 10.30.0.2:50 (default for vrf CustE)
 *>   2001:DB8:50::2/128
                      ::                       0         32768 ?
 *>i  2001:DB8:50::3/128
                      ::FFFF:10.30.0.3
                                                0    100      0 ?
Route Distinguisher: 10.30.0.3:50
 *>i  2001:DB8:50::3/128
                      ::FFFF:10.30.0.3
                                                0    100      0 ?

Only the IPv4 PE-CE sessions carry labels, so the IPv6 CustE traffic follows the same labelled IPv4 path to 10.30.0.3.

The Path of a CustE Packet

Core2’s traceroute shows the label stack each hop receives:

CustC-Core2#traceroute vrf CustE 10.50.0.3 source Loopback50
Type escape sequence to abort.
Tracing the route to 10.50.0.3
VRF info: (vrf in name/id, vrf out name/id)
  1 10.2.12.1 [MPLS: Labels 24020/17 Exp 0] 6 msec 5 msec 8 msec
  2 10.2.1.21 [MPLS: Labels 16650/24011/17 Exp 0] 6 msec 11 msec 8 msec
  3 10.2.1.50 [MPLS: Labels 24011/17 Exp 0] 5 msec 10 msec 8 msec
  4 10.50.0.3 5 msec 4 msec * 
CustE traffic from Core2 to Core3 through B-PE1, B-P1 and B-PE2, with the label stack on each link and each router's action

Core2 resolves Core3’s CustE loopback through Core3’s Loopback0 with label 17, Core3’s VPN label for 10.50.0.3/32. It resolves 10.30.0.3 through B-PE1 and sends the packet out Gi2 with 24020 on top of 17:

CustC-Core2#show ip cef vrf CustE 10.50.0.3 detail
10.50.0.3/32, epoch 0, flags [rib defined all labels]
  recursive via 10.30.0.3 label 17
    recursive via 10.2.12.1 label 24020-(local:18)
      attached to GigabitEthernet2

Hop 1, B-PE1, receives {24020, 17} on Gi0/0/0/3. Its forwarding entry swaps 24020 for 24011, B-PE2’s VPN label for 10.30.0.3/32 in VRF CustC, with the next hop 10.2.0.6, B-PE2’s Loopback0:

! trimmed to label 24020
RP/0/RP0/CPU0:B-PE1#show mpls forwarding vrf CustC
Mon Aug 10 01:16:36.140 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes       
Label  Label       or ID              Interface                    Switched    
------ ----------- ------------------ ------------ --------------- ------------
24020  24011       10.30.0.3/32[V]                 10.2.0.6        0           

B-PE1’s CEF entry for 10.30.0.3/32 resolves through local label 24014 and the colour-128 SR policy, srte_c_128_e, with 24011 under it:

! trimmed to the route, the recursion and the imposed labels
RP/0/RP0/CPU0:B-PE1#show cef vrf CustC 10.30.0.3/32
Sun Aug  9 18:01:23.679 UTC
10.30.0.3/32, version 378, internal 0x1000001 0x30 (ptr 0xe709ff0) [1], 0x600 (0xdb79cc8), 0xa08 (0xf689ca8)
   via local-label 24014, 5 dependencies, recursive [flags 0x6000]
    recursion-via-label
    next hop via 24014/0/21
     local label 24020 
     next hop srte_c_128_e labels imposed {ImplNull 24011}

24014 is the binding SID of B-PE1’s colour-128 policy to 10.2.0.6. Core3’s loopback route, 10.30.0.3/32, has carried colour 128 since the SR-TE post, so the CustE packets labelled for it take the same policy. The policy’s active path comes from the PCE, B-RR at 10.2.0.7, and has one segment, 16650, B-PE2’s algorithm-128 prefix-SID:

! trimmed to the colour-128 policy's active path and binding SID
RP/0/RP0/CPU0:B-PE1#show segment-routing traffic-eng policy
Mon Aug 10 01:19:17.206 UTC
Color: 128, End-point: 10.2.0.6
  Name: srte_c_128_ep_10.2.0.6
    Preference: 100 (BGP ODN) (active)
      Dynamic (pce 10.2.0.7) (valid)
          16650 [Prefix-SID, 10.2.0.6]
  Attributes:
    Binding SID: 24014

B-PE1 pushes the policy’s segment, 16650, on top of 24011. Hop 2, B-P1, receives {16650, 24011, 17} on Gi0/0/0/3. Two of the three labels are SP-B’s, 16650 and 24011, and one is CustC’s, 17. As in the Flex-Algo post, B-P1 pops 16650 toward B-PE2.

Hop 3, B-PE2, receives {24011, 17} on Gi0/0/0/4. Its entry for 24011 removes the label and sends the packet out Gi0/0/0/3 to Core3, 10.2.12.6:

! trimmed to label 24011
RP/0/RP0/CPU0:B-PE2#show mpls forwarding vrf CustC
Mon Aug 10 01:16:59.490 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes       
Label  Label       or ID              Interface                    Switched    
------ ----------- ------------------ ------------ --------------- ------------
24011  Pop         10.30.0.3/32[V]    Gi0/0/0/3    10.2.12.6       678         

Core3 advertises its own loopback to B-PE2 with implicit null, shown as imp-null in Core3’s table:

CustC-Core3#show bgp ipv4 unicast labels
   Network          Next Hop      In label/Out label
   10.30.0.1/32     10.2.12.5       nolabel/24021
   10.30.0.2/32     10.2.12.5       16/24022
   10.30.0.3/32     0.0.0.0         imp-null/nolabel

B-PE2 has a static host route to Core3 in VRF CustC, 10.2.12.6/32 GigabitEthernet0/0/0/3 under router static, and B-PE1 has 10.2.12.2/32 to Core2. B-PE2’s CEF entry for 10.30.0.3/32 resolves through this host route and imposes no label, {ImplNull ImplNull}:

! trimmed to the route, the recursion and the imposed labels
RP/0/RP0/CPU0:B-PE2#show cef vrf CustC 10.30.0.3/32
Sun Aug  9 18:03:00.128 UTC
10.30.0.3/32, version 379, internal 0x1000001 0x30 (ptr 0xe708c18) [1], 0x600 (0xdb78be8), 0xa00 (0xf6832e8)
   via 10.2.12.6/32, 3 dependencies, recursive, bgp-ext [flags 0x6020]
    recursion-via-/32
    next hop 10.2.12.6/32 via 10.2.12.6/32
     local label 24011 
     next hop 10.2.12.6/32 Gi0/0/0/3    labels imposed {ImplNull ImplNull}

IOS-XR resolves the next hop of a labelled BGP route only through a /32 route, shown as recursion-via-/32 in the entry above. It does not create that route for an eBGP peer, so each PE needs a static host route to its CE.

IOS-XE creates the /32 itself for an eBGP peer that exchanges labels. Core3 has a connected host route to B-PE2, 10.2.12.5:

CustC-Core3#show ip route connected | include ^C.*/32
C        10.2.12.5/32 is directly connected, GigabitEthernet2
C        10.30.0.3/32 is directly connected, Loopback0

Hop 4 is Core3, which receives the packet with 17 only and replies from 10.50.0.3. Its entry for 17 pops the label, and aggregate/CustE means an IP lookup in VRF CustE:

CustC-Core3#show mpls forwarding
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
16         24022      10.30.0.2/32     0             Gi2        10.2.12.5   
17         Pop Label  10.50.0.3/32[V]  0             aggregate/CustE 
18         Pop Label  2001:DB8:50::3/128[V]   \
                                       0             aggregate/CustE 

In the other direction, Core3 sends to Core2’s CustE loopback with Core2’s VPN label 16 under B-PE2’s label 24022:

CustC-Core3#show ip cef vrf CustE 10.50.0.2 detail  
10.50.0.2/32, epoch 0, flags [rib defined all labels]
  recursive via 10.30.0.2 label 16
    recursive via 10.2.12.5 label 24022-(local:16)
      attached to GigabitEthernet2

B-PE2 Without the Host Route

To show the IOS-XR behaviour without the host route, I removed the static from B-PE2 later and collected the outputs:

RP/0/RP0/CPU0:B-PE2#conf t
Wed Nov 11 14:44:58.906 UTC
RP/0/RP0/CPU0:B-PE2(config)#router static
RP/0/RP0/CPU0:B-PE2(config-static)#vrf CustC 
RP/0/RP0/CPU0:B-PE2(config-static-vrf)#address-family ipv4 unicast 
RP/0/RP0/CPU0:B-PE2(config-static-vrf-afi)#no 10.2.12.6/32 GigabitEthernet0/0/0/3
RP/0/RP0/CPU0:B-PE2(config-static-vrf-afi)#commit
Wed Nov 11 14:45:19.801 UTC
RP/0/RP0/CPU0:B-PE2(config-static-vrf-afi)#end

The test ran on a later state of the lab, so B-PE2’s local label for 10.30.0.3/32 is 24021 instead of 24011. Without the static, the entry is unresolved and points to a drop adjacency:

! trimmed to the route, the recursion and the imposed labels
RP/0/RP0/CPU0:B-PE2#show cef vrf CustC 10.30.0.3/32
Wed Nov 11 14:45:46.315 UTC
10.30.0.3/32, version 14, drop adjacency, internal 0x1000001 0x30 (ptr 0xe8962c8) [1], 0x600 (0xe289e30), 0xa00 (0xe933828)
   via 10.2.12.6/32, 0 dependencies, recursive, bgp-ext [flags 0x6020]
    recursion-via-/32
    unresolved
     local label 24021 
     labels imposed {ImplNull}

The BGP path from Core3 stays valid and best, and B-PE2 keeps advertising it to B-RR, 10.2.0.7:

! the version, last-modified, path-ID and community lines are trimmed
RP/0/RP0/CPU0:B-PE2#show bgp vrf CustC ipv4 unicast 10.30.0.3/32
Wed Nov 11 14:46:10.203 UTC
BGP routing table entry for 10.30.0.3/32, Route Distinguisher: 10.2.0.6:30
    Local Label: 24021
Paths: (1 available, best #1)
  Advertised to PE peers (in unique update groups):
    10.2.0.7        
  Path #1: Received by speaker 0
  Advertised to PE peers (in unique update groups):
    10.2.0.7        
  64530
    10.2.12.6 from 10.2.12.6 (10.30.0.3)
      Received Label 3 
      Origin IGP, metric 0, localpref 100, valid, external, best, group-best, import-candidate, labeled-unicast

Core2’s CustE ping to Core3 fails:

CustC-Core2#ping vrf CustE 10.50.0.3 source lo50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.50.0.3, timeout is 2 seconds:
Packet sent with a source address of 10.50.0.2 
...
Success rate is 0 percent (0/3)

Then I added the static back:

RP/0/RP0/CPU0:B-PE2#conf t
Wed Nov 11 14:48:08.797 UTC
RP/0/RP0/CPU0:B-PE2(config)#router static 
RP/0/RP0/CPU0:B-PE2(config-static)#vrf CustC
RP/0/RP0/CPU0:B-PE2(config-static-vrf)#address-family ipv4 unicast 
RP/0/RP0/CPU0:B-PE2(config-static-vrf-afi)#10.2.12.6/32 GigabitEthernet 0/0/0/3
RP/0/RP0/CPU0:B-PE2(config-static-vrf-afi)#commit
Wed Nov 11 14:48:35.312 UTC
RP/0/RP0/CPU0:B-PE2(config-static-vrf-afi)#end

Core2’s ping succeeds again:

CustC-Core2#ping vrf CustE 10.50.0.3 source lo50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.50.0.3, timeout is 2 seconds:
Packet sent with a source address of 10.50.0.2 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/5/9 ms

Pings and the Tables in SP-B

Core2 and Core3 ping each other’s CustE loopbacks in both address families:

CustC-Core2#ping vrf CustE 10.50.0.3 source Loopback50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.50.0.3, timeout is 2 seconds:
Packet sent with a source address of 10.50.0.2 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/3/5 ms
CustC-Core2#ping vrf CustE 2001:db8:50::3 source Loopback50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:50::3, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:50::2%CustE
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/6 ms
CustC-Core3#ping vrf CustE 10.50.0.2 source Loopback50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.50.0.2, timeout is 2 seconds:
Packet sent with a source address of 10.50.0.3 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/7 ms
CustC-Core3#ping vrf CustE 2001:db8:50::2 source Loopback50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:50::2, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:50::3%CustE
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/7 ms

In CsC, a CE sends the PE only the customer carrier’s internal routes. Core2 sends B-PE1 its own loopback, the [20/0] route to 10.30.0.2/32 below. B-PE1’s VRF CustC has the three CustC loopbacks and the host route to Core2. CustE’s 10.50.0.0/16 is not in it:

! the codes legend is trimmed
RP/0/RP0/CPU0:B-PE1#show route vrf CustC
Mon Aug 10 01:18:02.930 UTC
C    10.2.12.0/30 is directly connected, 3w3d, GigabitEthernet0/0/0/3
L    10.2.12.1/32 is directly connected, 3w3d, GigabitEthernet0/0/0/3
S    10.2.12.2/32 is directly connected, 10:19:55, GigabitEthernet0/0/0/3
B    10.30.0.1/32 [200/0] via 10.2.0.8 (nexthop in vrf default), 10:21:32
B    10.30.0.2/32 [20/0] via 10.2.12.2, 07:24:51
B    10.30.0.3/32 [200/0] via 10.2.0.6 (nexthop in vrf default), 07:25:45

The IPv6 table has the three CustC loopbacks:

! the codes legend is trimmed
RP/0/RP0/CPU0:B-PE1#show route vrf CustC ipv6 unicast 
Mon Aug 10 01:18:15.290 UTC
C    2001:db8:2:24::/64 is directly connected,
      3w3d, GigabitEthernet0/0/0/3
L    2001:db8:2:24::1/128 is directly connected,
      3w3d, GigabitEthernet0/0/0/3
B    2001:db8:30::1/128 
      [200/0] via ::ffff:10.2.0.8 (nexthop in vrf default), 1w6d
B    2001:db8:30::2/128 
      [20/0] via fe80::e00:faff:febe:b401, 3w3d, GigabitEthernet0/0/0/3
B    2001:db8:30::3/128 
      [200/0] via ::ffff:10.2.0.6 (nexthop in vrf default), 1w6d

B-RR’s VPNv4 table has 13 prefixes. CustC’s loopbacks are under B-PE1’s, B-PE2’s and B-ASBR’s route distinguishers, 10.2.0.5:30, 10.2.0.6:30 and 10.2.0.8:30. CustE’s route distinguishers, 10.30.0.2:50 and 10.30.0.3:50, do not appear:

! the router ID, NSR, table version and legend lines are trimmed
RP/0/RP0/CPU0:B-RR#show bgp vpnv4 unicast 
Mon Aug 10 01:19:07.215 UTC
   Network            Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 10.1.0.5:10
Route Distinguisher Version: 151
*>i10.1.10.0/30       10.2.0.8                 0    100      0 64501 ?
*>i10.10.0.1/32       10.2.0.8                 0    100      0 64501 ?
Route Distinguisher: 10.1.0.5:40
Route Distinguisher Version: 159
*> 10.40.0.1/32       10.1.0.5                               0 64501 ?
Route Distinguisher: 10.1.0.6:10
Route Distinguisher Version: 153
*>i10.1.10.4/30       10.2.0.8                 0    100      0 64501 ?
*>i10.10.0.2/32       10.2.0.8                 0    100      0 64501 ?
Route Distinguisher: 10.2.0.5:10
Route Distinguisher Version: 155
*>i10.2.10.0/30       10.2.0.5                 0    100      0 ?
*>i10.10.0.3/32       10.2.0.5                 2    100      0 ?
Route Distinguisher: 10.2.0.5:30
Route Distinguisher Version: 384
*>i10.30.0.2/32       10.2.0.5                 0    100      0 64530 i
Route Distinguisher: 10.2.0.6:30
Route Distinguisher Version: 386
*>i10.30.0.3/32       10.2.0.6                 0    100      0 64530 i
Route Distinguisher: 10.2.0.6:40
Route Distinguisher Version: 160
*>i10.40.0.2/32       10.2.0.6                 0    100      0 ?
Route Distinguisher: 10.2.0.6:60
Route Distinguisher Version: 164
*>i10.60.0.2/32       10.2.0.6                 0    100      0 ?
Route Distinguisher: 10.2.0.8:30
Route Distinguisher Version: 158
*>i10.30.0.1/32       10.2.0.8                 0    100      0 64501 64530 i
Route Distinguisher: 10.2.0.8:60
Route Distinguisher Version: 161
*>i10.60.0.1/32       10.2.0.8                 0    100      0 64501 ?

Processed 13 prefixes, 13 paths

CustC’s Own Traffic

Adding CsC did not break the existing CustC setup. Core2 still reaches Core3’s Loopback0 in both address families:

CustC-Core2#ping 10.30.0.3 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.30.0.3, timeout is 2 seconds:
Packet sent with a source address of 10.30.0.2 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/5/10 ms
CustC-Core2#ping 2001:db8:30::3 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:30::3, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:30::2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/5 ms

Core1 still reaches both cores over Option A. Option A carries CustC’s traffic between the providers as plain IP, and Core1’s route to Core2’s loopback has no label, MPLS label: none. Without a labelled path to Core1, CustE has sites on Core2 and Core3 only:

CustC-Core1#ping 10.30.0.2 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.30.0.2, timeout is 2 seconds:
Packet sent with a source address of 10.30.0.1 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
CustC-Core1#ping 10.30.0.3 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.30.0.3, timeout is 2 seconds:
Packet sent with a source address of 10.30.0.1 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/5/9 ms
CustC-Core1#show ip route 10.30.0.2
Routing entry for 10.30.0.2/32
  Known via "bgp 64530", distance 20, metric 0
  Tag 64501, type external
  Last update from 10.1.12.1 00:09:38 ago
  Routing Descriptor Blocks:
  * 10.1.12.1, from 10.1.12.1, 00:09:38 ago
      Route metric is 0, traffic share count is 1
      AS Hops 3
      Route tag 64501
      MPLS label: none

What’s Next

The next post covers Unified MPLS between SP-A and SP-B.

Leave a Reply