Cisco Cisco IOS Software Release 12.2(14)S

ページ / 14
      OSPF Stub Router Advertisement
Configuration Tasks
5
Cisco IOS Release 12.2(14)S
Configuring Advertisement on Startup
To configure a router that is running OSPF to advertise a maximum metric during startup, use the 
following commands beginning in global configuration mode:
Configuring Advertisement Until Routing Tables Converge
To configure a router that is running OSPF to advertise a maximum metric until BGP routing tables 
converge, use the following commands beginning in global configuration mode:
Configuring Advertisement for a Graceful Shutdown
To configure a router that is running OSPF to advertise a maximum metric for a graceful shutdown or 
removal from the network, use the following commands beginning in global configuration mode:
Command
Purpose
Step 1
Router(config)# router ospf process-id
Places the router in router configuration mode and 
enables an OSPF routing process.
Step 2
Router(config-router)# max-metric router-lsa 
on-startup 
announce-time
Configures OSPF to advertise a maximum metric 
during startup for a configured period of time. The 
announce-time argument is a configurable timer 
that must follow the on-startup keyword to be 
configured. There is no default timer value. The 
configurable time range is from 5 to 
86,400 seconds.
Command
Purpose
Step 1
Router(config)# router ospf process-id
Places the router in router configuration mode and 
enables an OSPF routing process.
Step 2
Router(config-router)# max-metric router-lsa 
on-startup wait-for-bgp
Configures OSPF to advertise a maximum metric 
until BGP routing tables have converged or until 
the default timer has expired. The wait-for-bgp 
keyword must follow the on-startup keyword to be 
configured. The default timer value is 600 seconds.
Command
Purpose
Step 1
Router(config)# router ospf process-id
Places the router in router configuration mode and 
enables an OSPF routing process.
Step 2
Router(config-router)# max-metric router-lsa
Configures OSPF to advertise a maximum metric 
until the router is shut down. 
Step 3
Router(config-router)# exit
Exits router configuration mode.