cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
264
Views
0
Helpful
1
Replies

OSPF command query

kian_hong2000
Level 1
Level 1

I read from the book that

"sh ip ospf [process id] database network" display the network link-state information.

Any idea how to read and why we need to issue this command instead of the normal "show ip ospf interface" or "show ip ospf database"? Thanks

OSPF Router with ID (1.1.1.1) (Process ID 100)

Net Link States (Area 0)

Routing Bit Set on this LSA

Now in buffer table

Table index: 55 min 24 sec

LS age: 1573

Options: (No TOS-capability, DC)

LS Type: Network Links

Link State ID: 10.152.130.19 (address of Designated Router)

Advertising Router: 1.1.1.1

LS Seq Number: 800022DA

Checksum: 0x3372

Length: 32

Network Mask: /29

Attached Router: 1.1.1.1

Attached Router: 2.2.2.2

Secondly, any idea why are the ip of Attached router not connected to the router itself? What is the actual meaning of that?

1 Reply 1

royalblues
Level 10
Level 10

The sh ip ospf database command displays sumamry of all the LSA types on the router

sh ip ospf database network will give you detail information of the network LSA.

2. Network LSAs are sent by the DR in a multiaccess network like ethernet. the attached router indicates the router IDs of the ospf neighbors on that segment

http://www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1rospf.html#wp1019107

Narayan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card