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.
config>qos>frame-based-accounting
The following is a sample configuration output that shows the enabling of frame-based accounting.
*A:Dut-1>config>qos>frame-based-accounting# ingress-enable
*A:Dut-1>config>qos>frame-based-accounting# egress-enable
*A:Dut-1>config>qos>frame-based-accounting# info
----------------------------------------------
ingress-enable
egress-enable
----------------------------------------------
*A:Dut-1>config>qos>frame-based-accounting#
The following is a sample configuration output that shows the disabling of frame-based accounting.
*A:Dut-1>config>qos>frame-based-accounting# no ingress-enable
*A:Dut-1>config>qos>frame-based-accounting# no egress-enable
*A:Dut-1>config>qos>frame-based-accounting# info detail
----------------------------------------------
no ingress-enable
no egress-enable
----------------------------------------------
*A:Dut-1>config>qos>frame-based-accounting#