policer (MAC)
Syntax
policer { input cos-policer-name; output cos-policer-name; }
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number accept-source-mac mac-address mac-address], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number accept-source-mac mac-address mac-address]
Description
For Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i router), and 100-Gigabit Ethernet Type 5 PIC with CFP, configure MAC policing.
On MX Series routers with Gigabit Ethernet or Fast Ethernet PICs, the following considerations apply:
Interface counters do not count the 7-byte preamble and 1-byte frame delimiter in Ethernet frames.
In MAC statistics, the frame size includes MAC header and CRC before any VLAN rewrite/imposition rules are applied.
In traffic statistics, the frame size encompasses the L2 header without CRC after any VLAN rewrite/imposition rule.
Options
input cos-policer-name
—Name of one policer to specify the premium bandwidth
and aggregate bandwidth.
output cos-policer-name
—Name
of one policer to specify the premium bandwidth and aggregate bandwidth.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.