EasyManuals Logo

Cisco A9K-SIP-700 Command Reference Guide

Cisco A9K-SIP-700
1138 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #119 background imageLoading...
Page #119 background image
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
Generates accounting information for IP traffic based on the destination MAC
addresses (egress direction).
egress
Generates accounting information for IP traffic based on the source MAC addresses
(ingress direction).
ingress
Command Default
MAC accounting is disabled
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.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
OperationsTask ID
read, writeinterface
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>
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
99
Ethernet Interface Commands on the Cisco ASR 9000 Series Router
mac-accounting

Table of Contents

Other manuals for Cisco A9K-SIP-700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco A9K-SIP-700 and is the answer not in the manual?

Cisco A9K-SIP-700 Specifications

General IconGeneral
BrandCisco
ModelA9K-SIP-700
CategoryNetwork Router
LanguageEnglish

Related product manuals