BigIron RX Series Configuration Guide
709
53-1001810-01
Configuring OSPF
25
Syntax: metric-type type1 | type2
The default is type2.
Modify administrative distance
The device 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 765 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
•
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’s distance is
greater than the inter-area route’s distance.
To change the default administrative distances for inter-area routes, intra-area routes, and external
routes, enter the following command.
BigIron RX(config-ospf-router)# distance external 100
BigIron RX(config-ospf-router)# distance inter-area 90
BigIron RX(config-ospf-router)# distance intra-area 80
Syntax: distance external | inter-area | intra-area
<distance>
The external | inter-area | intra-area parameter specifies the route type for which you are changing
the default administrative distance.
The
<distance>
parameter specifies the new distance for the specified route type. Unless you
change the distance for one of the route types using commands such as those shown above, the
default is 110.
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...