Users Guide
through the new router, other routers will not use a path through the router as a transit path to forward trac 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-time
or on-startup wait-for-bgp [
wait-time
]), the maximum metric of 65535 is always announced in LSAs
sent by the router.
Example
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-for-bgp
Dell(conf-router_ospf)#exit
Dell(conf)#show ip ospf
Routing Process ospf 10 with ID 100.1.1.1 Virtual router default-vrf
Supports only single TOS (TOS0) routes
It is an Area Border Router
Originating router lsas with maximum metric
Time remaining 00:07:07
Condition : On-Startup while BGP is converging for 600 secs. State : Active
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Convergence Level 0
Min LSA origination 5 secs, Min LSA arrival 1 secs
Number of area in this router is 2, normal 2 stub 0 nssa 0
Area BACKBONE (0)
Number of interface in this area is 1
SPF algorithm executed 3 times
Area ranges are
Area 1
Number of interface in this area is 1
SPF algorithm executed 3 times
Area ranges are
Dell(conf)#show ip ospf database router
Exception Flag: Announcing maximum link costs
LS age: 198
Options: (No TOS-capability, DC)
LS Type: Router Links
Link State ID: 2.1.1.1
Advertising Router: 2.1.1.1
LS Seq Number: 80000005
Checksum: 0x9F5D
Length: 48
Number of Links: 2
passive-interface
Disable (suppress) sending routing updates on an interface.
Syntax
passive—interface interface
Open Shortest Path First (OSPFv2 and OSPFv3) 1131










