Usage Scenario
To view PCEP session information, run the display pce protocol session command. The command output contains the peer IP address, parameters on both ends, the session status, and causes for session errors.
Run the display pce protocol session command to view the PCEP session status. If the State field is IDLE, a PCEP session fails to be established. Perform the following operations for fault diagnosis:The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display pce protocol session verbose
Session IP : 192.168.1.2
Session ID : 57
State : UP
Keepalive Timer : 30
Hold Timer : 120
Peer Keepalive Timer : 30
Peer Hold Timer : 120
Session Capability : Stateful PCE-Init Segment-Routing Segment-Routing-IPv6 Label-Stitch Multipath
Session Preference : 0(YES)
Session Active Time : 2020-07-20 03:05:08
Last session down reason : None
Notification Status : Normal
Maximum Segment Depth : 10
Stitch Label Base : 321536
Stitch Label Size : 10240
Dscp Value : 6
PCC Multipath Number : 64
PCE Multipath Number : 64
Delegate Timer Remain : 1
State Timer Remain : -
<HUAWEI> display pce protocol session
Peer IP State Session ID
10.2.2.2 UP 100
Item | Description |
---|---|
Session ID | PCEP session ID. |
Session IP | IP address of the PCEP session. |
Session Active Time | Date and time when a PCEP session was established. |
Session Preference | Default priority of a PCEP session. |
Session Capability | PCEP session capability. |
State | PCEP session status:
|
State Timer Remain | Remaining time of the status timeout timer, in seconds. |
Keepalive Timer | Value of the local Keepalive timer. |
Hold Timer | Value of the local hold timer. |
Peer IP | IP address of a server that establishes a PCEP session with a local client. |
Peer Keepalive Timer | Value of the peer Keepalive timer. |
Peer Hold Timer | Value of the peer Hold timer. |
Last session down reason | Reason why the last recorded session went down:
|
Notification Status | Notification status of a PCEP session. |
Maximum Segment Depth | Maximum SID depth (MSD) of SR-MPLS TE. |
Stitch Label Base | Start value of a stitching label. |
Stitch Label Size | Count of stitching labels. |
Dscp Value | DiffServ code point (DSCP). |
PCC Multipath Number | Maximum number of paths that can be installed during forwarding by the PCC for each PCEP tunnel. |
PCE Multipath Number | Maximum number of paths that can be computed for each PCEP tunnel. |
Delegate Timer Remain | Remaining time of the re-delegate timer, in seconds. |