beautypg.com

Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 330

background image

static IPv6 route to be redistributed into OSPF only if the route has a metric of 5, and changes the
metric to 8 before placing the route into the OSPF route redistribution table.

Syntax: [no] redistribute {bgp | connected | rip | static [route-map map-name]}

The bgp, connected, isis, ip, and static keywords specify the route source.

The route-map map-name parameter specifies the route map name. The following match parameters
are valid for OSPFv3 redistribution:

match ipv6 address | next-hopacl-number
match metric number
match tag tag-value

The following set parameters are valid for OSPFv3 redistribution:

set ipv6 next-hop ipv6 address
set metric [+ | - ] number | none
set metric-type type-1 | type-2
set tag tag-value

NOTE
You must configure the route map before you configure a redistribution filter that uses the route map.

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 OSPFv3 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 command. For a route redistributed without using a route map, the metric is set by the
metric parameter if set or the default-metric command if the metric parameter is not set.

Modifying default metric for routes redistributed into OSPF Version 3

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

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

NOTE
You also can define the cost on individual interfaces. The interface cost overrides the default cost.

To assign a default metric of 4 to all routes imported into OSPFv3, enter the following command.

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

Syntax: [no] default-metric number

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

Modifying default metric for routes redistributed into OSPF Version 3

330

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04