EBGP segment routing

RP/0/0/CPU0:R1#show run Sat Nov 21 12:02:00.083 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 11:48:44 2020 by admin ! hostname R1 line console exec-timeout 0 0 ! interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 13.1.1.1 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 14.1.1.1 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 13.1.1.3/32 GigabitEthernet0/0/0/0 14.1.1.4/32 GigabitEthernet0/0/0/1 ! ! router bgp 1 bgp router-id 1.1.1.1 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 1.1.1.1/32 route-policy SID(1) allocate-label all ! address-family vpnv4 unicast retain route-target all ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 5.5.5.5 remote-as 5 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out next-hop-unchanged ! ! neighbor 8.8.8.8 remote-as 8 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out next-hop-unchanged ! ! neighbor 13.1.1.3 remote-as 3 use neighbor-group EBGP ! neighbor 14.1.1.4 remote-as 4 use neighbor-group EBGP ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R2(config-bgp)#show run Sat Nov 21 12:02:44.220 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 11:48:38 2020 by admin ! hostname R2 line console exec-timeout 0 0 ! interface Loopback0 ipv4 address 2.2.2.2 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 24.1.1.2 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 23.1.1.2 255.255.255.0 ! ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 23.1.1.3/32 GigabitEthernet0/0/0/1 24.1.1.4/32 GigabitEthernet0/0/0/0 ! ! router bgp 2 bgp router-id 2.2.2.2 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 2.2.2.2/32 route-policy SID(2) allocate-label all ! address-family vpnv4 unicast retain route-target all ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 5.5.5.5 remote-as 5 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out next-hop-unchanged ! ! neighbor 8.8.8.8 remote-as 8 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out next-hop-unchanged ! ! neighbor 23.1.1.3 remote-as 3 use neighbor-group EBGP ! neighbor 24.1.1.4 remote-as 4 use neighbor-group EBGP ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R3# show run Sat Nov 21 12:03:07.908 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 10:15:31 2020 by admin ! hostname R3 line console exec-timeout 0 0 ! interface Loopback0 ipv4 address 3.3.3.3 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 13.1.1.3 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 23.1.1.3 255.255.255.0 ! interface GigabitEthernet0/0/0/2 ipv4 address 35.1.1.3 255.255.255.0 ! interface GigabitEthernet0/0/0/3 ipv4 address 36.1.1.3 255.255.255.0 ! interface GigabitEthernet0/0/0/4 ipv4 address 37.1.1.3 255.255.255.0 ! interface GigabitEthernet0/0/0/5 ipv4 address 38.1.1.3 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 13.1.1.1/32 GigabitEthernet0/0/0/0 23.1.1.2/32 GigabitEthernet0/0/0/1 35.1.1.5/32 GigabitEthernet0/0/0/2 36.1.1.6/32 GigabitEthernet0/0/0/3 37.1.1.7/32 GigabitEthernet0/0/0/4 38.1.1.8/32 GigabitEthernet0/0/0/5 ! ! router bgp 3 bgp router-id 3.3.3.3 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 3.3.3.3/32 route-policy SID(3) allocate-label all ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 13.1.1.1 remote-as 1 use neighbor-group EBGP ! neighbor 23.1.1.2 remote-as 2 use neighbor-group EBGP ! neighbor 35.1.1.5 remote-as 5 use neighbor-group EBGP ! neighbor 36.1.1.6 remote-as 6 use neighbor-group EBGP ! neighbor 37.1.1.7 remote-as 7 use neighbor-group EBGP ! neighbor 38.1.1.8 remote-as 8 use neighbor-group EBGP ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R4#show run Sat Nov 21 12:03:25.017 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 10:16:02 2020 by admin ! hostname R4 line console exec-timeout 0 0 ! interface Loopback0 ipv4 address 4.4.4.4 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 24.1.1.4 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 14.1.1.4 255.255.255.0 ! interface GigabitEthernet0/0/0/2 ipv4 address 45.1.1.4 255.255.255.0 ! interface GigabitEthernet0/0/0/3 ipv4 address 46.1.1.4 255.255.255.0 ! interface GigabitEthernet0/0/0/4 ipv4 address 47.1.1.4 255.255.255.0 ! interface GigabitEthernet0/0/0/5 ipv4 address 48.1.1.4 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 14.1.1.1/32 GigabitEthernet0/0/0/1 24.1.1.2/32 GigabitEthernet0/0/0/0 45.1.1.5/32 GigabitEthernet0/0/0/2 46.1.1.6/32 GigabitEthernet0/0/0/3 47.1.1.7/32 GigabitEthernet0/0/0/4 48.1.1.8/32 GigabitEthernet0/0/0/5 ! ! router bgp 4 bgp router-id 4.4.4.4 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 4.4.4.4/32 route-policy SID(4) allocate-label all ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 14.1.1.1 remote-as 1 use neighbor-group EBGP ! neighbor 24.1.1.2 remote-as 2 use neighbor-group EBGP ! neighbor 45.1.1.5 remote-as 5 use neighbor-group EBGP ! neighbor 46.1.1.6 remote-as 6 use neighbor-group EBGP ! neighbor 47.1.1.7 remote-as 7 use neighbor-group EBGP ! neighbor 48.1.1.8 remote-as 8 use neighbor-group EBGP ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R5# show run Sat Nov 21 12:03:45.416 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 11:52:54 2020 by admin ! hostname R5 vrf A address-family ipv4 unicast import route-target 1:1 ! export route-target 1:1 ! ! ! line console exec-timeout 0 0 ! interface Loopback0 ipv4 address 5.5.5.5 255.255.255.255 ! interface Loopback1 vrf A ipv4 address 55.55.55.55 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 35.1.1.5 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 45.1.1.5 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 35.1.1.3/32 GigabitEthernet0/0/0/0 45.1.1.4/32 GigabitEthernet0/0/0/1 ! ! router bgp 5 bgp router-id 5.5.5.5 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 5.5.5.5/32 route-policy SID(5) allocate-label all ! address-family vpnv4 unicast ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 1.1.1.1 remote-as 1 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out ! ! neighbor 2.2.2.2 remote-as 2 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out ! ! neighbor 35.1.1.3 remote-as 3 use neighbor-group EBGP ! neighbor 45.1.1.4 remote-as 4 use neighbor-group EBGP ! vrf A rd auto bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 55.55.55.55/32 ! ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R6#show run Sat Nov 21 12:04:04.694 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 10:16:43 2020 by admin ! hostname R6 line console exec-timeout 0 0 ! interface Loopback0 ipv4 address 6.6.6.6 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 36.1.1.6 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 46.1.1.6 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 36.1.1.3/32 GigabitEthernet0/0/0/0 46.1.1.4/32 GigabitEthernet0/0/0/1 ! ! router bgp 6 bgp router-id 6.6.6.6 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 6.6.6.6/32 route-policy SID(6) allocate-label all ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 36.1.1.3 remote-as 3 use neighbor-group EBGP ! neighbor 46.1.1.4 remote-as 4 use neighbor-group EBGP ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R7#show run Sat Nov 21 12:04:23.523 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 10:17:03 2020 by admin ! hostname R7 interface Loopback0 ipv4 address 7.7.7.7 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 37.1.1.7 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 47.1.1.7 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 37.1.1.3/32 GigabitEthernet0/0/0/0 47.1.1.4/32 GigabitEthernet0/0/0/1 ! ! router bgp 7 bgp router-id 7.7.7.7 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 7.7.7.7/32 route-policy SID(7) allocate-label all ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 37.1.1.3 remote-as 3 use neighbor-group EBGP ! neighbor 47.1.1.4 remote-as 4 use neighbor-group EBGP ! ! segment-routing global-block 16000 23999 ! end
RP/0/0/CPU0:R8#show run Sat Nov 21 12:04:40.452 UTC Building configuration... !! IOS XR Configuration 6.1.3 !! Last configuration change at Sat Nov 21 11:53:07 2020 by admin ! hostname R8 vrf A address-family ipv4 unicast import route-target 1:1 ! export route-target 1:1 ! ! ! interface Loopback0 ipv4 address 8.8.8.8 255.255.255.255 ! interface Loopback1 vrf A ipv4 address 88.88.88.88 255.255.255.255 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 38.1.1.8 255.255.255.0 ! interface GigabitEthernet0/0/0/1 ipv4 address 48.1.1.8 255.255.255.0 ! route-policy SID($SID) set label-index $SID end-policy ! route-policy pass pass end-policy ! router static address-family ipv4 unicast 38.1.1.3/32 GigabitEthernet0/0/0/0 48.1.1.4/32 GigabitEthernet0/0/0/1 ! ! router bgp 8 bgp router-id 8.8.8.8 bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 8.8.8.8/32 route-policy SID(8) allocate-label all ! address-family vpnv4 unicast ! neighbor-group EBGP address-family ipv4 labeled-unicast route-policy pass in route-policy pass out ! ! neighbor 1.1.1.1 remote-as 1 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out ! ! neighbor 2.2.2.2 remote-as 2 ebgp-multihop 255 update-source Loopback0 address-family vpnv4 unicast route-policy pass in route-policy pass out ! ! neighbor 38.1.1.3 remote-as 3 use neighbor-group EBGP ! neighbor 48.1.1.4 remote-as 4 use neighbor-group EBGP ! vrf A rd auto bgp bestpath as-path multipath-relax address-family ipv4 unicast maximum-paths ebgp 16 network 88.88.88.88/32 ! ! ! segment-routing global-block 16000 23999 ! end
Underlay
RP/0/0/CPU0:R8#show bgp ipv4 all 5.5.5.5
Sat Nov 21 12:07:15.801 UTC
Address Family: VPNv4 Unicast
-----------------------------
% Network not in table
Address Family: IPv4 Labeled-unicast
------------------------------------
BGP routing table entry for 5.5.5.5/32
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                 34          34
    Local Label: 16005
