enhanced (forwarding-class-accounting)
Syntax
enhanced { overhead-bytes overhead-value (0-255 bytes); traffic-type (ucast | mcast); family (ipv4 | ipv6 | both ); direction (ingress | egress | both); }
Hierarchy Level
[edit interfaces interface-name forwarding-class-accounting], [edit interfaces interface-name unit logical-unit-number forwarding-class-accounting]
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.
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.
|
||||||||||||||||||||||||||||||||||||
traffic-type (ucast | mcast) |
Traffic to be counted can be unicast only or multicast only.
|
||||||||||||||||||||||||||||||||||||
family (ipv4 | ipv6 | both) |
Traffic to be counted can be IPv4, IPv6, or both.
|
||||||||||||||||||||||||||||||||||||
direction (ingress | egress | both) |
Traffic can be inbound to the interface, outbound, or 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.