xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
281
DGS-3620-28SC:admin# debug ospf lsa all state enable
Command: debug ospf lsa all state enable
Success.
DGS-3620-28SC:admin#
To enable all OSPF packet debug flags:
DGS-3620-28SC:admin# debug ospf packet all state enable
Command: debug ospf packet all state enable
Success.
DGS-3620-28SC:admin#
To enable OSPF retransmission debug flag:
DGS-3620-28SC:admin# debug ospf retransmission state enable
Command: debug ospf retransmission state enable
Success.
DGS-3620-28SC:admin#
To enable all OSPF SPF debug flags:
DGS-3620-28SC:admin# debug ospf spf all state enable
Command: debug ospf spf all state enable
Success.
DGS-3620-28SC:admin#
20-16
debug ospf clear counter
Description
This command is used to reset the OSPF statistic counters.
Format
debug ospf clear counter {packet | neighbor | spf}
Parameters
packet
- (Optional) Specifies to reset the OSPF packet counter.
neighbor
- (Optional) Specifies to reset the OSPF neighbor event counter.
spf
- (Optional) Specifies to reset the OSPF SPF event counter.
If the parameter is not specified, all OSPF counters will be cleared.