Last Modified: Nov 21 11:53:45.857 for 00:13:30
Paths: (2 available, best #1)
  Advertised to update-groups (with more than one peer):
    0.2 
  Path #1: Received by speaker 0
  Advertised to update-groups (with more than one peer):
    0.2 
  3 5
    38.1.1.3 from 38.1.1.3 (3.3.3.3)
      Received Label 16005
      Origin IGP, localpref 100, valid, external, best, group-best, multipath
      Received Path ID 0, Local Path ID 0, version 34
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #2: Received by speaker 0
  Not advertised to any peer
  4 5
    48.1.1.4 from 48.1.1.4 (4.4.4.4)
      Received Label 16005
      Origin IGP, localpref 100, valid, external, multipath
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
Address Family: IPv4 Unicast
----------------------------
BGP routing table entry for 5.5.5.5/32
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                 34          34
    Local Label: 16005
Last Modified: Nov 21 11:53:45.857 for 00:13:30
Paths: (2 available, best #1)
  Advertised to update-groups (with more than one peer):
    0.2 
  Path #1: Received by speaker 0
  Advertised to update-groups (with more than one peer):
    0.2 
  3 5
    38.1.1.3 from 38.1.1.3 (3.3.3.3)
      Received Label 16005
      Origin IGP, localpref 100, valid, external, best, group-best, multipath
      Received Path ID 0, Local Path ID 0, version 34
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #2: Received by speaker 0
  Not advertised to any peer
  4 5
    48.1.1.4 from 48.1.1.4 (4.4.4.4)
      Received Label 16005
      Origin IGP, localpref 100, valid, external, multipath
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
RP/0/0/CPU0:R8#   show route 5.5.5.5/32           
Sat Nov 21 12:08:10.657 UTC
Routing entry for 5.5.5.5/32
  Known via "bgp 8", distance 20, metric 0, [ei]-bgp, labeled unicast (3107), labeled SR
  Tag 3, type external
  Installed Nov 21 11:53:46.187 for 00:14:24
  Routing Descriptor Blocks
    38.1.1.3, from 38.1.1.3, BGP external, BGP multi path
      Route metric is 0
    48.1.1.4, from 48.1.1.4, BGP external, BGP multi path
      Route metric is 0
  No advertising protos. 
RP/0/0/CPU0:R8#show cef 5.5.5.5/32
Sat Nov 21 12:08:36.556 UTC
5.5.5.5/32, version 93, internal 0x1000001 0x80 (ptr 0xa1400274) [1], 0x0 (0xa13cb6c8), 0xa08 (0xa177a100)
 Updated Nov 21 11:53:46.207
 Prefix Len 32, traffic index 0, precedence n/a, priority 4
   via 38.1.1.3/32, 5 dependencies, recursive, bgp-ext, bgp-multipath [flags 0x60a0]
    path-idx 0 NHID 0x0 [0xa15eb4f4 0x0]
    recursion-via-/32
    next hop 38.1.1.3/32 via 24000/0/21
     local label 16005 
     next hop 38.1.1.3/32 Gi0/0/0/0    labels imposed {ImplNull 16005}
   via 48.1.1.4/32, 5 dependencies, recursive, bgp-ext, bgp-multipath [flags 0x60a0]
    path-idx 1 NHID 0x0 [0xa15eb5f4 0x0]
    recursion-via-/32
    next hop 48.1.1.4/32 via 24001/0/21
     local label 16005 
     next hop 48.1.1.4/32 Gi0/0/0/1    labels imposed {ImplNull 16005}
RP/0/0/CPU0:R8#show mpls forwarding 
Sat Nov 21 12:09:15.473 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes       
Label  Label       or ID              Interface                    Switched    
------ ----------- ------------------ ------------ --------------- ------------
16001  16001       SR Pfx (idx 1)     Gi0/0/0/0    38.1.1.3        0           
       16001       SR Pfx (idx 1)     Gi0/0/0/1    48.1.1.4        0           
16002  16002       SR Pfx (idx 2)     Gi0/0/0/0    38.1.1.3        0           
       16002       SR Pfx (idx 2)     Gi0/0/0/1    48.1.1.4        0           
16003  Pop         SR Pfx (idx 3)     Gi0/0/0/0    38.1.1.3        0           
16004  Pop         SR Pfx (idx 4)     Gi0/0/0/1    48.1.1.4        0           
16005  16005       SR Pfx (idx 5)     Gi0/0/0/0    38.1.1.3        0           
       16005       SR Pfx (idx 5)     Gi0/0/0/1    48.1.1.4        0           
16006  16006       SR Pfx (idx 6)     Gi0/0/0/0    38.1.1.3        0           
       16006       SR Pfx (idx 6)     Gi0/0/0/1    48.1.1.4        0           
16007  16007       SR Pfx (idx 7)     Gi0/0/0/0    38.1.1.3        0           
       16007       SR Pfx (idx 7)     Gi0/0/0/1    48.1.1.4        0           
24000  Pop         38.1.1.3/32        Gi0/0/0/0    38.1.1.3        19792       
24001  Pop         48.1.1.4/32        Gi0/0/0/1    48.1.1.4        134695      
24002  Aggregate   A: Per-VRF Aggr[V] A                            114816      
24003  24002       5.5.5.5:0:55.55.55.55/32   \
                                                   5.5.5.5         0     
RP/0/0/CPU0:R3#show mpls forwarding  
Sat Nov 21 12:10:32.118 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes       
Label  Label       or ID              Interface                    Switched    
------ ----------- ------------------ ------------ --------------- ------------
16001  Pop         SR Pfx (idx 1)     Gi0/0/0/0    13.1.1.1        35002       
16002  Pop         SR Pfx (idx 2)     Gi0/0/0/1    23.1.1.2        2591300     
16004  16004       SR Pfx (idx 4)     Gi0/0/0/0    13.1.1.1        0           
       16004       SR Pfx (idx 4)     Gi0/0/0/1    23.1.1.2        0           
       16004       SR Pfx (idx 4)     Gi0/0/0/2    35.1.1.5        0           
       16004       SR Pfx (idx 4)     Gi0/0/0/3    36.1.1.6        0           
       16004       SR Pfx (idx 4)     Gi0/0/0/4    37.1.1.7        0           
       16004       SR Pfx (idx 4)     Gi0/0/0/5    38.1.1.8        0           
16005  Pop         SR Pfx (idx 5)     Gi0/0/0/2    35.1.1.5        2525        
16006  Pop         SR Pfx (idx 6)     Gi0/0/0/3    36.1.1.6        0           
16007  Pop         SR Pfx (idx 7)     Gi0/0/0/4    37.1.1.7        0           
16008  Pop         SR Pfx (idx 8)     Gi0/0/0/5    38.1.1.8        11747864    
24000  Pop         13.1.1.1/32        Gi0/0/0/0    13.1.1.1        9871        
24001  Pop         23.1.1.2/32        Gi0/0/0/1    23.1.1.2        22349       
24002  Pop         35.1.1.5/32        Gi0/0/0/2    35.1.1.5        28373       
24003  Pop         36.1.1.6/32        Gi0/0/0/3    36.1.1.6        12913       
24004  Pop         37.1.1.7/32        Gi0/0/0/4    37.1.1.7        641753      
24005  Pop         38.1.1.8/32        Gi0/0/0/5    38.1.1.8        7389120     
RP/0/0/CPU0:R3#show bgp ipv4 unicast 5.5.5.5/32 
Sat Nov 21 12:11:10.365 UTC
BGP routing table entry for 5.5.5.5/32
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                 24          24
    Local Label: 16005
Last Modified: Nov 21 11:53:25.847 for 00:17:44
Paths: (1 available, best #1)
  Advertised to update-groups (with more than one peer):
    0.2 
  Path #1: Received by speaker 0
  Advertised to update-groups (with more than one peer):
    0.2 
  5
    35.1.1.5 from 35.1.1.5 (5.5.5.5)
      Received Label 3
      Origin IGP, metric 0, localpref 100, valid, external, best, group-best
      Received Path ID 0, Local Path ID 0, version 24
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
RP/0/0/CPU0:R3#show route 5.5.5.5/32
Sat Nov 21 12:11:27.764 UTC
Routing entry for 5.5.5.5/32
  Known via "bgp 3", distance 20, metric 0, [ei]-bgp, labeled unicast (3107), labeled SR
  Tag 5, type external
  Installed Nov 21 11:53:25.548 for 00:18:02
  Routing Descriptor Blocks
    35.1.1.5, from 35.1.1.5, BGP external
      Route metric is 0
  No advertising protos. 
RP/0/0/CPU0:R3#show cef 5.5.5.5/32  
Sat Nov 21 12:11:34.764 UTC
5.5.5.5/32, version 99, internal 0x1000001 0x80 (ptr 0xa1400874) [1], 0x0 (0xa13cb950), 0xa00 (0xa15832a8)
 Updated Nov 21 11:53:25.569
 Prefix Len 32, traffic index 0, precedence n/a, priority 4
   via 35.1.1.5/32, 3 dependencies, recursive, bgp-ext [flags 0x6020]
    path-idx 0 NHID 0x0 [0xa14003f4 0xa15eb6f4]
    recursion-via-/32
    next hop 35.1.1.5/32 via 35.1.1.5/32
     local label 16005 
     next hop 35.1.1.5/32 Gi0/0/0/2    labels imposed {ImplNull ImplNull}
RP/0/0/CPU0:R4#show mpls forwarding 
Sat Nov 21 12:12:09.711 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes       
Label  Label       or ID              Interface                    Switched    
------ ----------- ------------------ ------------ --------------- ------------
16001  Pop         SR Pfx (idx 1)     Gi0/0/0/1    14.1.1.1        5396        
16002  Pop         SR Pfx (idx 2)     Gi0/0/0/0    24.1.1.2        19328       
16003  16003       SR Pfx (idx 3)     Gi0/0/0/1    14.1.1.1        0           
       16003       SR Pfx (idx 3)     Gi0/0/0/0    24.1.1.2        0           
       16003       SR Pfx (idx 3)     Gi0/0/0/2    45.1.1.5        0           
       16003       SR Pfx (idx 3)     Gi0/0/0/3    46.1.1.6        0           
       16003       SR Pfx (idx 3)     Gi0/0/0/4    47.1.1.7        0           
       16003       SR Pfx (idx 3)     Gi0/0/0/5    48.1.1.8        0           
16005  Pop         SR Pfx (idx 5)     Gi0/0/0/2    45.1.1.5        120463      
16006  Pop         SR Pfx (idx 6)     Gi0/0/0/3    46.1.1.6        0           
16007  Pop         SR Pfx (idx 7)     Gi0/0/0/4    47.1.1.7        0           
16008  Pop         SR Pfx (idx 8)     Gi0/0/0/5    48.1.1.8        229330      
24000  Pop         14.1.1.1/32        Gi0/0/0/1    14.1.1.1        19557       
24001  Pop         24.1.1.2/32        Gi0/0/0/0    24.1.1.2        15592       
24002  Pop         45.1.1.5/32        Gi0/0/0/2    45.1.1.5        140730      
24003  Pop         46.1.1.6/32        Gi0/0/0/3    46.1.1.6        14049       
24004  Pop         47.1.1.7/32        Gi0/0/0/4    47.1.1.7        641802      
24005  Pop         48.1.1.8/32        Gi0/0/0/5    48.1.1.8        813024      
RP/0/0/CPU0:R4#show bgp ipv4 unicast 5.5.5.5/32
Sat Nov 21 12:13:03.597 UTC
BGP routing table entry for 5.5.5.5/32
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                 32          32
    Local Label: 16005
Last Modified: Nov 21 11:53:02.849 for 00:20:00
Paths: (6 available, best #3)
  Advertised to update-groups (with more than one peer):
    0.2 
  Path #1: Received by speaker 0
  Not advertised to any peer
  1 3 5
    14.1.1.1 from 14.1.1.1 (1.1.1.1)
      Received Label 16005
      Origin IGP, localpref 100, valid, external
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #2: Received by speaker 0
  Not advertised to any peer
  2 3 5
    24.1.1.2 from 24.1.1.2 (2.2.2.2)
      Received Label 16005
      Origin IGP, localpref 100, valid, external
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #3: Received by speaker 0
  Advertised to update-groups (with more than one peer):
    0.2 
  5
    45.1.1.5 from 45.1.1.5 (5.5.5.5)
      Received Label 3
      Origin IGP, metric 0, localpref 100, valid, external, best, group-best
      Received Path ID 0, Local Path ID 0, version 32
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #4: Received by speaker 0
  Not advertised to any peer
  6 3 5
    46.1.1.6 from 46.1.1.6 (6.6.6.6)
      Received Label 16005
      Origin IGP, localpref 100, valid, external
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #5: Received by speaker 0
  Not advertised to any peer
  7 3 5
    47.1.1.7 from 47.1.1.7 (7.7.7.7)
      Received Label 16005
      Origin IGP, localpref 100, valid, external
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
  Path #6: Received by speaker 0
  Not advertised to any peer
  8 3 5
    48.1.1.8 from 48.1.1.8 (8.8.8.8)
      Received Label 16005
      Origin IGP, localpref 100, valid, external
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
      Prefix SID Attribute Size: 10
      Label Index: 5
RP/0/0/CPU0:R4#            show route 5.5.5.5/32
Sat Nov 21 12:13:55.704 UTC
Routing entry for 5.5.5.5/32
  Known via "bgp 4", distance 20, metric 0, [ei]-bgp, labeled unicast (3107), labeled SR
  Tag 5, type external
  Installed Nov 21 11:53:02.640 for 00:20:53
  Routing Descriptor Blocks
    45.1.1.5, from 45.1.1.5, BGP external
      Route metric is 0
  No advertising protos. 
RP/0/0/CPU0:R4#            show cef 5.5.5.5/32  
Sat Nov 21 12:14:06.883 UTC
5.5.5.5/32, version 138, internal 0x1000001 0x80 (ptr 0xa1400874) [1], 0x0 (0xa13cbab8), 0xa00 (0xa1583280)
 Updated Nov 21 11:53:02.659
 Prefix Len 32, traffic index 0, precedence n/a, priority 4
   via 45.1.1.5/32, 3 dependencies, recursive, bgp-ext [flags 0x6020]
    path-idx 0 NHID 0x0 [0xa14003f4 0xa15eb9f4]
    recursion-via-/32
    next hop 45.1.1.5/32 via 45.1.1.5/32
     local label 16005 
     next hop 45.1.1.5/32 Gi0/0/0/2    labels imposed {ImplNull ImplNull}
Overlay
RP/0/0/CPU0:R8# show bgp vpnv4 unicast vrf A 55.55.55.55/32
Sat Nov 21 12:15:18.818 UTC
BGP routing table entry for 55.55.55.55/32, Route Distinguisher: 8.8.8.8:0
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                 37          37
Last Modified: Nov 21 11:54:29.857 for 00:20:49
Paths: (1 available, best #1)
  Not advertised to any peer
  Path #1: Received by speaker 0
  Not advertised to any peer
  1 5
    5.5.5.5 from 1.1.1.1 (1.1.1.1)
      Received Label 24002
      Origin IGP, localpref 100, valid, external, best, group-best, import-candidate, imported
      Received Path ID 0, Local Path ID 0, version 37
      Extended community: RT:1:1 
      Source AFI: VPNv4 Unicast, Source VRF: default, Source Route Distinguisher: 5.5.5.5:0
RP/0/0/CPU0:R8#show route vrf A 55.55.55.55/32
Sat Nov 21 12:15:55.586 UTC
Routing entry for 55.55.55.55/32
  Known via "bgp 8", distance 20, metric 0
  Tag 1, type external
  Installed Nov 21 11:54:30.194 for 00:21:25
  Routing Descriptor Blocks
    5.5.5.5, from 1.1.1.1, BGP external
      Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id: 0xe0000000
      Route metric is 0
  No advertising protos. 
RP/0/0/CPU0:R8#show cef vrf A 55.55.55.55/32
Sat Nov 21 12:16:21.174 UTC
55.55.55.55/32, version 19, internal 0x1000001 0x0 (ptr 0xa14000f4) [1], 0x0 (0x0), 0x208 (0xa1583280)
 Updated Nov 21 11:54:30.214
 Prefix Len 32, traffic index 0, precedence n/a, priority 3
   via 5.5.5.5/32, 5 dependencies, recursive, bgp-ext [flags 0x6020]
    path-idx 0 NHID 0x0 [0xa15ec174 0x0]
    recursion-via-/32
    next hop VRF - 'default', table - 0xe0000000
    next hop 5.5.5.5/32 via 16005/0/21
     next hop 38.1.1.3/32 Gi0/0/0/0    labels imposed {ImplNull 16005 24002}
     next hop 48.1.1.4/32 Gi0/0/0/1    labels imposed {ImplNull 16005 24002}

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号