Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

enhanced (forwarding-class-accounting)

Syntax

Hierarchy Level

Description

Specify the traffic and type for which you want to apply counters. A single aggregate counter per forwarding class can be used for inet and inet6 flows. Forwarding class accounting applies to transit traffic only, not host-generated or host-bound traffic. For ingress, only packets forwarded to the fabric are counted. For egress, only packets forwarded to the WAN are counted. Non-relevant network protocols such as ARP, BFD, and EOAM, as well as dropped packets, are not counted.

Note:

Forwarding class accounting (enhanced mode) is not supported in hyper-mode (forwarding-options).

Options

overhead-bytes overhead-value

The number of overhead-bytes to be accounted.

  • Range: 0 through 255 bytes

  • Default: If zero, or no value is specified, the number of overhead-bytes will be determined by the encapsulation configured on the interface. For Ethernet, the default values are as follows:

    Untagged DIX, includes CRC

    18

    Single-tagged DIX, includes CRC

    22

    Double-tagged DIX, includes CRC

    26

    VLAN-bridge (CRC)

    4

    VLAN-CCC (CRC)

    4

    Untagged VLAN-TCC, includes CRC

    18

    Single-tagged VLAN-TCC, includes CRC

    22

    Double-tagged VLAN-TCC, includes CRC

    26

    VLAN-VPLS (CRC)

    4

    Packet over SONET (POS) interfaces on an MPC are dependent on the frame check sequence (FCS) settings on the interface, which may be two or four bytes. The default values for POS interfaces are as follows:

    PPP (Layer 2 overhead plus FCS)

    4+ (2 or 4)

    Cisco-HDLC (Layer 2 overhead plus FCS)

    4+ (2 or 4)

    Frame-relay (Layer 2 overhead plus FCS)

    4+ (2 or 4)

    Cisco-HDLC-CCC (FCS)

    2 or 4

    Cisco-HDLC-TCC (FCS)

    2 or 4

    PPP-CCC (FCS)

    2 or 4

    PPP-TCC (FCS)

    2 or 4

    Frame-relay-CCC (FCS)

    2 or 4

    Frame-relay-TCC (FCS)

    2 or 4

traffic-type (ucast | mcast)

Traffic to be counted can be unicast only or multicast only.

  • Default: not enabled, i.e., both unicast and multicast are counted

family (ipv4 | ipv6 | both)

Traffic to be counted can be IPv4, IPv6, or both.

  • Default: both

direction (ingress | egress | both)

Traffic can be inbound to the interface, outbound, or both.

  • Default: both

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.1 in MX Series.