show interfaces policers
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced on PTX Series Packet Transport Switches for Junos OS Release 12.1.
Description
Display all policers that are installed on each interface in a system.
Options
none | — | Display policer information about all interfaces. |
interface-name | — | (Optional) Display filter information about a particular interface. |
Additional Information
For information about how to configure policers, see the Junos Policy Framework Configuration Guide. For related operational mode commands, see the Junos Routing Protocols and Policies Command Reference.
Required Privilege Level
view
List of Sample Output
show interfaces policersshow interfaces policers interface-name
show interfaces policers (PTX Series Packet Transport Switches)
Output Fields
Table 1 lists the output fields for the show interfaces policers command. Output fields are listed in the approximate order in which they appear.
Table 1: show interfaces policers Output Fields
Field Name | Field Description |
---|---|
Interface | Name of the interface. |
Admin | Interface state: up or down. |
Link | Link state: up or down. |
Proto | Protocol configured on the interface. |
Input Policer | Policer to be evaluated when packets are received on the interface. It has the format interface-name-in-policer. |
Output Policer | Policer to be evaluated when packets are transmitted on the interface. It has the format interface-name-out-policer. |
Sample Output
show interfaces policers
user@host> show interfaces policers
Interface Admin Link Proto Input Policer Output Policer ge-0/0/0 up up ge-0/0/0.0 up up inet iso gr-0/3/0 up up ip-0/3/0 up up mt-0/3/0 up up pd-0/3/0 up up pe-0/3/0 up up ... so-2/0/0 up up so-2/0/0.0 up up inet so-2/0/0.0-in-policer so-2/0/0.0-out-policer iso so-2/1/0 up down ...
show interfaces policers interface-name
user@host> show interfaces policers so-2/1/0
Interface Admin Link Proto Input Policer Output Policer so-2/1/0 up down so-2/1/0.0 up down inet so-2/1/0.0-in-policer so-2/1/0.0-out-policer iso inet6
show interfaces policers (PTX Series Packet Transport Switches)
user@host> show interfaces policers em0
Interface Admin Link Proto Input Policer Output Policer em0 up up em0.0 up up inet