beautypg.com

Changing the default redistribution metric, Globally change the default redistribution metric, Configuration steps – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 299: Configuration example

background image

Multi-Service IronWare Routing Configuration Guide

271

53-1003033-02

Configuring IPv4 address family route parameters

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 device 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 the

“Changing the default redistribution metric”

section, 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 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.

Brocade(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.

Globally change the default redistribution metric

You can change the metric value for a specific interface by using the isis metric command or isis
ipv6 metric command. This feature allows you to change the metric value globally for all the active
ISIS interfaces using one command.

You can still configure the interface level metric. If ISIS metric is configured on the interface, it will
take the precedence over the global configuration.

Configuration steps

1. Configure router ISIS using the router isis command.

2. Go to the appropriate address-family using address-family [ipv4/ipv6] unicast

command.

3. Configure default metric using default-link-metric command.

Configuration example

The following global configuration example ISIS default metric is for the IPv4 address-family. It can
be similarly configured for IPv6 address-family.

Brocade(config)#router isis

Brocade(config-isis-router)#address-family ipv4 unicast

Brocade(config-isis-router-ipv4u)# default-link-metric 40