ネットワーク上のクラス マップ、ポリシー マップ、トラフィック キューのトラフィック統計情報を表示するには、show policy-map interface コマンドを使用します。
次に、show policy-map interface コマンドのサンプル出力を示します。この例では、Traffic-5-PR という名前のポリシー マップがシリアル インターフェイス 1/0/0 にアタッチされており、このポリシーマップに
3 つのトラフィック クラスが含まれています。Voice-5-PR クラスには 32 パケットのキュー制限が設定されており、廃棄されたパケットは 0 です。Gold-5-PR クラスも、パケットが廃棄されていないことを示しています。Silver-5-PR
クラスには 64 パケットのキュー制限が設定されており、廃棄されたパケットは 0 です。
Router# show policy-map interface serial 1/0/0
Serial1/0/0
Service-policy output: Traffic-Parent (1051)
Class-map: class-default (match-any) (1068/0)
2064335 packets, 120273127 bytes
5 minute offered rate 1000 bps, drop rate 0 bps
Match: any (1069)
126970 packets, 3982597 bytes
5 minute rate 0 bps
Shape : 6000 kbps
Service-policy : Traffic-5-PR (1052)
Class-map: Voice-5-PR (match-all) (1053/1)
82310 packets, 4938600 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip precedence 5 (1054)
Output queue: 0/32; 82310/4938600 packets/bytes output, 0 drops
Absolute priority
Queue-limit: 32 packets
Police:
304000 bps, 1536 limit, 0 extended limit
conformed 82312 packets, 4938720 bytes; action: transmit
exceeded 0 packets, 0 bytes; action: drop
violated 0 packets, 0 bytes; action: drop
Class-map: Gold-5-PR (match-any) (1058/2)
1125476 packets, 67528560 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip precedence 3 4 (1059)
1125476 packets, 67528560 bytes
5 minute rate 0 bps
Output queue: 0/128; 1125503/67530180 packets/bytes output, 0 drops
Bandwidth : 188 kbps (Weight 3)
Class-map: Silver-5-PR (match-any) (1061/3)
697908 packets, 41874480 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip precedence 0 1 2 (1062)
697908 packets, 41874480 bytes
5 minute rate 0 bps
Output queue: 0/64; 697919/41875140 packets/bytes output, 0 drops
Bandwidth : 71 kbps (Weight 1)
Random-detect (precedence-based):
Exponential weight: 9 (1/512)
Current average queue length: 0 packets
-------------------------------------------------
Min Max Prob Rand-Drops Tail-Drops
-------------------------------------------------
0 16 32 1/10 0 0
1 18 32 1/10 0 0
2 20 32 1/10 0 0
3 22 32 1/10 0 0
4 24 32 1/10 0 0
5 26 32 1/10 0 0
6 28 32 1/10 0 0
7 30 32 1/10 0 0
Queue-limit: 64 packets
Class-map: class-default (match-any) (1066/0)
158641 packets, 5931487 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any (1067)
158641 packets, 5931487 bytes
5 minute rate 0 bps
Output queue: 0/128; 31672/1695625 packets/bytes output, 0 drops