RP/0/RSP0/CPU0:router(config-if)# mac-accounting ingress
This example shows how to enable MAC accounting for the source MAC address on the egress direction:
RP/0/RSP0/CPU0:routerconfigure
RP/0/RSP0/CPU0:routerinterface bundle-ether <bundle-id>
RP/0/RSP0/CPU0:router(config-if)# mac-accounting egress
In order to view the mac-accounting statistics for the configured bundle interface, use the show
mac-accounting bundle-ether <bundle id> command.
Note
Related Commands
DescriptionCommand
Clears MAC accounting statistics for an interface.clear mac-accounting (Ethernet), on page 81
Displays MAC accounting statistics for an interface.show mac-accounting (Ethernet), on page 123
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
100
Ethernet Interface Commands on the Cisco ASR 9000 Series Router
mac-accounting