cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
186
Views
0
Helpful
0
Replies

Why SR-TE policy is "operational down"?

Jbr002
Level 1
Level 1

Hello, I am trying SRv6 and Flex-algo on ISIS.

I am using CML 2.6.1 and XRv9000.

There are 4 routers.  xr9kv-1, 2, 3,4.

The connected links are follow.

xr9kv-1 - xr9kv-2

xr9kv-1 - xr9kv-3

xr9kv-2 - xr9kv-3

xr9kv-2 - xr9kv-4

xr9kv-3 - xr9kv-4

 

xr9kv-1 and xr9kv-4 is vpnv6 peer, and achieve L3 vpn.

A host 2001:192:168:0::1 connected to xr9kv-1 can ping 2001:192:168:1::1 connected to xr9kv-4.

 

Now I tried Flex-algo, but the policy is "operational down". 

Why is it down? Could anyone help, please!

 

RP/0/RP0/CPU0:xr9kv-4#show segment-routing traffic-eng policy 
Fri May 31 08:38:01.430 UTC

SR-TE policy database
---------------------

Color: 1, End-point: 2001:10:1::1
  Name: srte_c_1_ep_2001:10:1::1
  Status:
    Admin: up  Operational: down for 04:13:51 (since May 31 04:24:10.132)
  Candidate-paths:
    Preference: 200 (BGP ODN) (inactive)
      Last error: SRv6 locator name is missing
      Constraints:
        Prefix-SID Algorithm: 128
        Protection Type: protected-preferred
        Maximum SID Depth: 13 
      Dynamic (inactive)
        Metric Type: TE,   Path Accumulated Metric: 0 
      SRv6 Information:
        Locator: Not configured
        Binding SID requested: Not configured
        Binding SID behavior: Unknown (0)
    Preference: 100 (BGP ODN) (inactive)
      Last error: SRv6 locator name is missing
      PCC info:
        Symbolic name: bgp_c_1_ep_2001:10:1::1_discr_100
        PLSP-ID: 2
      Constraints:
        Prefix-SID Algorithm: 128
        Protection Type: protected-preferred
        Maximum SID Depth: 13 
      Dynamic (pce) (inactive)
        Metric Type: NONE,   Path Accumulated Metric: 0 
      SRv6 Information:
        Locator: Not configured
        Binding SID requested: Not configured
        Binding SID behavior: Unknown (0)
  Attributes:
    Forward Class: 0
    Steering labeled-services disabled: no
    Steering BGP disabled: no
    IPv6 caps enable: yes
    Invalidation drop enabled: no
    Max Install Standby Candidate Paths: 0

 

 

 

The configurations are follow.

[xrikv-1]

RP/0/RP0/CPU0:xr9kv-1#show running-config
Fri May 31 08:35:32.608 UTC
Building configuration...
!! IOS XR Configuration 7.7.1
!! Last configuration change at Fri May 31 08:04:59 2024 by root123
!
hostname xr9kv-1
logging console disable
username root123
group root-lr
group cisco-support
secret 10 $6$6HnDhowH9zo0h...$/jtr9kptTNweBeJJEp09JyySmRPz7xjWtyoYhif6f5Rva/BK5G/0W1Mc1NMhGddykpwtHw5eXOemU3Z1W/bQ21
!
username cisco
group root-lr
group cisco-support
password 7 045802150C2E
!
vrf L3VPN
rd 10.255.0.1:20
address-family ipv4 unicast
import route-target
10.255.0.4:20
!
export route-target
10.255.0.1:20
!
!
address-family ipv6 unicast
import route-target
10.255.0.4:20
!
export route-target
10.255.0.1:20
!
!
!
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.1 255.255.255.255
ipv6 address 2001:10:1::1/128
!
interface Loopback1
ipv6 address 2001:10:1:128::1/128
!
interface MgmtEth0/RP0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv6 address 2001:1:3::1/64
!
interface GigabitEthernet0/0/0/1
ipv6 address 2001:1:2::1/64
!
interface GigabitEthernet0/0/0/2
shutdown
!
interface GigabitEthernet0/0/0/3
vrf L3VPN
ipv4 address 192.168.0.254 255.255.255.0
ipv6 address 2001:192:168::254/64
!
interface GigabitEthernet0/0/0/4
shutdown
!
rd-set 10.255.0.1
end-set
!
extcommunity-set opaque COLOR_EXT_COMMUNITY_SET
1
end-set
!
prefix-set 2001:10:1:128::64
end-set
!
route-policy BGP_ROUTE_POLICY
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.0001.00
affinity-map RED bit-position 0
affinity-map BLUE bit-position 1
flex-algo 128
priority 250
metric-type te
advertise-definition
prefix-metric
affinity include-any BLUE
!
address-family ipv6 unicast
segment-routing srv6
locator xr9kv1
level 1
!
locator xr9kv1_128
level 1
!
!
!
interface Loopback0
passive
affinity flex-algo BLUE
address-family ipv6 unicast
te-metric flex-algo 10
!
!
interface GigabitEthernet0/0/0/0
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/1
affinity flex-algo BLUE
address-family ipv6 unicast
te-metric flex-algo 10
!
!
!
router bgp 100
nsr
segment-routing srv6
locator xr9kv1
!
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
alloc mode per-vrf
!
network 2001:10:1:128::1/128
!
address-family vpnv6 unicast
vrf all
segment-routing srv6
alloc mode per-vrf
!
!
segment-routing srv6
locator xr9kv1
!
!
neighbor 2001:10:4::4
remote-as 100
update-source Loopback0
address-family ipv4 unicast
encapsulation-type srv6
!
address-family vpnv4 unicast
encapsulation-type srv6
!
address-family ipv6 unicast
encapsulation-type srv6
route-policy BGP_ROUTE_POLICY out
next-hop-self
!
address-family vpnv6 unicast
encapsulation-type srv6
route-policy BGP_ROUTE_POLICY out
!
!
vrf L3VPN
rd 10.255.0.1:20
address-family ipv4 unicast
redistribute connected
!
address-family ipv6 unicast
redistribute connected
!
!
!
segment-routing
traffic-eng
interface GigabitEthernet0/0/0/1
metric 10
!
srv6
!
on-demand color 1
srv6
!
dynamic
sid-algorithm 128
!
!
!
srv6
logging locator status
encapsulation
source-address 2001:10:1::1
!
locators
locator xr9kv1
prefix 2001:10:1::/64
!
locator xr9kv1_128
prefix 2001:10:1:128::/64
algorithm 128
!
!
!
!
end

 

 

