show policer
Syntax
show policer <detail> <policer-name>
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
detail | (Optional) Display additional statistics and counters. Requires the enhanced-policer statement to be enabled at the [edit chassis] hierarchy level. Note:
|
policer-name | (Optional) Display the number of policed packets for the specified policer. |
<null> | Displays the number of policed packets for all configured policers. |
Required Privilege Level
view
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.
Field Name |
Field Description |
||||||
---|---|---|---|---|---|---|---|
|
Name of the policer. Policier detail also includes the following statistics:
|
||||||
|
|
||||||
|
Total number of packets policed by the specified policer. |
Sample Output
- show policer (Junos OS Evolved)
- show policer (MX Series)
- show policer (non MX Series Router)
- show policer (Aggregate Policer, non MX Series Router)
- show policer detail (MX Series Router running MPC 1 or MPC 2 line cards)
show policer (Junos OS Evolved)
In Junos OS Evolved, the output of this command doesn't display the default Address Resolution Protocol (ARP) policer because it isn't needed. Distributed denial of service (DDoS) protection replaces the functionality of the default ARP policer.
user@host> show policer Policers: Name Bytes Packets __default_arp_mgmt0__ 0 0 __default_arp_mgmt1__ 0 0 __default_icmpv4_mgmt__ 0 0 __default_icmpv6_mgmt__ 0 0 __default_mcast_mgmt0__ 0 0 __default_mcast_mgmt1__ 0 0
show policer (MX Series)
user@host> show policer Policers: 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 (non MX Series Router)
user@host> show policer Policers: Name Bytes Packets __default_arp_policer__ NA 5242 pol-2M-ge-1/2/0.1-inet-i NA 103723 pol-2M-ge-1/2/0.1-inet6-i NA 77278 pol-2M-ge-1/2/0.1-mpls-i NA 67984 pol-2M-ge-1/2/0.1001-vpls-i NA 651537 pol-2M-ge-1/2/0.2001-vpls-i NA 651809 pol-2M-ge-1/2/0.3001-ccc-i NA 647939
show policer (Aggregate Policer, non MX Series Router)
user@host> show policer Policers: Name Bytes Packets __default_arp_policer__ NA 0 P1-ae0.0-log_int-o NA 0 P2-ge-7/0/2.0-inet-o NA 0 P2-ge-7/0/2.0-inet6-o NA 0 __policer_tmpl__-term NA 0 __policer_tmpl__-fc0 NA 0 __policer_tmpl__-fc0 NA 0 __policer_tmpl__-fc1 NA 0 __policer_tmpl__-fc0 NA 0 __policer_tmpl__-fc1 NA 0 __policer_tmpl__-fc2 NA 0 __policer_tmpl__-fc0 NA 0 __policer_tmpl__-fc1 NA 0 __policer_tmpl__-fc2 NA 0 __policer_tmpl__-fc3 NA 0
show policer detail (MX Series Router running MPC 1 or MPC 2 line cards)
user@host> show policer detail Policers: Name Bytes Packets __default_arp_policer__ OOS 0 0 Offered 0 496 Transmitted 0 496 P1-xe-1/0/0.0-inet-i OOS 0 11329 Offered 0 111188 Transmitted 0 99859
Release Information
Command introduced before Junos OS Release 7.4.
The command show policer detail
was introduced in
Junos OS Release 12.3.