Service Manual
Command History
Version Description
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
7.8.1.0 Added support for Multi-Process OSPF.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
pre-6.1.1.1 Introduced on the E-Series.
max-metric router-lsa
Congure the maximum cost of 65535 on a new router so that it functions as a stub router in the network and OSPF trac
destined to other networks is not forwarded on a path through the router.
C-Series, E-Series, Z-Series, S4810
Syntax max-metric router-lsa [on-startup {announce-time | wait-for-bgp [wait-time]}]
To remove the maximum metric assignment from an OSPF router and send LSAs with the currently
congured cost, enter no max-metric router-lsa [on-startup {announce-time | wait-for-bgp [wait-time]}].
Parameters
on-startup
announce-time
Enter the time (in seconds) following boot-up during which the maximum cost
(65535) for transmitting OSPF trac on router interfaces is announced in LSAs
and the router functions as a stub router.
Range: 5 to 86400 seconds.
on-startup wait-
for-bgp [wait-time]
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 congured OSPF cost. Range: 5 to 86400
seconds.
Defaults Not Congured.
Command Modes
ROUTER OSPF
Command History
Version 9.1.(0.0) Introduced on the S4810 and Z9000.
Version 8.4.2.5 Introduced on C-Series and E-Series TeraScale.
Version 8.4.1.3 Introduced on E-Series ExaScale.
Usage Information
When you bring a new router onto an OSPF network, you can congure the router to function as a stub
router by globally reconguring the OSPF link cost so that other routers do not use a path that forwards
996
Open Shortest Path First (OSPFv2 and OSPFv3)










