Page 521 / 757 Scroll up to view Page 516 - 520
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
517
67
OSPF DEBUG ENHANCEMENT COMMANDS
The OSPF Debug Enhancement commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
debug ospf show flag
debug ospf neighbor_state_change
state
[enable | disable]
debug ospf interface_state_change
{dr_bdr_selection} state [enable | disable]
debug ospf lsa
{all | originating | installing | receiving | flooding} state [enable | disable]
debug ospf packet
{all | receiving | sending} state [enable | disable]
debug ospf retransmission state
[enable | disable]
debug ospf spf
{all | intra | inter | extern} state [enable | disable]
debug ospf route state
[enable | disable]
debug ospf route redistribution state
[enable | disable]
debug ospf route virtual_link state
[enable | disable]
debug ospf route state
[enable | disable]
debug ospf timer state
[enable | disable]
debug ospf show counter
{packet | neighbor | spf}
debug ospf clear counter
{packet | neighbor | spf}
debug ospf show request_list
debug ospf show redistribution
debug ospf show summary_list
debug ospf show detail
[rt_link | net_link | summary_link | external_link | type7_link]
debug ospf timer state
[enable | disable]
debug ospf log state
[enable | disable]
debug ospf show log state
debug ospf state
[enable | disable]
Each command is listed, in detail, in the following sections.
debug ospf show flag
Purpose
Used to display the OSPF debug flag setting.
Syntax
debug ospf show flag
Description
This command is used to display the OSPF debug flag setting.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Page 522 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
518
Example usage:
To show the current OSPF debug flag setting:
DGS-3627:admin# debug ospf show flag
Command: debug ospf show flag
Current OSPF Flags Setting:
Neighbor State Change
Interface State Change
LSA Originating
LSA Operating
LSA Receiving
LSA Flooding
Packet Receiving
Packet Sending
Retransmission
Timer
DR Selection
Route
Redistribution
Virtual Link
SPF Intra
SPF Inter
SPF Extern
DGS-3627:admin#
debug ospf neighbor_state_change
Purpose
Used to enable or disable debug information flags about neighbor state change.
Syntax
debug ospf neighbor_state_change state [enable | disable]
Description
This command is used to enable or disable debug information flags about neighbor state
change.
Parameters
state
- The state of the OSPF neighbor state change debug.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable OSPF neighbor state change debug:
DGS-3627:admin# debug ospf neighbor_state_change state enable
Command: debug ospf neighbor_state_change state enable
Success.
DGS-3627:admin#
debug ospf interface_state_change
Purpose
Used to enable or disable debug information flags about interface state change.
Syntax
debug ospf interface_state_change {dr_bdr_selection} state [enable | disable]
Description
This command is used to enable or disable debug information flags about interface state
Page 523 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
519
debug ospf interface_state_change
change.
Parameters
dr_bdr_selection
- Used to include or exclude debug information for DR/BDR selection.
state
- The state of the OSPF interface state change debug.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable OSPF interface state change debug:
DGS-3627:admin# debug ospf interface_state_change state enable
Command: debug ospf interface_state_change state enable
Success.
DGS-3627:admin#
debug ospf lsa
Purpose
Used to enable or disable debug information flags about LSA.
Syntax
debug ospf lsa {all | originating | installing | receiving | flooding} state [enable |
disable]
Description
This command is used to enable or disable debug information flags about LSA.
Parameters
all
- Set all LSA debug flags.
originating
- Set LSA originating debug flag.
installing
- Set LSA installing debug flag.
receiving
- Set LSA receiving debug flag.
flooding
- Set LSA flooding debug flag.
state
- The state of the designated debug flag.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable all OSPF LSA debug flags:
DGS-3627:admin# debug ospf lsa all state enable
Command: debug ospf lsa all state enable
Success.
DGS-3627:admin#
debug ospf packet
Purpose
Used to enable or disable debug information flags about packets, including
receiving and
sending.
Syntax
debug ospf packet {all | receiving | sending} state [enable | disable]
Description
This command is used to enable or disable debug information flags about packets, including
receiving and sending.
Parameters
all
- Set all packet debug flags.
receiving
- Set packet receiving debug flag.
Page 524 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
520
debug ospf packet
sending
- Set packet sending debug flag.
state
- The state of the designated debug flag.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable all OSPF packet debug flags:
DGS-3627:admin# debug ospf packet all state enable
Command: debug ospf packet all state enable
Success.
DGS-3627:admin#
debug ospf retransmission
Purpose
Used to enable or disable debug information flags about retransmission.
Syntax
debug ospf retransmission state [enable | disable]
Description
This command is used to enable or disable debug information flags about retransmission.
Parameters
state
- The state of the OSPF retransmission debug flag.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable all OSPF retransmission debug flags:
DGS-3627:admin# debug ospf retransmission state enable
Command: debug ospf retransmission state enable
Success.
DGS-3627:admin#
debug ospf spf
Purpose
Used to enable or disable debug information flags about SPF calculation, including intra-
area, inter-area, and AS external.
Syntax
debug ospf spf {all | intra | inter | extern} state [enable | disable]
Description
This command is used to enable or disable debug information flags about SPF calculation,
including intra-area, inter-area, and AS external.
Parameters
all
- Set all SPF debug flags.
intra
- Set intra-area SPF debug flag.
inter
- Set inter-area SPF debug flag.
extern
- Set AS external SPF debug flag.
state
- The state of the designated debug flag.
Restrictions
Only Administrator level users can issue this command.
Example usage:
Page 525 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
521
To enable all OSPF SPF debug flags:
DGS-3627:admin# debug ospf spf all state enable
Command: debug ospf spf all state enable
Success.
DGS-3627:admin#
debug ospf route
Purpose
Used to enable or disable debug information flags about OSPF route adding, modifying, and
deleting.
Syntax
debug ospf route state [enable | disable]
Description
This command is used to enable or disable debug information flags about OSPF route
adding, modifying, and deleting.
Parameters
state
- The state of OSPF route debug flag.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable all OSPF route calculating debug flags:
DGS-3627:admin# debug ospf route state enable
Command: debug ospf route state enable
Success.
DGS-3627:admin#
debug ospf redistribution
Purpose
Used to enable or disable debug information flags about importing other routing protocol
routes into OSPF.
Syntax
debug ospf route redistribution state [enable | disable]
Description
This command is used to enable or disable debug information flags about importing other
routing protocol routes into OSPF.
Parameters
state
- The state of OSPF redistribution debug.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable all OSPF route redistribution debug flags:
DGS-3627:admin# debug ospf redistribution state enable
Command: debug ospf redistribution state enable
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top