Debug command

Syntax:

debug ipv6 [debug–type]

no debug ipv6 [debug–type]

no debug <debug–type>

Configures the types of IPv6 messages that are sent to Syslog servers or other configured debug destinations, where debug-type is any of the following event types:

(none) : all IPv6 events

dhcpv6–client <events|packets> : one of the following IPv6 client debug message types

events : DHCPv6 client events

packets : DHCPv6 client packets

dhcpv6–relay <events|packets> : one of the following IPv6 relay debug message types

events : DHCPv6 relay events

packets : DHCPv6 relay packets

forwarding : IPv6 forwarding events

nd : IPv6 neighbor discovery events

packet : all IPv6 packet messages

The no debug ipv6 form of the command stops the sending of debug messages of the specified type.

Configures the types of IPv4 and IPv6 messages that are sent to Syslog servers or other debug destinations, where <debug–type> is any of the following event types:

acl : When a match occurs on an ACL “deny” statement with a log parameter, an ACL message is sent to configured debug destinations. (Default: Disabled - ACL messages for traffic that matches “deny” entries are not sent.)

all : Configures all IPv4 and IPv6 debug message types to be sent to configured debug destinations. (Default: Disabled - No debug messages are sent.)

arp-protect : Configures messages for Dynamic ARP Protection events to be sent to configured debug destinations. (Default: Disabled - No debug messages are sent.)

event : Configures Event Log messages to be sent to configured debug destinations.

Event Log messages are enabled to be automatically sent to debug destinations in the following conditions:
  • If no Syslog server address is configured and you enter the logging command to configure a destination address.

  • If at least one Syslog server address is configured in the startup configuration and the switch is rebooted or reset.

Event log messages are the default type of debug message sent to configured debug destinations.

ip : Configures IPv4 RIP routing messages to be sent to configured debug destinations.

ip [rip <database|event|trigger>] : Configures specified IPv4 RIP message types to be sent to configured debug destinations:
  • database

    Database changes

  • event

    RIP events

  • trigger

    Trigger messages

ipv6 : Configures messages for IPv6 DHCPv6 client and neighbor discovery events to be sent to configured debug destinations.

ipv6 [dhcpv6-client <events|packets>|nd> : Configures one of the following IPv6 message types to be sent to configured debug destinations:
  • dhcpv6-clients events

    DHCPv6 client events

  • dhcpv6-clients packets

    Statistics on DHCPv6 packets transmitted on a switch configured as a DHCPv6 client

  • nd

    Events during IPv6 neighbor discovery

lldp : Configures all LLDP message types to be sent to configured debug destinations.