beautypg.com

Show ip ospf route – LevelOne GTL-2691 User Manual

Page 1513

background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1513 –

E

XAMPLE

Console#show ip ospf neighbor

ID Pri State Address Interface

--------------- ------ ---------------- --------------- --------------

192.168.0.3 1 FULL/BDR 192.168.0.3 VLAN1

Console#

show ip ospf route

This command displays the OSPF routing table.

S

YNTAX

show ip ospf [process-id] route

process-id - The ID of the router process for which information will

be displayed. (Range: 1-65535)

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

Console#show ip ospf route

OSPF process 1:

Codes: C - connected, D - Discard, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

O 10.10.0.0/24 [10] is directly connected, fe1/1, Area 0.0.0.0

O 10.10.11.0/24 [10] is directly connected, fe1/2, Area 0.0.0.0

O 10.10.11.100/32 [10] is directly connected, lo, Area 0.0.0.0

E2 10.15.0.0/24 [10/50] via 10.10.0.1, VLAN1

Table 214: show ip ospf neighbor - display description

Field

Description

Neighbor ID

Neighbor’s router ID

Pri

Neighbor’s router priority

State

OSPF state and identification flag
States include:
Down – Connection down
Attempt – Connection down, but attempting contact (for non-broadcast

networks)

Init – Have received Hello packet, but communications not yet established
Two-way – Bidirectional communications established
ExStart – Initializing adjacency between neighbors
Exchange – Database descriptions being exchanged
Loading – LSA databases being exchanged
Full – Neighboring routers now fully adjacent
Identification flags include:
D – Dynamic neighbor
S – Static neighbor
DR – Designated router
BDR – Backup designated router

Address

IP address of this interface

Interface

The interface to which this neighbor is attached