07-16-2022 04:50 PM - edited 07-16-2022 04:51 PM
Hello Everyone,
I am configuring SR TE BGP ODN on CSR routers.
IOS4-------CSR1------CSR2-------CSR3------ios5
CSR1 and CSR3 are PE routers. IOS4 and ios5 are the CE routers.
4.4.4.4 is loopback on ios4.
5.5.5.5 is loopback on ios5.
CSR1 receives 5.5.5.5/32 in its vrf table with extended community string "COLOR:100"
CSR1#show bgp vpnv4 unicast rd 1:1 5.5.5.5
BGP routing table entry for 1:1:5.5.5.5/32, version 10
Paths: (1 available, best #1, table vrf1)
Not advertised to any peer
Refresh Epoch 1
Local, imported path from 3:3:5.5.5.5/32 (global)
3.3.3.3 (metric 30) (via default) from 3.3.3.3 (3.3.3.3)
Origin incomplete, metric 2, localpref 100, valid, internal, best
Extended Community: RT:3:3 OSPF DOMAIN ID:0x0005:0x000000010200
Color:100 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:100.30.50.3:0
mpls labels in/out nolabel/18
binding SID: none (color-100)
rx pathid: 0, tx pathid: 0x0
Updated on Jul 16 2022 23:36:00 UTC
but still I do not see any SR-TE policy when I execute 'show segment-routing traffic-eng policy all'
CSR1#show segment-routing traffic-eng policy all
CSR1#
Below is the complete configuration.
ios4
-------
int gi0/1
ip address 100.10.40.4 255.255.255.0
ip ospf 1 area 0
no sh
int lo0
ip address 4.4.4.4 255.255.255.255
ip ospf 1 area 0
router ospf 1
exit
CSR1
----------------
segment-routing traffic-eng
on-demand color 100
candidate-paths
preference 100
constraints
segments
dataplane mpls
dynamic
metric
type te
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
1.1.1.1/32 index 1 range 1
exit
vrf definition vrf1
rd 1:1
address-family ipv4 unicast
route-target import 3:3
route-target export 1:1
exit
int gi1
vrf forwarding vrf1
ip address 100.10.40.1 255.255.255.0
ip ospf 1 area 0
no sh
router ospf 1 vrf vrf1
exit
int gi2
ip address 100.10.20.1 255.255.255.0
ip router isis 1
isis network point-to-point
no sh
int lo0
ip address 1.1.1.1 255.255.255.255
ip router isis 1
exit
router isis 1
is-type level-1
net 49.0001.1111.1111.1111.00
router-id lo0
metric-style wide
distribute link-state
segment-routing mpls
mpls traffic-eng router-id lo0
mpls traffic-eng level-1
exit
router bgp 13
no bgp default ipv4-unicast
template peer-session session1
update-source lo0
remote-as 13
exit
neighbor 3.3.3.3 inherit peer-session session1
address-family vpnv4 unicast
neighbor 3.3.3.3 activate
address-family ipv4 vrf vrf1
redistribute ospf 1
exit
CSR2
-----------
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
2.2.2.2/32 index 2 range 1
exit
int gi2
ip address 100.10.20.2 255.255.255.0
ip router isis 1
isis network point-to-point
no sh
int gi3
ip address 100.20.30.2 255.255.255.0
ip router isis 1
isis network point-to-point
no sh
int lo0
ip address 2.2.2.2 255.255.255.255
ip router isis 1
exit
router isis 1
net 49.0001.2222.2222.2222.00
is-type level-1
metric-style wide
distribute link-state
segment-routing mpls
mpls traffic-eng router-id lo0
mpls traffic-eng level-1
exit
CSR3
----------------
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
3.3.3.3/32 index 3 range 1
exit
vrf definition vrf1
rd 3:3
address-family ipv4 unicast
route-target import 1:1
route-target export 3:3
exit
int gi1
vrf forwarding vrf1
ip address 100.30.50.3 255.255.255.0
ip ospf 1 area 0
no sh
router ospf 1 vrf vrf1
exit
int gi3
ip address 100.20.30.3 255.255.255.0
ip router isis 1
isis network point-to-point
no sh
int lo0
ip address 3.3.3.3 255.255.255.255
ip router isis 1
exit
router isis 1
is-type level-1
net 49.0001.3333.3333.3333.00
router-id lo0
metric-style wide
distribute link-state
segment-routing mpls
mpls traffic-eng router-id lo0
mpls traffic-eng level-1
exit
router bgp 13
no bgp default ipv4-unicast
template peer-session session1
update-source lo0
remote-as 13
exit
neighbor 1.1.1.1 inherit peer-session session1
address-family vpnv4 unicast
neighbor 1.1.1.1 activate
address-family ipv4 vrf vrf1
redistribute ospf 1
exit
IOS5
------------------
int gi0/1
ip address 100.30.50.5 255.255.255.0
ip ospf 1 area 0
no sh
int lo0
ip address 5.5.5.5 255.255.255.255
ip ospf 1 area 0
router ospf 1
exit
Thanks,
Sachin
Solved! Go to Solution.
07-17-2022 09:46 AM
Hi @sachin30720041 ,
Try adding "authorize" under the "on-demand color 100" section as follow:
segment-routing traffic-eng
!
on-demand color 100
authorize
That should solve the issue.
Regards,
07-17-2022 09:46 AM
Hi @sachin30720041 ,
Try adding "authorize" under the "on-demand color 100" section as follow:
segment-routing traffic-eng
!
on-demand color 100
authorize
That should solve the issue.
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