show segment-routing policy
Use this command to display segment routing v6 policy information (display basic/detailed information for all SR policies).
Command Syntax
show segment-routing policy (detail|)
Parameters
None
Defaults
detail
Display details of segment routing policies
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
PE2# show segment-routing policy detail
Policy-Name: p1 Color 1 End-point cafe:1:2::11 Tunnel-ID: 1
Admin-Status: UP Oper-Status: UP for 00:03:39
State Transition Count: 3
CP ID: 2, Active
Preference: 200 Path Type: Explicit CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[LABEL]: Label :cafe:1:2:a11:1001::
Out-if: ce62 Out-label-stack: cafe:1:2:a11:1001::
Attributes:
Configured:
Explicit segment-list Name: l1
CP ID: 1
Preference: 100 Path Type: Explicit CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[LABEL]: Label :cafe:1:2:a11:1001::
Out-if: ce62 Out-label-stack: cafe:1:2:a11:1001::
Attributes:
Configured:
Explicit segment-list Name: l
PE2# sho segment-routing policy
Policy-Name Color End-point State Forwarding-Info
p1 1 cafe:1:2::11 UP cafe:1:2:a11:1001::/ce62
Last modified date: 10/20/2023