debug dhcp packet buffer

Configures a buffer to capture DHCP packets.

Syntax

debug dhcp packet buffer [all | circular packet count | clear vrf name | interface ethernet/port-channel | linearpacket count]

Command Default

The buffer wraps around to overwrite earlier captures (circular).

Parameters

circular
Buffer wraps around to overwrite earlier captures.
linear
Buffer stops capture when the packet-count value is reached.
clear
Clears the packet buffer.
all
Captures DHCP packets on all interfaces.
interface
Represents a valid interface such as Ethernet or port channel.

Modes

Privileged EXEC mode

Usage Guidelines

Diagnostic commands are developed and intended for specialized troubleshooting. Work closely with Extreme Networks technical support when running debug or show system internal commands and interpreting their results.

This command configures the capturing buffer behavior by allowing captures to wrap and overwrite earlier captures or stop capturing when a packet-count limit is reached. The current buffer content is cleared when the configuration changes.

Use the no form of this command to disable debugging.

Examples

The following example configures a buffer to capture 510 maximum packets in a circular fashion.

device# debug dhcp packet buffer circular packet-count 510