Disabling OSPF Graceful Restart helper mode per VRF
You can prevent your router from participating in OSPF Graceful Restart with VRF neighbors by using the following command.
device(config)# router ospf vrf blue
device(config-ospf-router)# graceful-restart helper-disable
Syntax: [no] graceful-restart helper-disable
This command disables OSPF Graceful Restart helper mode.
The default behavior is to help the restarting neighbors.
Conguring OSPF router advertisement
You can congure OSPF router advertisement in the router ospf mode orrouter ospf vrf mode as shown in the following examples.
device(config)# router ospf
device(config-ospf-router)# max-metric router-lsa all-vrfs on-startup 30 link all
device(config)# router ospf vrf blue
device(config-ospf-router)# max-metric router-lsa on-startup 30 link all
Syntax: [no] max-metric router-lsa [ all-vrfs ] [ on-startup { time | wait-for-bgp } ] [ summary-lsa metric-value ] [ external-lsa metric-
value ] [ te-lsa metric-value ] [ all-lsas ] [ link { ptp | stub | transit | all } ]
The all-vrfs parameter
species that the command will be applied to all VRF instances of OSPFv2.
NOTE
This command is supported only for VRFs that are already congured when the max-metric router-lsa all-vrfs command is
issued.
Any new OSPF instance congured after the max-metric conguration is completed requires that the max-metric command be
congured again to take in the new OSPF instance.
The on-startup parameter species that the OSPF router advertisement be performed at the next system startup. This is an optional
parameter.
When using the on-startup option you can set a time in seconds for which the specied links in Router LSA will be advertised with the
metric set to a maximum value of 0xFFFF. Optional values for time are 5 to 86400 seconds. There is no default value for time.
The wait-for-bgp option for the on-startup parameter directs OSPF to wait for either 600 seconds or until BGP has nished route table
convergence (whichever event happens rst), before advertising the links with the normal metric.
Using the link parameter you can specify the type of links for which the maximum metric is to be advertised. The default value is for
maximum metric to be advertised for transit links only. This is an optional parameter.
Additional options are supported that allow you to select the following LSA types and set the required metric:
The summary-lsa option species that the metric for all summary type 3 and type 4 LSAs will be modied to the specied metric-value
or the default value. The range of possible values for the metric-value variable are 1 to 16777214 (Hex: 0x00001 to 0x00FFFFFE).
The default value is 16711680 (Hex: 0x00FF0000).
The external-lsa option species that the metric for all external type 5 and type 7 LSAs will be modied to the specied metric-value or
a default value. The range of possible values for the metric-value variable are 1 to 16777214 (Hex: 0x00001 to 0x00FFFFFE). The
default value is 16711680 (Hex: 0x00FF0000).
The te-lsa option species that the TE metric eld in the TE metric sub tlv for all type 10 Opaque LSAs LINK TLV originated by the
router will be modied to the specied metric-value or a default value. The range of possible values for the metric-value variable are 1 to
4294967295 (Hex: 0x00001 to 0xFFFFFFFF). The default value is 4294967295 (Hex: 0xFFFFFFFF). This parameter only applies
to the default instance of OSPF.
OSPF distribute list
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 269