Defaults

Command Modes

on-startup wait-for-bgp

[wait-time]

Not Configured.

ROUTER OSPF

Range: 5 to 86400 seconds.

Enable the router to announce the maximum metric in OSPF LSAs until the BGP routing table converges with updated routes. Default: 600 seconds.

You can also specify the time (in seconds) that the router waits for the BGP routing table to converge before it stops advertising the maximum cost in LSAs and advertises the router’s currently configured OSPF cost. Range: 5 to 86400 seconds.

Command History

Usage Information

Example

Version 9.1. Introduced on the S4810 and Z9000.

(0.0)

Version 8.4.2.5 Introduced on C-Series and E-Series TeraScale.

Version 8.4.1.3 Introduced on E-Series ExaScale.

When you bring a new router onto an OSPF network, you can configure the router to function as a stub router by globally reconfiguring the OSPF link cost so that other routers do not use a path that forwards traffic destined to other networks through the new router for a specified time until the router’s switching and routing functions are up and running, and the routing tables in network routers have converged.

By using the max-metric router-lsa command, you force the link cost of all OSPF non-stub links to the maximum link cost (65535). The advertisement of this maximum metric causes other routers to assign a cost to the new router that is higher than the cost of using an alternate path. Because of the high cost assigned to paths that pass through the new router, other routers will not use a path through the router as a transit path to forward traffic to other networks.

Use the max-metric router-lsa command to gracefully shut down or reload a router without dropping packets destined for other networks.

NOTE: If you enter the max-metric router-lsa command without an option (on-startup announce-timeor on-startup wait-for-bgp [wait-time]), the maximum metric of 65535 is always announced in LSAs sent by the router.

max-metric router-lsa

Dell(conf)#router ospf 10 Dell(conf-router_ospf)#log-adjacency-changes Dell(conf-router_ospf)#network 4.1.1.0/24 area 0 Dell(conf-router_ospf)#network 1.1.1.0/24 area 1 Dell(conf-router_ospf)#max-metric router-lsa on-startup wait-

1162

Open Shortest Path First (OSPFv2 and OSPFv3)

Page 1162
Image 1162
Dell 9.7(0.0) manual Defaults Command Modes, Wait-time