cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
5
Helpful
1
Replies

PCE is not pushing ODN policy to PCC

sachin30720041
Level 1
Level 1

Hello All,

 

I have configured the following setup.

                        PCE

                         |                 

                         |

ios11(CE)----PCC--------CSR2--------CSR3-----(CE)ios22

ios11 and ios22 are the CEs. Routes between ios11 and ios22 are exchanged.

PCE is configured to push on-demand policy with color 1234 to PCC

And CSR3 is sending extcommunity with color 1234. But I do not see a policy configured on PCC.

PCE has PCC as a peer.

--------------------------------------

RP/0/RP0/CPU0:PCE#show pce ipv4 peer
PCE's peer database:
Peer address: 1.1.1.1
State: Up
Capabilities: Stateful, Segment-Routing, Update, Instantiation

--------------------------------------------

RP/0/RP0/CPU0:PCC#show bgp vpnv4 unicast rd 1:1 22.22.22.22
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local
3.3.3.3 (metric 30) from 3.3.3.3 (3.3.3.3)
Received Label 17
Origin incomplete, metric 2, localpref 100, valid, internal, best, group-best, import-candidate, imported
Received Path ID 0, Local Path ID 1, version 14
Extended community: OSPF domain-id:0x5:0x000000010200 Color:1234 OSPF route-type:0:2:0x0 OSPF router-id:100.20.20.3 RT:3:3
Source AFI: VPNv4 Unicast, Source VRF: default, Source Route Distinguisher: 3:3 

----------------------------------

 

-------------------------------------

IOS11
------------------

int gi0/0
ip address 100.10.10.11 255.255.255.0
no sh

ip ospf 1 area 0

int lo0
ip address 11.11.11.11 255.255.255.255
ip ospf 1 area 0
exit

router ospf 1
exit

PCE
-----------------
pce
address ipv4 10.10.10.10
exit

segment-routing
traffic-eng
on-demand color 1234
dynamic
pcep

int gi0/0/0/1
ip address 100.10.100.10 255.255.255.0
no sh

int lo0
ip address 10.10.10.10 255.255.255.255
exit

router isis 1
net 49.0001.1010.1010.1010.00
is-type level-1
distribute link-state
address-family ipv4 unicast
metric-style wide
segment-routing mpls
mpls traffic-eng router-id lo0
mpls traffic-eng level-1
exit
int gi0/0/0/1
point-to-point
address-family ipv4 unicast
exit
int lo0
address-family ipv4 unicast
exit
exit

PCC
----------------
segment-routing traffic-eng
pcc
pce address ipv4 10.10.10.10
source-address ipv4 1.1.1.1
exit

vrf vrf1
rd 1:1
address-family ipv4 unicast
import route-target 3:3
export route-target 1:1
exit

int gi0/0/0/0
vrf vrf1
ip address 100.10.10.1 255.255.255.0
no sh

int gi0/0/0/1
ip address 100.10.100.1 255.255.255.0
no sh

int gi0/0/0/2
ip address 100.10.20.1 255.255.255.0
no sh

int lo0
ip address 1.1.1.1 255.255.255.255
exit

router ospf 1
vrf vrf1
redistribute bgp 13
area 0
int gi0/0/0/0
exit

router bgp 13
address-family vpnv4 unicast
exit
address-family ipv4 unicast
exit
session-group session1
remote-as 13
update-source lo0
exit
neighbor 3.3.3.3
use session-group session1
address-family vpnv4 unicast
exit
vrf vrf1
rd 1:1
address-family ipv4 unicast
redistribute ospf 1
exit

router isis 1
net 49.0001.1111.1111.1111.00
is-type level-1
distribute link-state
address-family ipv4 unicast
router-id lo0
metric-style wide
segment-routing mpls
mpls traffic-eng router-id lo0
mpls traffic-eng level-1
exit
int gi0/0/0/1
point-to-point
address-family ipv4 unicast
exit
int gi0/0/0/2
point-to-point
address-family ipv4 unicast
exit
int lo0
address-family ipv4 unicast
prefix-sid index 1
exit
exit

CSR2
-----------------------
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
2.2.2.2/32 index 2 range 1
exit
exit

int gi1
ip address 100.20.30.2 255.255.255.0
ip router isis 1
isis network point-to-point
no sh

int gi2
ip address 100.10.20.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
router-id lo0
is-type level-1
metric-style wide
segment-routing mpls
distribute link-state
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

int gi1
ip address 100.20.30.3 255.255.255.0
ip router isis 1
isis network point-to-point
no sh

vrf def vrf1
rd 3:3
address-family ipv4 unicast
route-target export 3:3
route-target import 1:1
exit

router ospf 1 vrf vrf1
redistribute bgp 15
exit


int gi2
vrf forwarding vrf1
ip address 100.20.20.3 255.255.255.0
ip ospf 1 area 0
no sh

 

int lo0
ip address 3.3.3.3 255.255.255.255
ip router isis 1
exit

router isis 1
router-id lo0
net 49.0001.3333.3333.3333.00
is-type level-1
metric-style wide
segment-routing mpls
distribute link-state
mpls traffic-eng router-id lo0
mpls traffic-eng level-1

exit

route-map rmap1 permit 10
set extcommunity color 1234

exit

router bgp 13
template peer-session session1
remote-as 13
update-source lo0
exit
neighbor 1.1.1.1 inherit peer-session session1
address-family vpnv4 unicast
neighbor 1.1.1.1 activate

neighbor 1.1.1.1 route-map rmap1 out
exit
address-family ipv4 vrf vrf1
redistribute ospf 1
exit

ios22
------


int gi0/2
ip address 100.20.20.22 255.255.255.0
no sh
ip ospf 1 area 0

int lo0
ip address 22.22.22.22 255.255.255.255
ip ospf 1 area 0
exit

router ospf 1
exit

 

Thanks,

Sachin

 

1 Accepted Solution

Accepted Solutions

Harold Ritter
Level 12
Level 12

Hi @sachin30720041 ,

ODN requires the policy to be PCC initiated.

You therefore need to configure the on demand policy on the PCC.

PCC:

segment-routing traffic-eng
!
on-demand color 1234
authorize
candidate-paths
preference 100
constraints
segments
dataplane mpls
!
!
dynamic
pcep
metric
type te
!
!
!
!

 

This will cause the PCC to request the path from the PCE.

Also, given that XRv is pretty old, I doubt that it will interoperate well a recent version of IOS-XE. I would recommend using a recent version of XR9kv as the PCE.

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

1 Reply 1

Harold Ritter
Level 12
Level 12

Hi @sachin30720041 ,

ODN requires the policy to be PCC initiated.

You therefore need to configure the on demand policy on the PCC.

PCC:

segment-routing traffic-eng
!
on-demand color 1234
authorize
candidate-paths
preference 100
constraints
segments
dataplane mpls
!
!
dynamic
pcep
metric
type te
!
!
!
!

 

This will cause the PCC to request the path from the PCE.

Also, given that XRv is pretty old, I doubt that it will interoperate well a recent version of IOS-XE. I would recommend using a recent version of XR9kv as the PCE.

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