Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 254

Advertising
background image

236

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

OSPF V3 configuration

The metric-type type parameter specifies an OSPF metric type for the redistributed route. You can
specify external type 1 or external type 2. If a value is not specified for this option, the Brocade
device uses the value specified by the metric-type command. For information about modifying the
default metric type using the metric-type command, refer to

“Modifying default metric for routes

redistributed into OSPF V3”

on page 237

For example, to configure a route map and use it for redistribution of routes into OSPF V3, enter
commands such as the following.

Brocade(config)#ipv6 route 2001:db8::/32 0000:00ff:343e::23

Brocade(config)#ipv6 route 2001:db8::/32 0000:00ff:343e::23

Brocade(config)#ipv6 route 2001:db8::/32 0000:00ff:343e::23 metric 5

Brocade(config)#route-map abc permit 1

Brocade(config-routemap abc)#match metric 5

Brocade(config-routemap abc)#set metric 8

Brocade(config-routemap abc)#ipv6 router ospf

Brocade(config-ospf6-router)#redistribute static route-map abc

The commands in this example configure some static IPv6 routes and a route map, and use the
route map for redistributing the static IPv6 routes into OSPF V3.

The ipv6 route commands configure the static IPv6 routes.

The route-map command begins configuration of a route map called “abc”. The number indicates
the route map entry (called the “instance”) you are configuring. A route map can contain multiple
entries. The software compares packets to the route map entries in ascending numerical order and
stops the comparison once a match is found.

NOTE

The default action rule for route-map is to deny all routes that are not explicitly permitted. Refer to

“Configuring an OSPF V3 distribution list using a route map that uses a prefix list”

on page 241.

The match command in the route map matches on routes that have 5 for their metric value (cost).
The set command changes the metric in routes that match the route map to 8.

The redistribute command configures the redistribution of static IPv6 routes into OSPF V3, and
uses route map “abc“ to control the routes that are redistributed. In this example, the route map
allows a 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 | isis | rip | static [route-map map-name]

The bgp | connected | isis | rip | static keywords specify the route source.

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

match metric number

The following set parameters are valid for OSPF redistribution:

set metric [+ | - ] number | none

set metric-type type-1 | type-2

NOTE

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

Advertising