Troubleshooting

Debug/Syslog Operation

Syntax: [no] debug < debug-type> (Continued)

event

Event Log messages are automatically enabled to be sent to debug destinations in these conditions:

If no Syslog server address is configured and you enter the logging <syslog-ip-addr>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

Enables all IP-OSPF messages for configured destinations.

ip [ ospf < adj event flood lsa-generation packet [ packet-type] retransmission spf > ]

For the configured debug destination(s):

ospf < adj event flood lsa-generation packet [ packet-type] retransmission spf > — Enables the specified IP-OSPF

message type.adj — Adjacency changes. event — OSPF events.

flood — Information on flood messages. lsa-generationNew LSAs added to database.

packet [ packet-type] All OSPF packet messages sent and received on the switch, where packet-typeenables only the specified OSPF packet type. Valid values are:

ddDatabase descriptions hello — Hello messageslsa — Link-state advertisements lsr — Link-state requestslsu — Link-state updates

retransmission — Retransmission timer messages. spf — Path recalculation messages.

ip [ rip < database event trigger > ]rip < database event trigger > > — Enables the specified RIP

message type for the configured destination(s). database— Display database changes. event— Display RIP events.

trigger— Display trigger messages.
C-51