[xr9kv-2]

RP/0/RP0/CPU0:xr9kv-2#show running-config
Fri May 31 08:36:06.452 UTC
Building configuration...
!! IOS XR Configuration 7.7.1
!! Last configuration change at Fri May 31 07:38:51 2024 by root123
!
hostname xr9kv-2
logging console disable
username root123
group root-lr
group cisco-support
secret 10 $6$zJyjB/ZzPHzq2B/.$d0yj/1Lj1cIZcPvCI7r0qFj1IOEhWnlkKsfKOmBxK76igfFRPjJf5iQoueh1ZlBjAGqAPO8nc1tmc.9ykPWFA/
!
username cisco
group root-lr
group cisco-support
password 7 13061E010803
!
username admin
group root-lr
group cisco-support
password 7 02050D480809
!
username lab
group root-lr
group cisco-support
password 7 01100F175804
!
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.2 255.255.255.255
ipv6 address 2001:10:2::2/128
!
interface MgmtEth0/RP0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv6 address 2001:2:4::2/64
!
interface GigabitEthernet0/0/0/1
ipv6 address 2001:1:2::2/64
!
interface GigabitEthernet0/0/0/2
ipv6 address 2001:2:3::2/64
!
interface GigabitEthernet0/0/0/3
shutdown
!
interface GigabitEthernet0/0/0/4
shutdown
!
router isis core
is-type level-1
net 49.0000.0000.0002.00
affinity-map RED bit-position 0
affinity-map BLUE bit-position 1
flex-algo 128
priority 250
advertise-definition
prefix-metric
affinity include-any BLUE
!
address-family ipv6 unicast
segment-routing srv6
locator xr9kv2
level 1
!
!
!
interface Loopback0
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
te-metric flex-algo 10
!
!
interface GigabitEthernet0/0/0/2
affinity flex-algo BLUE
address-family ipv6 unicast
te-metric flex-algo 10
!
!
!
router bgp 100
address-family l2vpn evpn
!
neighbor 2001:10:3::3
remote-as 100
update-source Loopback0
address-family l2vpn evpn
soft-reconfiguration inbound
!
!
!
evpn
evi 2
advertise-mac
!
!
evi 11001 segment-routing srv6
locator xr9kv3
!
interface GigabitEthernet0/0/0/3
ethernet-segment
bgp route-target 1111.1111.1111
!
!
segment-routing srv6
locator xk9kv2
!
!
l2vpn
xconnect group sample_xcg
p2p sample-vpws-11001-2002
interface GigabitEthernet0/0/0/3
neighbor evpn evi 11001 service 2000 segment-routing srv6
!
!
!
!
segment-routing
traffic-eng
srv6
!
!
srv6
logging locator status
encapsulation
source-address 2001:10:2::2
!
locators
locator xr9kv2
prefix 2001:10:2::/64
!
locator xr9kv2_128
prefix 2001:10:1:128::/64
algorithm 128
!
!
!
!
end

 

[xr9kv-3]

