Configuring ospf router advertisement – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 293
Syntax: [no] graceful-restart helper-disable
This command disables OSPF Graceful Restart helper mode.
The default behavior is to help the restarting neighbors.
Configuring OSPF router advertisement
You can configure 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 specifies that the command will be applied to all VRF instances of OSPFv2.
NOTE
This command is supported only for VRFs that are already configured when the max-metric router-lsa
all-vrfs command is issued.
Any new OSPF instance configured after the max-metric configuration is completed requires that the
max-metric command be configured again to take in the new OSPF instance.
The on-startup parameter specifies 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 specified 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 finished route table convergence (whichever event happens first), 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 specifies that the metric for all summary type 3 and type 4 LSAs will be
modified to the specified 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 specifies that the metric for all external type 5 and type 7 LSAs will be modified
to the specified 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 specifies that the TE metric field in the TE metric sub tlv for all type 10 Opaque LSAs
LINK TLV originated by the router will be modified to the specified metric-value or a default value. The
range of possible values for the metric-value variable are 1 to 4294967295 (Hex: 0x00001 to
Configuring OSPF router advertisement
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
293
53-1003087-04