Cisco IOS XR IP Addresses and Services Debug Command Reference, Release 3.5
DHCP Debug Commands on Cisco IOS XR Software
Downloads: This chapterpdf (PDF - 332.0KB) The complete bookPDF (PDF - 1.49MB) | Feedback

DHCP Debug Commands on Cisco IOS XR Software

Table Of Contents

DHCP Debug Commands on Cisco IOS XR Software

debug dhcp server

debug dhcp ipv6


DHCP Debug Commands on Cisco IOS XR Software


This chapter describes the commands used to debug Dynamic Host Configuration Protocol (DHCP) problems.

debug dhcp server

To enable Dynamic Host Configuration Protocol (DHCP) server debugging, use the debug dhcp server command in EXEC mode. To disable DHCP server debugging, use the no form of this command.

debug dhcp server {configuration | errors | events | packet}

no debug dhcp server {configuration | errors | events | packet}

Syntax Description

configuration

Displays configuration information from SYSDB.

errors

Displays DHCP errors.

events

Reports server events, like address assignments and database updates.

packet

Decodes message receptions and transmissions.


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

The errors keyword was added.

Release 3.5.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

ip-services

read


Examples

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

RP/0/RP0/CPU0:router# debug dhcp server configuration

debug dhcp ipv6

To enable Dynamic Host Configuration Protocol (DHCP) for IP version 6 (DHCPv6) debugging, use the debug dhcp ipv6 command in EXEC mode. To disable debugging of DHCPv6, use the no form of this command.

debug dhcp ipv6 [database | detail | relay]

no debug dhcp ipv6 [database | detail | relay]

Syntax Description

database

Enables debugging for the DHCP for IPv6 binding database.

detail

Displays detailed information about DHCP for IPv6 message decoding.

relay

Displays DHCPv6 relay debugging information.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.4.0

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

Release 3.5.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

ip-services

read


Examples

The following example shows how to enable DHCP debugging for IPv6:

RP/0/RP0/CPU0:router# debug dhcp ipv6