This chapter provides information to configure frame-based accounting using the command line interface.
This feature when enabled let QoS policies to account for the Ethernet frame overhead (for example, it accounts for the IFG (inter-frame gap) and the preamble). Typically, the IFG and preamble constitutes about 12 + 8 = 20 bytes. The overhead for Ethernet ports uses this value.
A configurable CLI command enables accounting of the frame overhead at ingress or egress. This is a system wide parameter and affects the behavior of the ingress meter or egress rate. When disabled, the queue rates and egress-rate do not account for the Ethernet frame overhead. By default frame-based accounting is disabled for both ingress and egress.
![]() | Note:
|
To enable system-wide consistency in configuring QoS queue and meter rate parameters, the meters used on the system ingress might need to account for Ethernet frame overhead. Network ingress and service ingress meters account for Ethernet frame overhead. A configurable CLI command can enable or disable the frame overhead accounting. This is a system-wide parameter affecting the behavior of all the meters in the system.
If frame overhead consideration is enabled, then queue scheduler accounts for the Ethernet frame overhead. The maximum egress bandwidth accounts for the Ethernet frame overhead (it accounts for the IFG (inter-frame gap) and the preamble). Typically, the IFG and preamble constitutes about 12 + 8 = 20 bytes. The overhead for Ethernet ports uses this value.
A configurable CLI command enables accounting of the frame overhead. This is a system wide parameter and affects the behavior of all egress queues (when frame-based-accounting is enabled on egress port (network ports or access-uplink ports, as applicable), the associated queues also account for frame overhead implicitly). When disabled, the egress-rate command does not account for the Ethernet frame overhead.
Accounting records and statistics do not account for frame overhead.
To enable frame-based accounting, you must perform the following:
The following displays the frame-based accounting configuration:
To enable frame-based-accounting for ingress, you can simply use the ingress-enable command and to enable frame-based-accounting on egress use the egress-enable command. To disable frame-based-accounting for ingress, execute the no ingress-enable command and to disable frame-based-accounting on egress, execute the no egress-enable command.
The following output displays the enabling of frame-based-accounting:
The following output displays the disabling of frame-based-accounting: