Specifications

Table Of Contents
Chapter 26 ospf Commands
The ospf commands let you display and set parameters for the Open Shortest Path First
(OSPF) routing protocol.
Command Summary
Table 17 lists the ospf commands. The sections following the table describe the
command syntax.
Table 17: ospf commands
ospf add interface
<interfacename-or-IPaddr>
[to-area
<area-addr>
|backbone] [type broadcast|non-broadcast]
ospf add nbma-neighbor
<hostname-or-IPaddr>
to-interface
<hostname-or-IPaddr>
[eligible]
ospf add network
<IPaddr/mask>
[to-area
<area-addr>
|backbone]
[restrict] [host-net]
ospf add stub-host [to-area
<area-addr>
|backbone] [cost
<num>
]
ospf add virtual-link
<number-or-string>
[neighbor
<IPaddr>
]
[transit-area
<area-num>
]
ospf create area
<area-num>
[backbone]
ospf create-monitor destination
<hostname-or-IPaddr>
ospf monitor
<option-list>
ospf set area
<area-num>
[stub] [stub-cost
<num>
]
[authentication-method none|simple|md5]
ospf set ase-defaults [preference
<num>
] [cost
<num>
]
[type
<num>
] [inherit-metric]
ospf set export-interval
<num>
ospf set export-limit
<num>
Chapter 26