Mac-Accounting - Cisco ASR 9000 Series Command Reference Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Ethernet Interface Commands on the Cisco ASR 9000 Series Router

mac-accounting

To generate accounting information for IP traffic based on the source and destination Media Access Control
(MAC) addresses on LAN interfaces, use the mac-accounting command in interface configuration mode. To
disable MAC accounting, use the no form of this command.
mac-accounting {egress| ingress}
no mac-accounting {egress| ingress}
Syntax Description
egress
ingress
Command Default
MAC accounting is disabled
Command Modes
Interface configuration
Command History
Release
Release 4.1.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
The mac-accounting command calculates the total packet and byte counts for a LAN interface that receives
or sends IPv4 packets to or from a unique MAC address.
Task ID
Task ID
interface
Examples
This example shows how to enable MAC accounting for the source MAC address on the ingress direction:
RP/0/RSP0/CPU0:routerconfigure
RP/0/RSP0/CPU0:routerinterface bundle-ether <bundle-id>
Generates accounting information for IP traffic based on the destination MAC
addresses (egress direction).
Generates accounting information for IP traffic based on the source MAC addresses
(ingress direction).
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Modification
This command was introduced.
Operations
read, write

mac-accounting

Release 5.3.x
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents