show policer
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
Display the number of policed packets for a given policer or an aggregate policer. An aggregate policer is an aggregate of different policers on the same logical interface.
Options
none | — | Display the number of policed packets for all configured policers. |
policer-name | — | (Optional) Display the number of policed packets for the specified policer. |
Required Privilege Level
view
List of Sample Output
show policershow policer (Aggregate Policer)
Output Fields
Table 1 lists the output fields for the show policer command. Output fields are listed in the approximate order in which they appear.
Table 1: show policer Output Fields
Field Name | Field Description |
|---|---|
Name | Name of the policer. |
Bytes | (For policers applied to logical interfaces on I-chip DPCs only) Total number of bytes policed by the specified policer. |
Packets | Total number of packets policed by the specified policer. |
Sample Output
show policer
user@host> show policerPolicers: Name Bytes Packets __default_arp_policer__ 314520 5242 pol-2M-ge-1/2/0.1-inet-i 10372300 103723 pol-2M-ge-1/2/0.1-inet6-i 7727800 77278 pol-2M-ge-1/2/0.1-mpls-i 7070336 67984 pol-2M-ge-1/2/0.1001-vpls-i 65153700 651537 pol-2M-ge-1/2/0.2001-vpls-i 65180900 651809 pol-2M-ge-1/2/0.3001-ccc-i 62202144 647939
show policer (Aggregate Policer)
user@host> show policer Policers: Name Packets __default_arp_policer__ 0 P1-ae0.0-log_int-o 0 P2-ge-7/0/2.0-inet-o 0 P2-ge-7/0/2.0-inet6-o 0 __policer_tmpl__-term 0 __policer_tmpl__-fc0 0 __policer_tmpl__-fc0 0 __policer_tmpl__-fc1 0 __policer_tmpl__-fc0 0 __policer_tmpl__-fc1 0 __policer_tmpl__-fc2 0 __policer_tmpl__-fc0 0 __policer_tmpl__-fc1 0 __policer_tmpl__-fc2 0 __policer_tmpl__-fc3 0