07-19-2022 04:47 PM
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
Solved! Go to Solution.
07-20-2022 03:29 PM
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
07-21-2022 10:18 AM
Hi @sachin30720041 ,
XE supports PCE initiated policies, but it is not currently supported in the CSR1000v platform.
Regards,
07-20-2022 03:29 PM
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
07-20-2022 04:41 PM - edited 07-20-2022 04:47 PM
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,
07-20-2022 05:44 PM
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 ?
07-21-2022 10:18 AM
Hi @sachin30720041 ,
XE supports PCE initiated policies, but it is not currently supported in the CSR1000v platform.
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