Segment Routing v6 Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Segment Routing v6 Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure BGP global IPv4 Over SRv6 with Per-CE SID allocation mode

Want to summarize with AI?

Log in

Provides BGP configuration for allocating per-CE SIDs to IPv4 global routes and establishing SRv6 connectivity between BGP neighbors and customer-edge devices.


Procedure

Configure BGP global IPv4 over SRv6 with per-CE SID allocation.

Example:

router bgp 1
 bgp router-id 10.1.0.1
 address-family ipv4 unicast
  segment-routing srv6
   alloc mode per-ce  
  !
 !
 neighbor 60::2
  remote-as 1
  update-source Loopback1
  address-family ipv4 unicast
   route-policy passall in
   encapsulation-type srv6
   route-policy passall out
  !
 !
 neighbor 52.52.52.1
  remote-as 3
  address-family ipv4 unicast
   route-policy passall in
   route-policy passall out
  !
 !
!