beautypg.com

Ospf debug commands – Brocade FastIron SX, FCX, and ICX Diagnostic Reference User Manual

Page 76

background image

64

Brocade FastIron SX, FCX, and ICX Diagnostic Reference

53-1003076-02

OSPF debug commands

4

OSPF debug commands

The following debug commands display information about Open Shortest Path First (OSPF)
transactions.

debug ip ospf

Syntax: [no] debug ip ospf A.B.C.D

This command generates OSPF debugging information for the specified IP address. Output
indicates state transitions, hello packets received, LSA acknowledgements received, LSA
processing, flooding information, and database descriptions, as shown in the following example.

Brocade# debug ip ospf 10.1.1.2

OSPF: debug ospf neighbor 10.1.1.2

Brocade(config)# OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1,

state DR, DR 10.1.1.1, BDR 10.1.1.2

OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED

OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR

10.1.1.1, BDR 10.1.1.2

OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED

OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR

10.1.1.1, BDR 10.1.1.2

OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED

debug ip ospf adj

Syntax: [no] debug ip ospf adj decimal

This command displays information about OSPF adjacencies and authentication, including
designated router (DR) and backup designated router (BDR) elections, sent and received hello
packets, neighbor state transitions, and database description information. The decimal variable
refers to a specific adjacency event.

Brocade# debug ip ospf adj

OSPF: adjacency events debugging is on

Brocade# debug ip ospf adj OSPF: send hello on area 0 interface 10.1.1.1

OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR

10.1.1.1, BDR 10.1.1.2

OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED

OSPF: send hello on area 0 interface 10.1.1.1

OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR

10.1.1.1, BDR 10.1.1.2

OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED

OSPF: send hello on area 0 interface 10.1.1.1

OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR

10.1.1.1, BDR 10.1.1.2

OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED

debug ip ospf all-vrfs route

Syntax: [no] debug ip ospf all-vrfs route

This command displays OSPF debugging information for all VPN routing and forwarding activity.

Brocade# debug ip ospf all-vrfs route

SPF: redistribute into ospf 10.3.13.0 with ffffff00 forwarding address 10.4.4.3

OSPF: originate external lsa 10.3.13.0 with ffffff00

OSPF: Originate external advs ext fwding address 10.4.4.3