492
14.6.5.1.9 show ip ospf border-routers
Command: show ip ospf [<process-id>] border-routers
Function:
Display ABR and ASBR under all OSPF instances
Parameter: <process-id>
is the process ID, ranging between 0~65535
Default:
Not displayed
Command Mode:
All modes
Example:
Switch#show ip ospf border-routers
OSPF process 0 internal Routing Table
Codes: i - Intra-area route, I - Inter-area route
i 10.15.0.1 [10] via 10.10.0.1, Vlan1, ASBR, Area 0.0.0.0
i 172.16.10.1 [10] via 10.10.11.50, Vlan2, ABR, ASBR, Area 0.0.0.0
14.6.5.1.10 show ip ospf database
Command: show ip ospf [<process-id>] database[{
[<linkstate_id>]asbr-summary[{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]externel [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]network [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]nssa-external [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]opaque-area [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]opaque-as [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]opaque-link [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]router [{self-originate |adv-router <advertiser_router>}]
| [<linkstate_id>]summary [{self-originate |adv-router <advertiser_router>}]
|self-originate | max-age }]
Function:
Display the OSPF link state data base messages
Parameter: <process-id>
is the process ID, ranging between 0~65535
<linkstate_id>
Link state ID, shown in point divided demical system
<advertiser_router>
is the ID of Advertising router, shown in point divided demcial IP
address format
Default:
Not displayed
Command Mode:
All modes
Usage Guide:
According to the output messages of this command, we can view the
OSPF link state database messages
Example:
Switch#show ip ospf database
Router Link States (Area 0.0.0.2)
Link ID ADV Router Age Seq# CkSum Link count
192.168.1.2 192.168.1.2 254 0x80000031 0xec21 1
192.168.1.3 192.168.1.3 236 0x80000033 0x0521 2