[c-nsp] Segment Routing & BGP Prefix-SID

James Bensley jwbensley at gmail.com
Mon May 22 04:07:18 EDT 2017


On 20 May 2017 at 05:03, Arthur Liew <arthurliew80 at gmail.com> wrote:
> Hi Folks,

Hi,

> Have anyone deployed and tested on IOS-XRv?

What IOS-Xrv version are you using?

> I'm trying on the idea of Cisco ACE with BGP LU (Prefix-SID), with the same
> label index to IGP, but BGP still allocates its own label range (24000
> onwards)
...
> segment-routing global-block 16000 23999

I thought the default was 24000 to 31999 (off the top of my head,
could be wrong), below these are Node SIDs right (for your loopbacks I
presume?), so they are as they should be right, or have I missed
something?

> RP/0/0/CPU0:XRv-1#sh bgp labels
>
> Origin codes: i - IGP, e - EGP, ? - incomplete
>    Network            Next Hop        Rcvd Label      Local Label
> *> 10.0.0.1/32        0.0.0.0         nolabel         3
> *>i10.0.0.2/32        10.0.0.2        3               24005
> *>i10.0.0.3/32        10.0.0.3        3               24004
> *>i10.0.0.4/32        10.0.0.3        24001           24006
> *>i10.0.0.5/32        10.0.0.2        24004           24007
> *>i10.0.0.6/32        10.0.0.2        24006           24008

So can you remove the line:

> segment-routing global-block 16000 23999

And change this to be a BGP-LU session?

> router bgp 9534
>  address-family ipv4 unicast
>   network 10.0.0.1/32 route-policy SID(1)

Change to be "address-family ipv4 label-unicast" - Then does BGP send
NLRIs using the global labels?

It's been a while since I looked at SR so I'm need to brush up!

Also,

> router isis core
>  address-family ipv4 unicast

Do you need "metric-style wide" here?

>   segment-routing mpls sr-prefer
>  !
>  interface Loopback0
>   address-family ipv4 unicast
>    prefix-sid index 1


Cheers,
James.


More information about the cisco-nsp mailing list