Modifying the redistribution metric type, Administrative distance – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 225

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

207

53-1002603-01

Configuring OSPF

Modifying the 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.

Brocade(config-ospf-router)#metric-type type1

Syntax: metric-type type1 | type2

Administrative distance

Brocade Layer 3 Switches can learn about networks from various protocols, including Border
Gateway Protocol version 4 (BGP4), RIP, 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 313 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 Layer 3
Switch decision by changing the default administrative distance for RIP 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 Layer 3 Switch has multiple
routes for the same network from different protocols. The Layer 3 Switch 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

External routes

The default for all these OSPF route types is 110.

NOTE

This feature does not influence the choice of routes within OSPF. For example, an OSPF intra-area
route is always preferred over an OSPF inter-area route, even if the intra-area route distance is
greater than the inter-area route distance.

To change the default administrative distances for inter-area routes, intra-area routes, and external
routes, enter the following command.

Brocade(config-ospf-router)#distance external 100

Brocade(config-ospf-router)#distance inter-area 90

Brocade(config-ospf-router)#distance intra-area 80

Syntax: [no] distance external | inter-area | intra-area distance

Advertising