RP/0/RP0/CPU0:xr9kv-3#show running-config
Fri May 31 08:36:42.868 UTC
Building configuration...
!! IOS XR Configuration 7.7.1
!! Last configuration change at Fri May 31 07:37:29 2024 by root123
!
hostname xr9kv-3
logging console disable
username root123
group root-lr
group cisco-support
secret 10 $6$QaDPMtn44gV/M...$YfkgfhVP3hp4kwgUybRoQ8H8nFQq3EOxe3p2vsyle1c8MArudYabCwRYo.RIQ.dVhlRHyMbBnNOlYmn1/jkMl1
!
username cisco
group root-lr
group cisco-support
password 7 060506324F41
!
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.3 255.255.255.255
ipv6 address 2001:10:3::3/128
!
interface MgmtEth0/RP0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv6 address 2001:1:3::3/64
!
interface GigabitEthernet0/0/0/1
ipv6 address 2001:3:4::3/64
!
interface GigabitEthernet0/0/0/2
shutdown
!
interface GigabitEthernet0/0/0/3
ipv6 address 2001:2:3::3/64
!
interface GigabitEthernet0/0/0/4
shutdown
!
router isis core
is-type level-1
net 49.0000.0000.0003.00
affinity-map RED bit-position 0
affinity-map BLUE bit-position 1
flex-algo 128
priority 250
advertise-definition
prefix-metric
affinity include-any BLUE
!
address-family ipv6 unicast
segment-routing srv6
locator xr9kv3
level 1
!
!
!
interface Loopback0
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
te-metric flex-algo 10
!
!
interface GigabitEthernet0/0/0/3
affinity flex-algo BLUE
address-family ipv6 unicast
te-metric flex-algo 10
!
!
!
router bgp 100
nsr
bgp graceful-restart
address-family l2vpn evpn
!
neighbor 2001:10:2::2
remote-as 100
update-source Loopback0
address-family l2vpn evpn
!
!
!
evpn
evi 11001 segment-routing srv6
bgp
rd 10.255.0.3:1
route-target import 10.255.0.2:1
route-target export 10.255.0.3:1
!
locator xr9kv3
!
segment-routing srv6
!
!
l2vpn
xconnect group sample_xcg
p2p sample-vpws-11001-2002
interface GigabitEthernet0/0/0/2
neighbor evpn evi 11001 service 2000 segment-routing srv6
!
!
!
!
segment-routing
traffic-eng
srv6
!
!
srv6
logging locator status
encapsulation
source-address 2001:10:3::3
!
locators
locator xr9kv3
prefix 2001:10:3::/64
!
locator xr9kv3_128
prefix 2001:10:3:128::/64
algorithm 128
!
!
!
!
end

 

 

[xr9kv-4]

RP/0/RP0/CPU0:xr9kv-4#show running-config
Fri May 31 08:37:09.817 UTC
Building configuration...
!! IOS XR Configuration 7.7.1
!! Last configuration change at Fri May 31 08:11:31 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
!
!
!
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 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
shutdown
!
extcommunity-set opaque COLOR_EXT_COMMUNITY_SET
1
end-set
!
route-policy BGP_ROUTE_POLICY
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
affinity-map RED bit-position 0
affinity-map BLUE bit-position 1
flex-algo 128
priority 250
data-plane segment-routing
metric-type te
advertise-definition
prefix-metric
affinity include-any BLUE
!
address-family ipv6 unicast
metric-style wide
segment-routing srv6
locator xr9kv4
level 1
!
!
!
interface Loopback0
passive
affinity flex-algo BLUE
address-family ipv6 unicast
te-metric flex-algo 10
!
!
interface GigabitEthernet0/0/0/0
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/1
affinity flex-algo BLUE
address-family ipv6 unicast
te-metric flex-algo 10
!
!
!
router bgp 100
segment-routing srv6
locator xr9kv4
!
nexthop validation color-extcomm sr-policy
bgp bestpath igp-metric sr-policy
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
locator xr9kv4
alloc mode per-vrf
!
!
segment-routing srv6
locator xr9kv4
!
!
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
!
address-family ipv6 unicast
encapsulation-type srv6
!
address-family vpnv6 unicast
encapsulation-type srv6
route-policy BGP_ROUTE_POLICY out
!
!
vrf L3VPN
rd 10.255.0.4:20
address-family ipv4 unicast
redistribute connected
!
address-family ipv6 unicast
segment-routing srv6
locator xr9kv4
!
redistribute connected
!
!
!
segment-routing
traffic-eng
srv6
!
on-demand color 1
srv6
!
dynamic
metric
type te
!
sid-algorithm 128
!
!
maximum-sid-depth 10
!
srv6
logging locator status
encapsulation
source-address 2001:10:4::4
!
locators
locator xr9kv4
prefix 2001:10:4::/64
!
locator xr9kv4_128
prefix 2001:10:4:128::/64
algorithm 128
!
!
!
!
end

 

0 Replies 0
Review Cisco Networking for a $25 gift card