Modifying shortest path first timers – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 179

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

165

53-1003246-01

Enabling OSPFv3

7

For example, to create and advertise a default route with a metric of 2 and as a Type 1 external
route, enter the following command:

Virtual ADX(config-ospf6-router)#default-information-originate always metric 2

metric-type type1

Syntax: [no] default-information-originate [always] [metric value] [metric-type type]

The always keyword originates a default route regardless of whether the device has learned a
default route. This option is disabled by default.

The metric value parameter specifies a metric for the default route. If this option is not used, the
value of the default-metric command is used for the route. For information about this command,
refer to

“Modifying default metric for routes redistributed into OSPF version 3”

on page 161

The metric-type type parameter specifies the external link type associated with the default route
advertised into the OSPF routing domain. The type can be one of the following:

1 – Type 1 external route

2 – Type 2 external route

If you do not use this option, the default redistribution metric type is used for the route type.

NOTE

If you specify a metric and metric type, the values you specify are used even if you do not use the
always option.

To disable default route origination, enter the no form of the command.

Modifying Shortest Path First timers

The Brocade device uses the following timers when calculating the shortest path for OSPFv3
routes:

SPF delay – When the Brocade device receives a topology change, the software waits before it
starts a Shortest Path First (SPF) calculation. By default, the software waits 5 seconds. You can
configure the SPF delay to a value from 0 through 65535 seconds. If you set the SPF delay to 0
seconds, the software immediately begins the SPF calculation after receiving a topology
change.

SPF hold time – The Brocade device waits a specific amount of time between consecutive SPF
calculations. By default, the device waits 10 seconds. You can configure the SPF hold time to a
value from 0 through 65535 seconds. If you set the SPF hold time to 0 seconds, the software
does not wait between consecutive SPF calculations.

You can set the SPF delay and hold time to lower values to cause the device to change to alternate
paths more quickly if a route fails. Note that lower values for these parameters require more CPU
processing time.

You can change one or both of the timers.

NOTE

If you want to change only one of the timers, for example, the SPF delay timer, you must specify the
new value for this timer as well as the current value of the SPF hold timer, which you want to retain.
The Brocade device does not accept only one timer value.

To change the SPF delay to 10 seconds and the SPF hold to 20 seconds, enter the following
command:

Advertising