®
xStack
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
DGS-3120-24TC:admin#debug ospf retransmission state enable
Command: debug ospf retransmission state enable
Success.
DGS-3120-24TC:admin#
To enable all OSPF SPF debug flags:
DGS-3120-24TC:admin#debug ospf spf all state enable
Command: debug ospf spf all state enable
Success.
DGS-3120-24TC:admin#
22-28 debug ospf clear counter (RI Mode Only)
Description
This command is used to reset the OSPF statistic counters.
Format
debug ospf clear counter {packet | neighbor | spf}
Parameters
packet - (Optional) Specify to reset the OSPF packet counter.
neighbor - (Optional) Specify to reset the OSPF neighbor event counter.
spf - (Optional) Specify to reset the OSPF SPF event counter.
If the parameter is not specified, all OSPF counters will be cleared.
Restrictions
Only Administrator-level users can issue this command.
Example
To clear all OSPF statistic counters:
DGS-3120-24TC:admin#debug ospf clear counter
Command: debug ospf clear counter
Success.
DGS-3120-24TC:admin#
22-29 debug ospf log state (RI Mode Only)
Description
This command is used to enable or disable the OSPF debug log.
265