cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
445
Views
1
Helpful
3
Replies

Why additional locator for Flex-Algo on SRv6 is not advertised?

Jbr002
Level 1
Level 1

Hi, all. Help me!

I am trying Flex-Algo on SRv6, on XRv9000 with CML.

I configured locator for flex-algo 128 as following.

But other nodes cannot know the locator.

What is the reason? And, how should I fix this issue?

 

[Routing Info on other node]

RP/0/RP0/CPU0:xr9kv-1#show route ipv6 isis | include /128
Fri Jun 28 02:55:32.037 UTC
i L1 2001:10:2::2/128
i L1 2001:10:3::3/128
i L1 2001:10:4::4/128
i L1 2001:10:130::2/128
i L1 2001:10:131::3/128
i L1 2001:10:132::4/128
RP/0/RP0/CPU0:xr9kv-1#show route ipv6 isis | include /48
Fri Jun 28 02:55:34.572 UTC
i L1 2001:10:2::/48
i L1 2001:10:3::/48
i L1 2001:10:4::/48

 

[configuration]


Fri Jun 28 02:55:55.875 UTC
!! Building configuration...
!! IOS XR Configuration 7.11.1
!! Last configuration change at Fri Jun 28 02:55:55 2024 by root123
!
hostname xr9kv-4
logging console disable
username root123
group root-lr
group cisco-support
secret 10 $6$9JuGT0Ziob9x7T0.$4.PsF5Uep30nOyvA3Ds.JkgVYEiFlKdHUM2QtIVxAVMnqCHHeTNOSV9OWZq1G95BvCxO98WWTvfmQgAr6NWkO.
!
username cisco
group root-lr
group cisco-support
password 7 070C285F4D06
!
username admin
group root-lr
group cisco-support
password 7 01100F175804
!
username lab
group root-lr
group cisco-support
password 7 070C285F4D06
!
vrf L3VPN
rd 10.255.0.4:20
address-family ipv4 unicast
import route-target
10.255.0.1:20
!
export route-target
10.255.0.4:20
!
!
address-family ipv6 unicast
import route-target
10.255.0.1:20
!
export route-target
10.255.0.4:20
!
!
!
address-family ipv6 unicast
!
line console
exec-timeout 0 0
absolute-timeout 0
session-timeout 0
!
line default
exec-timeout 0 0
absolute-timeout 0
session-timeout 0
!
call-home
service active
contact smart-licensing
profile CiscoTAC-1
active
destination transport-method email disable
destination transport-method http
!
!
interface Loopback0
ipv4 address 10.255.0.4 255.255.255.255
ipv6 address 2001:10:4::4/128
!
interface Loopback1
ipv6 address 2001:10:132::4/128
!
interface MgmtEth0/RP0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv6 address 2001:2:4::4/64
!
interface GigabitEthernet0/0/0/1
ipv6 address 2001:3:4::4/64
!
interface GigabitEthernet0/0/0/2
shutdown
!
interface GigabitEthernet0/0/0/3
vrf L3VPN
ipv4 address 192.168.1.254 255.255.255.0
ipv6 address 2001:192:168:1::254/64
!
interface GigabitEthernet0/0/0/4
ipv6 address 2001:1:4::4/64
!
interface GigabitEthernet0/0/0/5
shutdown
!
interface GigabitEthernet0/0/0/6
shutdown
!
interface GigabitEthernet0/0/0/7
shutdown
!
interface GigabitEthernet0/0/0/8
shutdown
!
extcommunity-set opaque COLOR_EXT_COMMUNITY_SET
100
end-set
!
route-policy BGP_ROUTE_POLICY_v4
if destination longer-than (0.0.0.0/0) then
set extcommunity color COLOR_EXT_COMMUNITY_SET
endif
pass
end-policy
!
route-policy BGP_ROUTE_POLICY_v6
if destination longer-than (::/0) then
set extcommunity color COLOR_EXT_COMMUNITY_SET
endif
pass
end-policy
!
router isis core
is-type level-1
net 49.0000.0000.0004.00
distribute link-state
affinity-map BLUE bit-position 1
address-family ipv6 unicast
metric-style wide
apply-weight ucmp-only
router-id Loopback0
segment-routing srv6
locator xr9kv4
!
locator algo128
!
!
!
flex-algo 128
priority 250
advertise-definition
prefix-metric
affinity include-any BLUE
address-family ipv6 unicast
!
!
interface Loopback0
passive
address-family ipv6 unicast
!
!
interface Loopback1
passive
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/0
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/1
affinity flex-algo BLUE
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/4
address-family ipv6 unicast
!
!
!
router bgp 100
segment-routing srv6
locator xr9kv4
!
address-family ipv4 unicast
segment-routing srv6
alloc mode per-vrf
!
!
address-family vpnv4 unicast
vrf all
segment-routing srv6
alloc mode per-vrf
!
!
!
address-family ipv6 unicast
segment-routing srv6
locator xr9kv4
alloc mode per-vrf
!
!
address-family vpnv6 unicast
vrf all
segment-routing srv6
alloc mode per-vrf
!
!
!
neighbor 2001:10:1::1
remote-as 100
update-source Loopback0
address-family ipv4 unicast
encapsulation-type srv6
!
address-family vpnv4 unicast
encapsulation-type srv6
route-policy BGP_ROUTE_POLICY_v4 out
!
address-family ipv6 unicast
encapsulation-type srv6
!
address-family vpnv6 unicast
encapsulation-type srv6
route-policy BGP_ROUTE_POLICY_v6 out
!
!
vrf L3VPN
rd 10.255.0.4:20
address-family ipv4 unicast
redistribute connected
!
address-family ipv6 unicast
segment-routing srv6
!
redistribute connected
!
!
!
segment-routing
traffic-eng
srv6
locator xr9kv4 binding-sid dynamic behavior ub6-insert-reduced
!
segment-lists
srv6
sid-format usid-f3216
!
segment-list 4-to-1A
srv6
index 10 sid 2001:10:2::
index 20 sid 2001:10:3::
index 30 sid 2001:10:1::
!
!
segment-list 4-to-1B
srv6
index 10 sid 2001:10:2::
!
!
!
on-demand color 101
srv6
!
dynamic
metric
type igp
!
!
constraints
segments
sid-algorithm 128
!
!
!
policy 4-to-1
srv6
locator xr9kv4 binding-sid dynamic behavior ub6-insert-reduced
!
color 100 end-point ipv6 2001:10:1::1
candidate-paths
preference 90
explicit segment-list 4-to-1B
!
!
preference 100
explicit segment-list 4-to-1A
weight 3
!
!
!
!
!
srv6
logging locator status
encapsulation
source-address 2001:10:4::4
!
locators
locator xr9kv4
micro-segment behavior unode psp-usd
prefix 2001:10:4::/48
!
locator algo128
micro-segment behavior unode psp-usd
prefix 2001:10:132::/48
algorithm 128
!!
end

 

1 Accepted Solution

Accepted Solutions

Harold Ritter
Level 12
Level 12

Hi @Jbr002 ,

Make sure you configure all the transit interfaces as point-to-point under isis. This should fix it.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

3 Replies 3

Harold Ritter
Level 12
Level 12

Hi @Jbr002 ,

Make sure you configure all the transit interfaces as point-to-point under isis. This should fix it.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi Ritter,

I could fix the issue as your advise!

You are very welcome @Jbr002 and thanks for the feedback

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México