forwarding-class-accounting
(Forwarding Class Accounting)
forwarding-class-accounting { direction }
(Enhanced CoS Accounting)
forwarding-class-accounting { enhanced }
Hierarchy Level
[edit interfaces interface-name], [edit interfaces interface-name unit logical-unit-number]
Description
Forwarding class accounting (non-enhanced mode) is enabled for IPv4, IPv6, MPLS, Layer 2 and other packets simply by enabling the feature.
Forwarding class accounting (enhanced mode) is not supported in hyper-mode (forwarding-options).
Both bytes and packet total are counted. For Layer 2 traffic, only bytes are counted. Flow rates are measured. Counters can be enabled in ingress, egress or in both directions. Statistics are accounted before queueing drop stage, so will include packets that might get dropped in queueing.
CoS-based interface counters (enhanced mode) are supported for IPv4 and IPv6 aggregate routes on Layer 2.
Both bytes and packet total are counted. Flow rates are not measured. The counters can be configured to exclude overhead bytes (such as protocol encapsulations) so end-customer packets can be differentiated from other traffic.
Disable or delete forwarding-class-accounting
by
removing the statement from the interface configuration–for
example, by typing delete interfaces interface-name forwarding-class-accounting
.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Forwarding class accounting statement (non-enhanced mode) introduced in Junos OS Release 13.3R3.
Enhanced CoS Accounting statement introduced in Junos OS Release 14.1.