OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing Commands : show mpls counters sr-policy
show mpls counters sr-policy
Use this command to display traffic statistics for Segment Routing Policies.
Command Syntax
show isis (WORD|) segment-routing state
Parameters
policy-name
segment-routing policy name
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 4.1.
Note: Note: For Qumran, counters are not available for transit nodes.
Example
#show mpls counters sr-policy policy-name p1
policy-name : p1
Tunnel-ID : 1
Rx pkts : 0 Rx bytes : 0
Tx pkts : 7270160 Tx bytes : 581614640
7039#show mpls counters sr-policy
policy-name : p1
Tunnel-ID : 1
Rx pkts : 0 Rx bytes : 0
Tx pkts : 9610670 Tx bytes : 768855600
 
 
Table 1-3 explains the show command output fields.
Table 1-3: show mpls counters sr-policy output field
Field
Description
policy-name
Segment-routing policy name.
Rx packets
Number of SR labeled(SID) packets received from the neighbor.
Rx bytes
Size of sr labeled packets(SID) received from the neighbor.
Tx packets
Number of SR labeled(SID) packets sent to the neighbor.
Tx bytes
Size of SR labeled(SID) packets sent to the neighbor.
 
 
Last modified date: 10/20/2023