Cisco IOS XR IP Addresses and Services Debug Command Reference, Release 3.6
VRRP Debug Commands on Cisco IOS XR Software

Table Of Contents

VRRP Debug Commands on Cisco IOS XR Software

debug vrrp all

debug vrrp edm

debug vrrp events

debug vrrp packets


VRRP Debug Commands on Cisco IOS XR Software


This chapter describes the commands used to monitor, debug, and fix Virtual Router Redundancy Protocol (VRRP) problems.

debug vrrp all

To enable Virtual Router Redundancy Protocol (VRRP) server activity error, event, and packet debugging, use the debug vrrp all command in EXEC mode. To disable VRRP server activity error, event, and packet debugging, use the no form of this command.

debug vrrp all [interface-type interface-instance] [vrid virtual-router-id]

no debug vrrp all [interface-type interface-instance] [vrid virtual-router-id]

Syntax Description

interface-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

interface-instance

(Optional) Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

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

vrid

(Optional) Displays debug information for a specified virtual router or group.

virtual-router-id

(Optional) Virtual router ID. Range is 1 to 255.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


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

vrrp

read, write


Examples

The following example shows how to enable VRRP server activity debugging:

RP/0/RP0/CPU0:router# debug vrrp all

debug vrrp edm

To enable Virtual Router Redundancy Protocol (VRRP) embedded device manager (EDM) debugging, use the debug vrrp edm command in EXEC mode. To disable VRRP EDM debugging, use the no form of this command.

debug vrrp edm [interface-type interface-instance] [vrid virtual-router-id]

no debug vrrp edm [interface-type interface-instance] [vrid virtual-router-id]

Syntax Description

interface-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

interface-instance

(Optional) Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

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

vrid

(Optional) Displays debug information for a specified virtual router or group.

virtual-router-id

(Optional) Virtual router ID. Range is 1 to 255.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


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

vrrp

read, write


Examples

The following example shows how to enable VRRP EDM debugging on 10-Gigabit Ethernet interface 0/2/0/1 and a virtual router with the ID 45:

RP/0/RP0/CPU0:router# debug vrrp edm TenGigE 0/2/0/1 vrid 33

debug vrrp events

To enable Virtual Router Redundancy Protocol (VRRP) event debugging, use the debug vrrp command in EXEC mode. To disable VRRP event debugging, use the no form of this command.

debug vrrp events [external | protocol [detail | errors] | track] [interface-type interface-instance] [vrid virtual-router-id]

no debug vrrp events [external | protocol [detail | errors] | track] [interface-type interface-instance] [vrid virtual-router-id]

Syntax Description

external

(Optional) Displays VRRP external event debug information.

protocol

(Optional) Displays VRRP protocol event debug information.

detail

(Optional) Displays VRRP packets detailed debug information.

errors

(Optional) Displays VRRP protocol error debug information.

track

(Optional) Displays VRRP tracking event debug information.

interface-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

interface-instance

(Optional) Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

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

vrid

(Optional) Displays debug information for a specified virtual router or group.

virtual-router-id

(Optional) Virtual router ID. Range is 1 to 255.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


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

vrrp

read, write


Examples

The following example shows how to enable VRRP event debugging:

RP/0/RP0/CPU0:router# debug vrrp event

debug vrrp packets

To enable Virtual Router Redundancy Protocol (VRRP) packet debugging, use the debug vrrp packets command in EXEC mode. To disable VRRP packet debugging, use the no form of this command.

debug vrrp packets [detail] [interface-type interface-instance] [vrid virtual-router-id]

no debug vrrp packets [detail] [interface-type interface-instance] [vrid virtual-router-id]

Syntax Description

detail

(Optional) Displays detailed VRRP packet debug information.

interface-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

interface-instance

(Optional) Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

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

vrid

(Optional) Displays debug information for a specified virtual router or group.

virtual-router-id

(Optional) Virtual router ID. Range is 1 to 255.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


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

vrrp

read, write


Examples

The following example shows how to enable VRRP packet debugging on 10-Gigabit Ethernet interface 0/2/0/1 and virtual router with the ID 45:

RP/0/RP0/CPU0:router# debug vrrp packets detail TenGigE 0/2/0/1 vrid 45