OSPF Debug and Show Commands
5-108 Configuring the Internet Protocol
Syntax
debug ip ospf nbr
Syntax of the “no” Form
Thenoformofthiscommandreturnsthedebugfunctiontothedefault:
no debug ip ospf nbr
Mode
EXECconfiguration:XSR>
Examples
ThefollowingexampledisplaysaTransmitDatabaseDescriptionpacket:
OSPF: Tx DDP. nbr:10.0.0.1 mtu:05dc opt:42 flg:00 seq:00002400 from
GigabitEthernet 2.1
Thefollowingexampledisplaysareceiveddatabasedescriptionpacketfromincominginterface
GigabitEthernet2.1‐I:
OSPF: Rx DDP. nbr:10.0.0.1 mtu:05dc opt:42 flg:03 seq:00002401 from
GigabitEthernet 2.1
ThefollowingexampledisplaysaNeighborChangingstatewheretheneighborrouterIDis
10.0.0.1,theneighborIPaddressis2.2.3.21,andthepreviousstateisEXCHANGE.
OSPF: NBR change state. nbr:10.0.0.1 ipa:1.2.3.21 state:EXCHANGE
Thefollowingexampleindicatestheneighborisaslaveforthedatabaseexchange:
OSPF: NBR is slave. nbr:10.0.0.1 ipa:2.2.3.21 state:EX_START
Parameter Descriptions
TxDDP OSPFTransmitDatabaseDescriptionpacket
nbr:10.0.0.1 NeighborIPaddress
mtu:05dc InterfaceMTU
opt:42 Options
flg:00 Flags
seq:00002400 Sequencenumber
fromGigabitEthernet2.1 Outgoinginterface
Rx DDP OSPFReceivedDatabaseDescriptionpacket
from GigabitEthernet 2.1 Incominginterface
NBR change state NeighborChangingstate
nbr:10.0.0.1 NeighborRouterID
ipa:2.2.3.21 NeighborIPaddress
state:EXCHANGE PreviousState
NBR is slave Neighborisaslaveforadatabaseexchange.