User guide

9-20 B
LACK
D
IAMOND
U
SER
G
UIDE
R
OUTING
P
ROTOCOLS
D
ISPLAYING
OSPF S
ETTINGS
To display settings for OSPF, use the commands listed in Table 9-5.
R
ESETTING
AND
D
ISABLING
OSPF S
ETTINGS
To return OSPF settings to their defaults, use the commands listed in Table 9-6.
Table 9-5:
OSPF Show Commands
Command Description
show ospf Displays global OSPF information.
show ospf area {<areaid> | all} Displays information about a particular OSPF
area, or all OSPF areas.
show ospf interfaces {vlan <name> | area
<areaid> | all}
Displays information about one or all OSPF
interfaces. If no argument is specific, all
OSPF interfaces are displayed.
show ospf lsdb {detail} {area <areaid> | all}
{router | network | summary_net | summary_asb |
as_external | all}
Displays a table of the current LSDB. You
can filter the display using either the area ID
or the remote router’s router ID, or the
link-state ID. The default is
all
with no
detail. If detail is specified, each entry
includes complete LSA information.
show ospf virtual-link {<areaid> <routerid> | all} Displays virtual link information about a
particular router or all routers.
Table 9-6:
OSPF Reset and Disable Commands
Command Description
config ospf delete [vlan <name> | all] Disables OSPF on one or all VLANs (router
interfaces).
delete ospf area [<areaid> | all] Deletes and OSPF area. Once an OSPF area is
removed, the associated OSPF area and OSPF
interface information is removed.
disable ospf Disables OSPF.
disable ospf export static Disables exporting of statically configured routes.
disable ospf export rip Disables exporting of RIP routes to other OSPF
routers.