Skip to content

PCE

Configure Path Computation Element (PCE) settings on IOS-XR devices. PCE is a network element that computes network paths or routes based on network topology and applies computational constraints. It’s essential for Traffic Engineering (TE) and MPLS path computation in service provider networks.

Diagram
NameTypeConstraintMandatoryDefault Value
pceClass[pce]No

NameTypeConstraintMandatoryDefault Value
address_ipv4IPNo
address_ipv6IPNo
api_authentication_digestBooleantrue, falseNo
api_sibling_ipv4IPNo
api_usersList[api_users]No
peer_filter_ipv4_access_listStringNo
state_sync_ipv4sList[state_sync_ipv4s]No

api_users (iosxr.devices.configuration.pce)

Section titled “api_users (iosxr.devices.configuration.pce)”
NameTypeConstraintMandatoryDefault Value
user_nameStringYes
password_encryptedStringNo

state_sync_ipv4s (iosxr.devices.configuration.pce)

Section titled “state_sync_ipv4s (iosxr.devices.configuration.pce)”
NameTypeConstraintMandatoryDefault Value
addressIPYes

Example-1: Configure basic PCE with IPv4 address and API authentication.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
pce:
address_ipv4: "77.77.77.1"
api_authentication_digest: true
api_users:
- user_name: "rest-user"
password_encrypted: "05080F1C22431F5B4A"

Example-2: Configure PCE with state synchronization and sibling support.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
pce:
address_ipv4: "77.77.77.1"
address_ipv6: "2001:db8::1"
api_authentication_digest: true
api_sibling_ipv4: "100.100.100.100"
state_sync_ipv4s:
- address: "100.100.100.11"
- address: "100.100.100.12"
api_users:
- user_name: "rest-user"
password_encrypted: "05080F1C22431F5B4A"
- user_name: "admin-user"
password_encrypted: "05080F1C22431F5B4A"

Example-3: Configure PCE with peer filtering and advanced API settings.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
pce:
address_ipv4: "77.77.77.1"
address_ipv6: "2001:db8::1"
api_authentication_digest: true
api_sibling_ipv4: "100.100.100.100"
peer_filter_ipv4_access_list: "pce_peer_filter"
state_sync_ipv4s:
- address: "100.100.100.11"
- address: "100.100.100.12"
- address: "100.100.100.13"
api_users:
- user_name: "rest-user"
password_encrypted: "05080F1C22431F5B4A"
- user_name: "backup-user"
password_encrypted: "05080F1C22431F5B4A"