Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

policer (MAC)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
policer {
    input cos-policer-name;
    output cos-policer-name;
}

Hierarchy Level

content_copy zoom_out_map
[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.

Note:

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.

footer-navigation