This chapter provides information to configure frame-based accounting using the CLI.
When enabled, frame-based accounting lets QoS policies account for the Ethernet frame overhead (for example, it accounts for the IFG (inter-frame gap) and the preamble). Typically, the IFG and preamble constitute about 20 bytes (12 + 8). The QoS meter/policer and shaper use this overhead for Ethernet ports when allocating bandwidth.
On 7210 SAS platforms, a configurable CLI command enables accounting of the frame overhead per port. This command affects the behavior of the SAP ingress FC meter, SAP ingress aggregate meter, ingress queue rate, and egress queue rate of all the SAPs configured on the port. When disabled, the SAP ingress FC meter, SAP ingress aggregate meter, ingress queue rate, and egress queue rate, along with the port egress rate, do not account for the Ethernet frame overhead. When enabled, the SAP ingress FC meter, SAP ingress aggregate meter, ingress queue rate, and egress queue rate, along with the port egress rate, account for the Ethernet frame overhead. By default, frame-based accounting is disabled for the port.
Accounting records and statistics account for frame overhead for SAPs configured on the port when FBA is enabled on the port.
On the 7210 SAS-K 2F1C2T, frame-based accounting is supported on both access ports and access-uplink ports.
On the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C, frame-based accounting is supported on network ports, hybrid ports, access ports, and access-uplink ports.
On 7210 SAS platforms, frame-based accounting is supported per port with the capability to enable and disable it per port for both ingress and egress. In other words, it is not possible to enable or disable it only for ingress or for egress; both can be enabled together or disabled together.
To enable frame-based-accounting for both ingress and egress on a port, execute the command config>port>ethernet>frame-based-accounting.
To disable frame-based-accounting for both ingress and egress on a port, execute the command config>port>ethernet>no frame-based-accounting.
The following is a sample configuration output that shows the enabling of frame-based accounting.
The following is a sample configuration output that shows the disabling of frame-based accounting.
For more information about the command, refer to the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Interface Configuration Guide.