cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
639
Views
5
Helpful
4
Replies

PCE(XRV9k) and PCC(XE) configuration

sachin30720041
Level 1
Level 1

Hello,

I have the following setup.

XRV9k(PCE)----CSR1(PCC)-----CSR2----CSR3

On PCE, I can see CSR1 as a peer.


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

I have configured a policy(pol1) on PCE. But PCC(XE) does not receive the policy.

PCC#show segment-routing traffic-eng policy all
PCC#

XRV1
-------------
int gi0/0/0/1
ipv4 address 100.10.20.1 255.255.255.0
no sh

int lo0
ip address 1.1.1.1 255.255.255.255


pce
address ipv4 1.1.1.1
segment-routing
traffic-eng
peer ipv4 2.2.2.2
policy pol1
color 100 end-point ipv4 4.4.4.4
candidate-paths
preference 100
dynamic mpls
metric
type igp


int gi0/0/0/1
point-to-point
address-family ipv4 unicast
exit
int lo0
address-family ipv4 unicast
exit


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

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

segment-routing traffic-eng
pcc
pce address 1.1.1.1 source-address 2.2.2.2
exit

int gi1
ip address 100.10.20.2 255.255.255.0
ip router isis 1
no sh

int gi2
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

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


XRV3
-------------------
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.30.40.3 255.255.255.0
no sh
ip router isis 1
isis network point-to-point

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

int lo0
ip address 3.3.3.3 255.255.255.255
ip router isis 1

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


XRV4
-------------
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
4.4.4.4/32 index 4 range 1
exit

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

int lo0
ip address 4.4.4.4 255.255.255.255
ip router isis 1
exit

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

 

Thanks,

Sachin

2 Accepted Solutions

Accepted Solutions

sachin30720041
Level 1
Level 1

CSR is different than XR. CSR has to request the PCE for the policy. Following example will work on CSR.

policy polx
color 321 end-point 4.4.4.4
candidate-paths
preference 1001
constraints
segments
dataplane mpls
!
!
dynamic
pcep
metric
type te

View solution in original post

Hi @sachin30720041 ,

 

XE supports PCE initiated policies, but it is not currently supported in the CSR1000v platform.

https://www.cisco.com/c/en/us/td/docs/routers/asr920/configuration/guide/segment-routing/17-1-1/b-segment-routing-17-1-asr920/m-pce-initiated-sr-policy.html

 

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

4 Replies 4

sachin30720041
Level 1
Level 1

CSR is different than XR. CSR has to request the PCE for the policy. Following example will work on CSR.

policy polx
color 321 end-point 4.4.4.4
candidate-paths
preference 1001
constraints
segments
dataplane mpls
!
!
dynamic
pcep
metric
type te

Hi @sachin30720041 ,

 

This is actually a PCC initiated policy example, where the PCC will request the PCE to calculate the path to the specified end point. The original example you posted is actually for a PCE initiated policy, where the PCE will push a policy to the PCC. 

 

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

Ok.In case of PCE initiated policy, PCE is not pushing the policy to XE PCC. Am I missing any configuration on PCC or PCE?

Does XE support PCE initiated policy ?

Hi @sachin30720041 ,

 

XE supports PCE initiated policies, but it is not currently supported in the CSR1000v platform.

https://www.cisco.com/c/en/us/td/docs/routers/asr920/configuration/guide/segment-routing/17-1-1/b-segment-routing-17-1-asr920/m-pce-initiated-sr-policy.html

 

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