09-10-2021 12:16 AM
Hello Everyone,
I am new to segment routing. I am trying to learn the dynamic option of segment routing traffic engineering. I have 2 directly connected routers.
R1---R2
R1's Gi0/0/0/1 IP address 100.10.20.1
R2'2 Gi0/0/0/1 IP address 100.10.20.2
1.1.1.1 is the loopback on r1.
2.2.2.2 is the loopback on r2.
Following is the configuration on R1.
segment-routing
traffic-eng
!
policy pc1
color 10 end-point ipv4 2.2.2.2
candidate-paths
preference 100
dynamic
metric
type igp
router isis 1
net 49.0001.1111.1111.1111.00
distribute link-state
address-family ipv4 unicast
metric-style wide
mpls traffic-eng level-1-2
mpls traffic-eng router-id Loopback0
segment-routing mpls
!
interface Loopback0
address-family ipv4 unicast
prefix-sid index 1
!
!
interface GigabitEthernet0/0/0/0
address-family ipv4 unicast
!
!
interface GigabitEthernet0/0/0/1
address-family ipv4 unicast
mpls traffic-eng
interface GigabitEthernet0/0/0/0
!
Following is the config on R2.
router isis 1
net 49.0001.2222.2222.2222.00
distribute link-state
address-family ipv4 unicast
metric-style wide
mpls traffic-eng level-1-2
mpls traffic-eng router-id Loopback0
segment-routing mpls
!
interface Loopback0
address-family ipv4 unicast
prefix-sid index 2
!
!
interface GigabitEthernet0/0/0/0
address-family ipv4 unicast
!
!
interface GigabitEthernet0/0/0/1
address-family ipv4 unicast
mpls traffic-eng
interface GigabitEthernet0/0/0/0
But following command's output shows the invalid path to 2.2.2.2.
While 2.2.2.2 is pingable from 1.1.1.1.
r1#show segment-routing traffic-eng policy
Fri Sep 10 07:11:23.710 UTC
SR-TE policy database
---------------------
Color: 10, End-point: 2.2.2.2
Name: srte_c_10_ep_2.2.2.2
Status:
Admin: up Operational: down for 00:38:41 (since Sep 10 06:32:43.463)
Candidate-paths:
Preference: 100 (configuration)
Name: pc1
Requested BSID: dynamic
Dynamic (invalid)
Last error: No path found
srte interface is also down.
RP/0/RP0/CPU0:r1#show ip int br
Fri Sep 10 07:13:58.051 UTC
Interface IP-Address Status Protocol Vrf-Name
srte_c_10_ep_2.2.2.2 1.1.1.1 Down Down default
I am not sure what configuration am I missing?
Thanks,
Sachin
Solved! Go to Solution.
09-03-2023 09:27 AM
thank you Very much @Harold Ritter .
04-24-2024 10:10 AM
Hi @Harold Ritter ,
I am sorry to ask questions on SR-TE. Whenever i observe any issue in Segment routing , only your name comes to my mind as you helped me earlier on Segment routing related issue. Thanks a lot for that.
Now i come up with different issue . I am using Nokia SR router in my topology .
we have connected PCE to all the edge routers(PCC) (CER1_1, CER1_2, CER1_3, CER1_4) and trying to bring up SR-TE LSP with PCEP Controller on all edge routers.
PCE shows PCEP connection with all 4 edge routers as mentioned below .I see BGP is UP and SR-OSPF also UP on PCC routers.
PCEP Path Computation Element (PCE) Peer Info
-------------------------------------------------------------------------------
Peer Sync State Oper Keepalive/Oper DeadTimer
-------------------------------------------------------------------------------
92.168.96.23:4189 done 30/120
92.168.96.126:4189 done 30/120
92.168.97.16:4189 done 30/120
92.168.97.174:4189 done 30/120
Router id of CER1-1 : 92.168.96.23
Router id of CER1-4: 92.168.97.16
Only with CER1_1 to CER1_2 / CER2_1 to CER1_1 we have SR-TE LSP is up with PCE
Now problem is SR-TE lsp is not coming up between CER1_1 to CER1_4 if we configure SR TE lsp with PCE.
Please note that Without PCE , SR-TE LSP is coming up between CER1_1 to CER1_4.
Kindly check this and provide your comment on this issue.
*A:CER1_1# show router mpls sr-te-lsp
===============================================================================
MPLS SR-TE LSPs (Originating)
===============================================================================
LSP Name Tun Protect Adm Opr
To Id Path
-------------------------------------------------------------------------------
CER1_1_to_CER1_4 3 N/A Up Dwn
92.168.97.16
Below are the configuration of OSPF and SR-TE LSP on CER1_1 and CER1_4
*A:CER1_1>config>router>ospf# info
----------------------------------------------
router-id 92.168.96.23
no compatible-rfc1583
overload-include-stub
overload-on-boot timeout 800
traffic-engineering-options
sr-te legacy
exit
traffic-engineering
timers
incremental-spf-wait 0
lsa-accumulate 50
lsa-arrival 100
lsa-generate 5000 lsa-initial-wait 50 lsa-second-wait 200
spf-wait 5000 spf-initial-wait 50 spf-second-wait 200
exit
database-export identifier 0 bgp-ls-identifier 112
advertise-router-capability area
loopfree-alternates
ti-lfa max-sr-frr-labels 1
node-protect
exit
exit
segment-routing
prefix-sid-range global
maximum-sid-depth
override-bmi 2
exit
no shutdown
exit
area 0.0.0.0
interface "system"
interface-type broadcast
node-sid index 11
metric 1
no shutdown
exit
interface "to_CR2_1"
interface-type point-to-point
no shutdown
exit
interface "to_CR2_2_1"
interface-type point-to-point
no shutdown
exit
interface "to_CR2_2_2"
interface-type point-to-point
no shutdown
exit
interface "to_VSR-NRC"
interface-type point-to-point
no shutdown
exit
interface "to_CER1_2"
interface-type point-to-point
no shutdown
exit
exit
no shutdown
*A:CER1_4>config>router>ospf# info
----------------------------------------------
router-id 92.168.97.16
no compatible-rfc1583
overload-include-stub
overload-on-boot timeout 800
traffic-engineering-options
sr-te legacy
exit
traffic-engineering
timers
incremental-spf-wait 0
lsa-accumulate 50
lsa-arrival 100
lsa-generate 5000 lsa-initial-wait 50 lsa-second-wait 200
spf-wait 5000 spf-initial-wait 50 spf-second-wait 200
exit
advertise-router-capability area
loopfree-alternates
ti-lfa max-sr-frr-labels 1
node-protect
exit
exit
segment-routing
prefix-sid-range global
maximum-sid-depth
override-bmi 2
exit
no shutdown
exit
area 0.0.0.0
interface "system"
node-sid index 21
no shutdown
exit
interface "to_CR2_3"
interface-type point-to-point
no shutdown
exit
exit
no shutdown
*A:CER1_1>config>router>mpls# info
----------------------------------------------
interface "system"
no shutdown
exit
interface "to_CR2_1"
te-metric 1000
no shutdown
exit
interface "to_CR2_2_1"
no shutdown
exit
interface "to_CR2_2_2"
te-metric 100
no shutdown
exit
interface "to_CER1_2"
no shutdown
exit
path "pri"
no shutdown
exit
path "sec"
no shutdown
exit
lsp "CER1_1_to_CER1_4" sr-te
to 92.168.97.16
from 92.168.96.23
admin-tag "tag_broadband"
path-computation-method pce
pce-report enable
bfd
bfd-template "sbfd-template"
bfd-enable
failure-action failover-or-down
exit
path-profile 1 path-group 10
primary "pri"
priority 6 3
exit
secondary "sec"
standby
priority 4 3
exit
no shutdown
exit
04-24-2024 01:02 PM
Hi @mailatgk ,
Could you please open a new post. Using an existing post to ask a new questions makes it more difficult for everyone trying to find information.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide