Examples – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 240

Advertising
background image

212

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Adding additional parameters

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.

With release 03.5.00 of the Multi-Service IronWare, 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 0xFFFFFFFF). The default value is 4294967295 (Hex:
0xFFFFFFFF). This parameter only applies to the default instance of OSPF.

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 configuration will not be saved.

Brocade(config)# router ospf

Brocade(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 configuration will not be saved.

Brocade(config)# router ospf

Brocade(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 configuration will not be saved.

Advertising