Modifying default metric for routes, Redistributed into ospf v3 – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 255

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

237

53-1002603-01

OSPF V3 configuration

NOTE

When you use a route map for route redistribution, the software disregards the permit or deny action
of the route map.

NOTE

For an external route that is redistributed into OSPF V3 through a route map, the metric value of the
route remains the same unless the metric is set by a set metric command inside the route map or
the default-metric num command. For a route redistributed without using a route map, the metric is
set by the metric parameter if set or the default-metric num command if the metric parameter is not
set.

Modifying default metric for routes redistributed into OSPF V3

The default metric is a global parameter that specifies the cost applied by default to routes
redistributed into OSPF V3. The default value is 0.

If the metric parameter for the redistribute command is not set and the default-metric command is
set to 0, its default value, then routes redistributed from the various routing protocols will have the
metric value of the protocol from which they are redistributed. For information about the
redistribute command, refer to

“Configuring route redistribution into OSPF V3”

on page 235.

NOTE

You also can define the cost on individual interfaces. The interface cost overrides the default cost.
For information about defining the cost on individual interfaces, refer to

“Modifying OSPF V3

interface defaults”

on page 246 and

“Changing the reference bandwidth for the cost on OSPF V3

interfaces”

on page 234.

To assign a default metric of 4 to all routes imported into OSPF V3, enter the default-metric
command.

Brocade(config-ospf6-router)#default-metric 4

Syntax: no] default-metric number

You can specify a value from 0 – 65535. The default is 0.

To restore the default metric to the default value, use the no form of this command.

Modifying metric type for routes redistributed into OSPF V3

The Brocade device uses the metric-type parameter by default for all routes redistributed into OSPF
V3 unless you specify a different metric type for individual routes using the redistribute command.
(For more information about using the redistribute command, refer to

“Redistributing routes into

OSPF V3”

on page 235).

A type 1 route specifies a small metric (two bytes), while a type 2 route specifies a big metric (three
bytes). The default value is type 2.

To modify the default value of type 2 to type 1, enter the metric-type command.

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

Syntax: no] metric-type type1 | type2

To restore the metric type to the default value, use the no form of this command.

Advertising