show running-config segment-routing
Use this command to show any segment routing related running configuration.
Command Syntax
show running-config segment-routing
Parameters
None
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 5.1.
Example
#show running-config segment-routing
!
segment-routing
srv6
locators
locator VPC12
prefix 2981:40:a1::/48
exit-locator
!
exit-locators
!
exit-srv6
!
traffic-engineering
segment-list l1
index 1 segment-type-2 2981:40:a2:0:1001::
index 2 segment-type-2 2981:40:a2:0:3001::
exit-sr-sl
!
policy p1
color 1 end-point 2001::2
candidate-path 1
explicit segment-list l1
exit-pol-cp
!
exit-sr-pol
!
policy p2
color 2 end-point 2001::2
candidate-path 2
explicit segment-list l1
exit-pol-cp
!
exit-sr-pol
!
exit-te
!
Last modified date: 10/20/2023