Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

forwarding-class-accounting

date_range 04-Jun-24

(Forwarding Class Accounting)

content_copy zoom_out_map
forwarding-class-accounting {
    direction
}

(Enhanced CoS Accounting)

content_copy zoom_out_map
forwarding-class-accounting { 
    enhanced 
}

Hierarchy Level

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

Note:

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.

footer-navigation