This chapter provides information to configure frame-based accounting using the command line interface.
This feature, when enabled, 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 constitutes about 12 + 8 = 20 bytes. The QoS policer/meter and shaper uses 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 not possible to enable/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 output of the enabling of frame-based-accounting.
The following is a sample output of 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.