PCEP Segment-Routing Commands
This chapter describes the segment routing commands for Path Computation Element Protocol (PCEP).
pce entity
Use this command to:
• Assign a PCE entity to a segment routing policy
• Assign a PCE entity to a RSVP tunnel
Use the no form of this command to:
• Remove a PCE entity from a segment routing policy
• Remove a PCE entity from a RSVP tunnel
Syntax
pce entity <1-255>
no pce entity
Parameters
<1-255>
Path computation element entity identifier
Command Mode
RSVP trunk mode
Segment routing policy mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#rsvp-trunk T1 ipv4
(config-trunk)#pce entity 127
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#policy P1
(config-sr-pol)#pce entity 127
pce lsp-delegate
Use this command to delegate all LSPs of a segment routing policy or RSVP trunk to a PCE entity.
Use no form of this command to revoke all LSPs of a segment routing policy or RSVP trunk from a PCE entity.
Syntax
pce lsp-delegate
no pce lsp-delegate
Parameters
None
Default
LSPs are not delegated to a segment routing policy of RSVP trunk.
Command Mode
RSVP trunk mode
Segment routing policy mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#policy P1
(config-sr-pol)#pce lsp-delegate
#configure terminal
(config)#rsvp-trunk T1 ipv4
(config-trunk)#pce lsp-delegate
pce state-report
Use this command to enable sending a PCEP state report.
Use the no form of this command to disable sending a PCEP state report.
Syntax
pce state-report
no pce state-report
Parameters
None
Default
Sending a PCEP state report is disabled.
Command Mode
RSVP trunk mode
Segment routing policy mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#policy P1
(config-sr-pol)#pce state-report
#configure terminal
(config)#rsvp-trunk T1 ipv4
(config-trunk)#pce state-report
segment-routing pcep
Use this command to enable segment routing for PCE.
Use the no form of this command to disable the segment-routing.
Command Syntax
segment-routing pcep
no segment-routing pcep
Parameters
None
Command Mode
PCEP mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#pce configuration 1
(config-pcep)#capability
(config-pcep-cap)#segment-routing pcep
show pcep segment-routing lsp
Use this command to display information about PCEP segment routing tunnels.
Command Syntax
show pcep segment-routing lsp brief
show pcep segment-routing lsp <1-1048575> pce <1-255>
Parameters
<1-1048575>
LSP identifier
<1-255>
Path computation element entity identifier
brief
Brief information
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#show pcep segment-routing lsp 1 pce 1
==============================================================
Tunnel ID : 1
PCEP Entity : 1
Request ID : 0
SRP ID : 0
Tunnel Name : p1
Symbolic Pathname : SR_LSP_1
Admin Status : UP
PCEP Peer : 20.0.0.3
PLSP-ID : 1
CP-ID : 12
Source Address : 1.1.1.1
Destination Address : 2.2.2.2
Extended Tunnel ID : 0.0.0.0
Tunnel Type : NSM SR Policy
PCEP Tunnel Delegate State : Delegation Enabled
PCEP Tunnel Report State : Report Enabled
PCE Initiated : No
Tunnel FSM Recent Event : New Session UP
Request Flag : None Set
Error Flag : None Set
Number of LSPs : 1
LSP ID : 0
Binding value info :
Binding value : 25600
Owner : PCC (local policy)
Alloc Mode : DYNAMIC
Oper Status : UP
SR ERO Hop Count : 1
SR ERO Hops :
Segment Type : 1
SID Label : 16002
SR RRO Hop Count : 1
SR RRO Hops :
Segment Type : 1
SID Label : 16002
Pending Updates : No pending updates