How can I get in a straight-forward way the bandwidth policed on a certain interface on IOS-XR.
In IOS, I execute
show policy-map interface Gi1/1.1000
And I get clearly the BW policed on interface
GigabitEthernet1/1.1000
Service-policy output: cos-REF0186382
class-map: class-default (match-any)
Match: any
police :
10600000 bps 1250000 limit 1250000 extended limit
Earl in slot 1 :
0 bytes
30 second offered rate 0 bps
aggregate-forwarded 0 bytes action: transmit
exceeded 0 bytes action: drop
aggregate-forward 0 bps exceed 0 bps
Earl in slot 5 :
1111006353149 bytes
30 second offered rate 204584 bps
aggregate-forwarded 1082398797572 bytes action: transmit
exceeded 28607555577 bytes action: drop
aggregate-forward 210768 bps exceed 0 bps
How can I get similar information on IOS-XR. By similar command, I get counters but no info about configured policed BW.
RP/0/RSP0/CPU0:PE2#show policy-map interface Te0/0/0/1.1000
TenGigE0/0/0/1.1000 direction input: Service Policy not installed
TenGigE0/0/0/1.1000 output: cos-REF123456789
Class class-default
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : 0/0 0
Total Dropped : 0/0 0
Policy cos-po2-REF123456789 Class cos-vo-1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : 0/0 0
Total Dropped : 0/0 0
Policing statistics (packets/bytes) (rate - kbps)
Policed(conform) : 0/0 0
Policed(exceed) : 0/0 0
Policed(violate) : 0/0 0
Policed and dropped : 0/0
Policed and dropped(parent policer) : N/A
Queueing statistics
Queue ID : 65744
High watermark : N/A
Inst-queue-len (packets) : 0
Avg-queue-len : N/A
Taildropped(packets/bytes) : 0/0
Queue(conform) : 0/0 0
Queue(exceed) : 0/0 0
RED random drops(packets/bytes) : 0/0
Policy cos-po2-REF123456789 Class cos-nm-1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : 0/0 0
Total Dropped : 0/0 0
Queueing statistics
Queue ID : 65746
High watermark : N/A
Inst-queue-len (packets) : 0
Avg-queue-len : N/A
Taildropped(packets/bytes) : 0/0
Queue(conform) : 0/0 0
Queue(exceed) : 0/0 0
RED random drops(packets/bytes) : 0/0
WRED profile for WRED Curve 1
RED Transmitted (packets/bytes) : N/A
RED random drops(packets/bytes) : 0/0
RED maxthreshold drops(packets/bytes) : N/A
RED ecn marked & transmitted(packets/bytes): N/A
Policy cos-po2-REF123456789 Class class-default
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : 0/0 0
Total Dropped : 0/0 0
Queueing statistics
Queue ID : 65747
High watermark : N/A
Inst-queue-len (packets) : 0
Avg-queue-len : N/A
Taildropped(packets/bytes) : 0/0
Queue(conform) : 0/0 0
Queue(exceed) : 0/0 0
RED random drops(packets/bytes) : 0/0
WRED profile for WRED Curve 1
RED Transmitted (packets/bytes) : N/A
RED random drops(packets/bytes) : 0/0
RED maxthreshold drops(packets/bytes) : N/A
RED ecn marked & transmitted(packets/bytes): N/A