Examples
The following examples of the command max-metric router-lsa command demonstrate how it can be used:
The following command indicates that OSPF is being shutdown and that all links in the router LSA should be advertised with the value
0xFFFF and the metric value for all external and summary LSAs is set to 0xFF0000 until OSPF is restarted. This conguration will not
be saved.
device(config)# router ospf
device(config-ospf-router)# max-metric router-lsa external-lsa summary-lsa link all
The following command indicates that OSPF is being shutdown and that all links in the router LSA should be advertised with the value
0xFFFF and the metric value for all external and summary LSAs should be set to 0xFF0000 until OSPF is restarted. Also, if OSPF TE
is enabled then all LINK TLVs advertised by the router in Opaque LSAs should be updated with the TE Metric set to 0xFFFFFFFF and
the available bandwidth set to 0. This
conguration will not be saved.
device(config)# router ospf
device(config-ospf-router)# max-metric router-lsa all-lsas link all
The following command indicates that OSPF is being shutdown and that all links in the router LSA should be advertised with the value
0xFFFF and the metric value for all summary LSAs should be set to 0xFFFFFE until OSPF is restarted. This conguration will not be
saved.
device(config)# router ospf
device(config-ospf-router)# max-metric router-lsa summary-lsa 16777214 link all
The following command turns o the advertisement of special metric values in all Router, Summary, and External LSAs.
device(config)# router ospf
device(config-ospf-router)# no max-metric router-lsa
Conguring OSPF shortest path rst throttling
To set OSPF shortest path rst throttling to the values in the previous example, use the following command.
device(config-ospf-router)# timer throttle spf 200 300 2000
Syntax: [no] timer throttle spf initial-delay hold-time max-hold-time
The initial-delay variable sets the initial value for the SPF delay in milliseconds. Possible values are between 0 and 65535 milliseconds.
The hold-time variable sets the minimum hold time between SPF calculations after the initial delay. This value will be doubled after hold-
time expires until the max-hold-time is reached. Possible values are between 0 and 65535 milliseconds.
The max-hold-time variable sets the maximum hold time between SPF calculations Possible values are between 0 and 65535
milliseconds.
NOTE
The hold time values that you specify are rounded up to the next highest 100 ms value. For example, any value between 0 and
99 will be congured as 100 ms.
Command replacement
This command overlaps in functionality with the timer throttle spf command which will be phased out. To use this command to replicate
the exact functionality of the timer throttle spf command congure it as shown in the following.
device(config-ospf-router)# timer throttle spf 1000 5000 5000
OSPF distribute list
FastIron Ethernet Switch Layer 3 Routing
270 53-1003627-04