Validation 1
PE1#show segment-routing policy
Policy-Name Color End-point State Forwarding-Info
policy_odn_1_1001_1.1.1.1 1001 1.1.1.1 UP 18001/po36
PE1#show segment-routing policy detail
Policy-Name: policy_odn_1_1001_1.1.1.1 Color 1001 End-point 1.1.1.1 Tunnel-ID: 1
Admin-Status: UP Oper-Status: UP for 00:01:53
State Transition Count: 1
CSPF Retry Limit: 100 CSPF Retry Interval: 10
ODN-Policy: True
Binding SID :
BSID: 0
Alloc mode: Dynamic
Oper State: Programmed
CP ID: 1, Active
Preference: 100 Path Type: Dynamic(ospf) CP Origin: Local
CP state: Valid
Segment List:
Total no. of segments: 1
Segment0[LABEL]: Label :18001
Out-if: po36 Out-label-stack: 18001
Attributes:
Configured:
Affinity:
Metric-type: TE
IP Constraints:
PE1#show mpls vrf-forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup, B - BGP FTN
(m) - Service mapped over multipath transport
(e) - Service mapped over LDP ECMP
Code FEC FTN-ID Nhlfe-ID Pri LSP-Type Out-Label Out-Intf Nexthop
B> 101.1.1.0/24 1 111 Yes LSP_DEFAULT 29504 - 1.1.1.1
PE1#show mpls vrf-table
Output for IPv4 VRF table with id: 2
Primary FTN entry with FEC: 101.1.1.0/24, id: 1, row status: Active, Tunnel-Policy: N/A
Owner: BGP, distance: 0, Action-type: Redirect to Tunnel, Exp-bits: 0x0, Incoming DSCP: none
Transport Tunnel id: 1, Protected LSP id: 0, QoS Resource id: 0, Description: N/A, BGP Color: 1001, Color: 1001
Cross connect ix: 42, in intf: - in label: 0 out-segment ix: 111
Owner: BGP, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 111, owner: BGP, Stale: NO, BGP out intf: po36, transport out intf: po36, out label: 29504
Nexthop addr: 1.1.1.1 cross connect ix: 42, op code: Push and Lookup
PE1#show ip bgp vpnv4 all summary
BGP router identifier 65.1.1.1, local AS number 100
BGP table version is 2
1 BGP AS-PATH entries
0 BGP community entries
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 100 321 318 2 0 0 00:02:20 1
Total number of neighbors 1
Total number of Established sessions 1
PE1#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 101:101 (Default for VRF vrf1)
*>i 101.1.1.0/24 1.1.1.1 0 100 0 ?
*> l 201.1.1.0 0.0.0.0 0 100 32768 ?
Announced routes count = 1
Accepted routes count = 1
Route Distinguisher: 101:101
*>i 101.1.1.0/24 1.1.1.1 0 100 0 ?
Announced routes count = 0
Accepted routes count = 1
PE1#