beautypg.com

Show ip ospf database – LevelOne GTL-2691 User Manual

Page 1505

background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1505 –

show ip ospf

database

This command shows information about different OSPF Link State

Advertisements (LSAs) stored in this router’s database.

S

YNTAX

show ip ospf [process-id] database

[asbr-summary | external | network | nssa-external | router

| summary] [adv-router ip-address | link-state-id |

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

be displayed. (Range: 1-65535)
adv-router - IP address of the advertising router. If not entered,

information about all advertising routers is displayed.
ip-address - IP address of the specified router. If no address is

entered, information about the local router is displayed.
link-state-id - The network portion described by an LSA. The link-

state-id entered should be:

An IP network number for Type 3 Summary and External LSAs

A Router ID for Router, Network, and Type 4 AS Summary LSAs

Also, note that when an Type 5 ASBR External LSA is describing a

default route, its link-state-id is set to the default destination

(0.0.0.0).

self-originate - Shows LSAs originated by this router.
asbr-summary - Shows information about Autonomous System

Boundary Router summary LSAs.
external - Shows information about external LSAs.
network - Shows information about network LSAs.
nssa-external - Shows information about NSSA external LSAs.
router - Shows information about router LSAs.
summary - Shows information about summary LSAs.

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLES

The following shows output for the show ip ospf database command.

Console#show ip ospf database

OSPF Router with ID (192.168.0.2) (Process ID 1)

Router Link States (Area 0.0.0.0)

Link ID ADV Router Age Seq# CkSum Link count

192.168.0.2 192.168.0.2 225 0x80000004 0xdac5 1

192.168.0.3 192.168.0.3 220 0x80000004 0xd8c4 1