ospf¶
Note
requires a Product License.
OSPF configuration.
vsr running config# vrf <vrf> routing ospf
enabled (pushed)¶
Enable or disable OSPF.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# enabled true|false
- Default value
true
router-id¶
OSPF router-id in IP address format.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# router-id ROUTER-ID
ROUTER-ID |
An IPv4 address. |
abr-type¶
OSPF ABR type.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# abr-type ABR-TYPE
|
Description |
---|---|
cisco |
Alternative ABR, cisco implementation. |
ibm |
Alternative ABR, IBM implementation. |
shortcut |
Shortcut ABR. |
standard |
Standard behavior (RFC2328). |
- Default value
cisco
write-multiplier¶
Maximum number of interface serviced per write.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# write-multiplier <uint8>
- Default value
20
auto-cost¶
Calculate OSPF interface cost according to reference bandwidth (Mbits per second).
vsr running config# vrf <vrf> routing ospf
vsr running ospf# auto-cost <uint32>
- Default value
100000
opaque-lsa¶
Enable or disable opaque LSA capability.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# opaque-lsa true|false
compatible-rfc1583¶
Enable or disable compatibility with RFC 1583.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# compatible-rfc1583 true|false
default-metric¶
Set metric of redistributed routes.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# default-metric <uint32>
log-adjacency-changes¶
Log changes in adjacency state.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# log-adjacency-changes LOG-ADJACENCY-CHANGES
|
Description |
---|---|
standard |
Standard logs. |
detail |
Log all state changes. |
refresh-timer¶
LSA refresh interval (in seconds).
vsr running config# vrf <vrf> routing ospf
vsr running ospf# refresh-timer <uint16>
- Default value
10
area¶
OSPF area parameters.
vsr running config# vrf <vrf> routing ospf area <area>
|
Description |
---|---|
<uint32> |
OSPF area ID. |
<ipv4-address> |
An IPv4 address. |
default-cost¶
Default summary cost of a NSSA or stub area.
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># default-cost <uint32>
export-list¶
Set the filter for networks announced to other areas (access-list name).
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># export-list <string>
import-list¶
Set the filter for networks from other areas announced to the specified one (access-list name).
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># import-list <string>
shortcut¶
Enable/Disable shortcutting through the area.
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># shortcut true|false
nssa¶
Configure OSPF area as nssa.
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># nssa summary true|false translate TRANSLATE
translate¶
NSSA-ABR translate.
translate TRANSLATE
|
Description |
---|---|
always |
Configure NSSA-ABR to always translate. |
candidate |
Configure NSSA-ABR for translate election (default). |
never |
Configure NSSA-ABR to never translate. |
- Default value
candidate
stub¶
Configure OSPF area as stub.
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># stub summary true|false
virtual-link¶
Virtual links.
vsr running config# vrf <vrf> routing ospf area <area> virtual-link <virtual-link>
<virtual-link> |
An IPv4 address. |
authentication¶
Enable authentication.
vsr running config# vrf <vrf> routing ospf area <area> authentication
message-digest¶
If true, use message-digest authentication.
vsr running config# vrf <vrf> routing ospf area <area> authentication
vsr running authentication# message-digest true|false
filter-list¶
Filter networks between OSPF areas.
vsr running config# vrf <vrf> routing ospf area <area> filter-list
input¶
Filter networks sent to this area (prefix-list name).
vsr running config# vrf <vrf> routing ospf area <area> filter-list
vsr running filter-list# input <string>
output¶
Filter networks sent from this area (prefix-list name).
vsr running config# vrf <vrf> routing ospf area <area> filter-list
vsr running filter-list# output <string>
range¶
Summarize routes matching address/mask (border routers only).
vsr running config# vrf <vrf> routing ospf area <area>
vsr running area <area># range <range> action ACTION cost <uint32>
<range> |
An IPv4 prefix: address and CIDR mask. |
action¶
Advertise this range, do not advertise or announce as another prefix.
action ACTION
|
Description |
---|---|
advertise |
Advertise this range (default). |
not-advertise |
Do not advertise this range. |
<ipv4-prefix> |
An IPv4 prefix: address and CIDR mask. |
- Default value
advertise
default-information¶
Control distribution of default information.
vsr running config# vrf <vrf> routing ospf default-information
always¶
If true, always advertise default route.
vsr running config# vrf <vrf> routing ospf default-information
vsr running default-information# always true|false
metric¶
OSPF default metric.
vsr running config# vrf <vrf> routing ospf default-information
vsr running default-information# metric <uint32>
metric-type¶
OSPF metric type for default routes.
vsr running config# vrf <vrf> routing ospf default-information
vsr running default-information# metric-type <uint8>
- Default value
2
route-map¶
Route map reference.
vsr running config# vrf <vrf> routing ospf default-information
vsr running default-information# route-map <string>
distance¶
OSPF administrative distance.
vsr running config# vrf <vrf> routing ospf distance
all¶
Default OSPF administrative distance.
vsr running config# vrf <vrf> routing ospf distance
vsr running distance# all <uint8>
external¶
OSPF administrative distance for external routes.
vsr running config# vrf <vrf> routing ospf distance
vsr running distance# external <uint8>
inter-area¶
OSPF administrative distance for inter-area routes.
vsr running config# vrf <vrf> routing ospf distance
vsr running distance# inter-area <uint8>
intra-area¶
OSPF administrative distance for intra-area routes.
vsr running config# vrf <vrf> routing ospf distance
vsr running distance# intra-area <uint8>
max-metric¶
OSPF maximum / infinite-distance metric.
vsr running config# vrf <vrf> routing ospf max-metric
administrative¶
If true, mark as administratively applied, for an indefinite period.
vsr running config# vrf <vrf> routing ospf max-metric
vsr running max-metric# administrative true|false
on-shutdown¶
Advertise stub-router prior to full shutdown of OSPF.
vsr running config# vrf <vrf> routing ospf max-metric
vsr running max-metric# on-shutdown <uint8>
on-startup¶
Automatically advertise stub Router-LSA on startup of OSPF.
vsr running config# vrf <vrf> routing ospf max-metric
vsr running max-metric# on-startup <uint32>
neighbor¶
Neighbor router.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# neighbor <neighbor> poll-interval <uint16> priority <uint8>
<neighbor> |
An IPv4 address. |
network¶
Enable routing on an IP network.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# network <network> area AREA
<network> |
An IPv4 prefix: address and CIDR mask. |
area (mandatory)¶
OSPF area ID.
area AREA
|
Description |
---|---|
<uint32> |
No description. |
<ipv4-address> |
An IPv4 address. |
passive-interface¶
Suppress routing updates on an interface.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# passive-interface <passive-interface> address ADDRESS
<passive-interface> |
An interface name. |
timers¶
Adjust routing timers.
vsr running config# vrf <vrf> routing ospf timers
lsa¶
Throttling link state advertisement delays.
vsr running config# vrf <vrf> routing ospf timers lsa
min-arrival¶
Minimum delay in receiving new version of a LSA.
vsr running config# vrf <vrf> routing ospf timers lsa
vsr running lsa# min-arrival <uint32>
throttle¶
Throttling adaptive timer.
vsr running config# vrf <vrf> routing ospf timers throttle
lsa¶
LSA delay (msec) between transmissions.
vsr running config# vrf <vrf> routing ospf timers throttle
vsr running throttle# lsa <uint16>
spf¶
OSPF SPF timers.
vsr running config# vrf <vrf> routing ospf timers throttle spf
delay (mandatory)¶
Delay (msec) from first change received till SPF calculation.
vsr running config# vrf <vrf> routing ospf timers throttle spf
vsr running spf# delay <uint32>
init-hold-time (mandatory)¶
Initial hold time (msec) between consecutive SPF calculations.
vsr running config# vrf <vrf> routing ospf timers throttle spf
vsr running spf# init-hold-time <uint32>
max-hold-time (mandatory)¶
Maximum hold time (msec).
vsr running config# vrf <vrf> routing ospf timers throttle spf
vsr running spf# max-hold-time <uint32>
distribute-list¶
Filter networks in routing updates.
vsr running config# vrf <vrf> routing ospf distribute-list out <distribute-list>
|
Description |
---|---|
cisco |
Alternative ABR, cisco implementation. |
bgp |
Border Gateway Protocol (BGP). |
connected |
Connected routes (directly attached subnet or host). |
kernel |
Kernel routes (not installed via the zebra RIB). |
isis |
Intermediate system to intermediate system (ISIS). |
rip |
Routing Information Protocol (RIP). |
static |
Statically configured routes. |
table |
Non-main Kernel Routing Table. |
nhrp |
Next Hop Resolution Protocol (NHRP). |
access-list (mandatory)¶
Access list name.
vsr running config# vrf <vrf> routing ospf distribute-list out <distribute-list>
vsr running distribute-list out <distribute-list># access-list <string>
redistribute¶
Redistribute information from another routing protocol.
vsr running config# vrf <vrf> routing ospf
vsr running ospf# redistribute <redistribute> metric <uint32> metric-type <uint8> \
... route-map <string> id <uint16>
|
Description |
---|---|
bgp |
Border Gateway Protocol (BGP). |
connected |
Connected routes (directly attached subnet or host). |
kernel |
Kernel routes (not installed via the zebra RIB). |
isis |
Intermediate system to intermediate system (ISIS). |
ospf |
Open Shortest Path First. |
rip |
Routing Information Protocol (RIP). |
static |
Statically configured routes. |
table |
Non-main Kernel Routing Table. |