Changing the default redistribution metric, Redistributing static ipv4 routes into ipv4 is-is – Brocade BigIron RX Series Configuration Guide User Manual
Page 1040
![background image](/manuals/361694/1040/background.png)
962
BigIron RX Series Configuration Guide
53-1002484-04
Configuring IPv4 address family route parameters
29
The device automatically redistributes Level-1 routes into Level-2 routes. Thus, you do not need to
enable this type of redistribution. You also can enable redistribution of Level-2 routes into Level-1
routes.
The device attempts to use the redistributed route’s metric as the route’s IPv4 IS-IS metric. For
example, if an OSPF route has an OSPF cost of 20, the router uses 20 as the route’s IPv4 IS-IS
metric. The device uses the redistributed route’s metric as the IPv4 IS-IS metric unless the route
does not a have a valid metric. In this case, the device assigns the default metric value to the route.
For information about the default metric, refer to
“Changing the default redistribution metric”
page 962 , which follows this section.
Changing the default redistribution metric
When IPv4 IS-IS redistributes a route from another route source (such as OSPF, BGP4+, or a static
IPv4 route) into IPv4 IS-IS, it uses the route’s metric value as its metric when the metric is not
modified by a route map or metric parameter and the default redistribution metric is set to its
default value of 0. You can change the default metric to a value from 0 – 65535.
NOTE
The Brocade implementation of IS-IS does not support the optional metric types Delay, Expense, or
Error.
For example, to change the default metric to 20, enter the following command at the IPv4 IS-IS
unicast address family configuration level.
BigIron RX(config-isis-router-ipv4u)# default-metric 20
Syntax: [no] default-metric <value>
The <value> parameter specifies the default metric. You can specify a value from 0 – 65535. The
default is 0.
To restore the default value for the default metric, enter the no form of this command.
Redistributing static IPv4 routes into IPv4 IS-IS
To redistribute static IPv4 routes from the IPv4 static route table into IPv4 IS-IS routes, enter the
following command at the IPv4 IS-IS unicast address family configuration level.
BigIron RX(config-isis-router-ipv4u)# redistribute static
This command configures the device to redistribute all static IPv4 routes into Level-2 IS-IS routes.
Syntax: [no] redistribute static [level-1 | level-1-2 | level-2] |
metric <number> | metric-type [external | internal] | route-map <name>
The level-1, level-1-2, and level-2 keywords restrict redistribution to the specified IPv4 IS-IS level.
The metric <number> parameter restricts the redistribution to only those routes that have the
metric you specify.
The metric-type external | internal parameter restricts redistribution to one of the following:
•
external – The metric value is not comparable to an IPv4 IS-IS internal metric and is always
higher than the IPv4 IS-IS internal metric.
•
internal – The metric value is comparable to metric values used by IPv4 IS-IS. This is the
default.