Cisco IOS XR Interface and Hardware Component Debug Command Reference, Release 3.5
Ethernet Interface Debug Commands on Cisco IOS XR Software

Table Of Contents

Ethernet Interface Debug Commands on Cisco IOS XR Software

debug mac-accounting


Ethernet Interface Debug Commands on Cisco IOS XR Software


This chapter describes the commands used to Ethernet interfaces on a router running Cisco IOS XR software.

debug mac-accounting

To turn on event and interface debug messages related to MAC accounting, use the debug mac-accounting command in EXEC mode. To disable MAC-accounting debug messages, use the no form of this command.

debug mac-accounting {all | events | internal} [interface type instance | location node-id]

no debug mac-accounting {all | events | internal} [interface type instance | location node-id]

Syntax Description

all

Turns on both event and interface messages related to MAC accounting debugging.

events

Turns on event messages related to MAC accounting debugging.

internal

Turns on internal messages related to MAC accounting debugging.

interface type instance

(Optional) Turns on MAC accounting debug messages for a specific interface. Replace type with the interface type. Replace instance with a physical interface, virtual interface, or link bundle identifier.

Note For more information about the syntax for the router, use the question mark (?) online help function

location node-id

(Optional) Turns on MAC accounting debug messages for a specific location. The node-id argument is entered in the rack/slot/module notation. If you include the location node-id keyword argument, then debugging messages are turned on for the specified location only.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

interface

read


Examples

The following example shows how to use the debug mac-accounting all command to turn on both event and interface messages related to MAC accounting debugging:

RP/0/RP0/CPU0:router# debug mac-accounting all