C613-50631-01 Rev A Command Reference for IE340 Series 1178
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
OSPF COMMANDS
SHOW
IP OSPF DATABASE
show ip ospf database
Overview Use this command to display a database summary for OSPF information. Include
the process ID parameter with this command to display information about
specified instances.
For information on filtering and saving command output, see the “Getting Started
with AlliedWare Plus” Feature Overview and Configuration Guide.
Syntax
show ip ospf [<process-id>] database
[self-originate|max-age|adv router <adv-router-id>]
Mode User Exec and Privileged Exec
Examples To display the ABRs and ASBRs for all OSPF instances, use the command:
awplus# show ip ospf border-routers
To display the ABRs and ASBRs for the specific OSPF instance 721, use the
command:
awplus# show ip ospf 721 border-routers
Output Figure 28-4: Example output from the show ip ospf database command
Parameter Description
<process-id> <0-65535> The ID of the router process for which information
will be displayed.
self-originate Displays self-originated link states.
max-age Displays LSAs in MaxAge list. It maintains the list of the all LSAs in
the database which have reached the max-age which is 3600
seconds.
adv-router Advertising Router LSA.
<adv-router-id> The Advertising Router ID (usually entered in IPv4 address
format A.B.C.D).
Note that this ID component no longer represents an address; it
is simply a character string that has an IPv4 address format.
OSPF Router process 1 with ID (10.10.11.60)ď€
Router Link States (Area 0.0.0.1)ď€
Link ID ADV Router Age Seq# CkSum Link ď€
countď€
10.10.11.60 10.10.11.60 32 0x80000002 0x472b 1ď€
OSPF Router process 100 with ID (10.10.11.60)ď€
Router Link States (Area 0.0.0.0)ď€
Link ID ADV Router Age Seq# CkSum Link ď€
countď€
10.10.11.60 10.10.11.60 219 0x80000001 0x4f5d 0ď€