Debug command

Syntax:

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.