Viewing the Neighbor Table

.isco com

Neighbor

ID

Pri

State

Dead Time

Address

Interface

192.168.

0.13

1

2WAY/DROTHER

00:00:31

192.168

0

13

Ethernet0

192.168.

0.14

1

FULL/BDR

00:00:38

192.168

0

14

Ethernet0

192.168.

0.11

1

2WAY/DROTHER

00:00:36

192.168

0

11

Ethernet0

192.168.

0.12

1

FULL/DR

00:00:38

192.168

0

12

Ethernet0

• OSPF over Ethernet—Multiaccess Network

Neighbor ID

Pri

State

Dead Time

Address

Interface

192.168.0.11

1

FULL/ -

00:00:39

10.1.1.2

Seriall

• OSPF over HDLC—Point-to-point Network

© 2002, Cisco Systems, Inc. All rights reserved.

Cisco CCIE Prep v1.0—Mod

The show ip ospf neighbor command displays the OSPF neighbor database. This command can be used to verify the existence of OSPF neighbors including: their router IDs, their role on the segment (DR, BDR, or DROTHER), their current neighbor state (DOWN, ATTEMPT, INIT, 2WAY, EXSTART, EXCHANGE, LOADING, or FULL), and the interface off which they were learned.

Table 6-26: < show ip ospf neighbor [type number] [neighbor-id] [detail]> Command

Command

Description

show ip ospf neighbor type number neighbor-id detail

Displays the OSPF neighbor database.

type - Optional keyword to display only neighbors off of a certain interface type.

number - Optional keyword to display neighbors off of a certain interface.

neighbor-id - Optional keyword to display only a certain neighbor. detail - Displays detailed information about neighbors.

The top output in the figure above is for OSPF on a broadcast multi-access Ethernet network. This is the expected output from a DROTHER (non DR/BDR) on the Ethernet segment. The neighbor states of FULL/DR and FULL/BDR indicate that this router has reached the FULL state with the DR and BDR. The lower output in the figure is for OSPF over a point-to-point network. A state of FULL/- indicates that this router has reached the full state with its neighbor and that there is no DR or BDR on this segment (because it is a point-to-point network).

0 0

Post a comment