Modify redistribution metric type, Modify administrative distance – Brocade BigIron RX Series Configuration Guide User Manual

Page 864

Advertising
background image

786

BigIron RX Series Configuration Guide

53-1002484-04

Configuring OSPF

26

To change the SPF delay and hold time, enter commands such as the following.

BigIron RX(config-ospf-router)# timers spf 10 20

The command in this example changes the SPF delay to 10 seconds and changes the SPF hold
time to 20 seconds.

Syntax: timers spf <delay> <hold-time>

The <delay> parameter specifies the SPF delay.

The <hold-time> parameter specifies the SPF hold time.

To set the timers back to their default values, enter a command such as the following.

BigIron RX(config-ospf-router)# no timers spf 10 20

Modify redistribution metric type

The redistribution metric type is used by default for all routes imported into OSPF unless you
specify different metrics for individual routes using redistribution filters. Type 2 specifies a big
metric (three bytes). Type 1 specifies a small metric (two bytes). The default value is type 2.

To modify the default value to type 1, enter the following command.

BigIron RX(config-ospf-router)# metric-type type1

Syntax: metric-type type1 | type2

The default is type2.

Modify administrative distance

The BigIron RX can learn about networks from various protocols, including Border Gateway Protocol
version 4 (BGP4), RIP, ISIS, and OSPF. Consequently, the routes to a network may differ depending
on the protocol from which the routes were learned. The default administrative distance for OSPF
routes is 110. Refer to

“Changing administrative distances”

on page 842 for a list of the default

distances for all route sources.

The router selects one route over another based on the source of the route information. To do so,
the router can use the administrative distances assigned to the sources. You can bias the device’s
decision by changing the default administrative distance for OSPF routes.

Configuring administrative distance based on route type

You can configure a unique administrative distance for each type of OSPF route. For example, you
can use this feature to prefer a static route over an OSPF inter-area route but you also want to
prefer OSPF intra-area routes to static routes.

The distance you specify influences the choice of routes when the device has multiple routes for
the same network from different protocols. The device prefers the route with the lower
administrative distance.

You can specify unique default administrative distances for the following route types:

Intra-area routes

Inter-area routes

Advertising