Brocade BigIron RX Series Configuration Guide User Manual
Page 1387
![background image](/manuals/361694/1387/background.png)
BigIron RX Series Configuration Guide
1309
53-1002484-04
Configuring OSPFv3
49
•
IPv6 IS-IS
•
RIPng
You can redistribute routes in the following ways:
•
By route types, for example, the Brocade device redistributes all IPv6 static and RIPng routes.
•
By using a route map to filter which routes to redistribute, for example, the Brocade device
redistributes specified IPv6 static and RIPng routes only.
For example, to configure the redistribution of all IPv6 static,RIPng, and IPv6 IS-IS level-1 and
level-2 routes, enter the following commands.
BigIron RX(config-ospf6-router)# redistribute static
BigIron RX(config-ospf6-router)# redistribute rip
BigIron RX(config-ospf6-router)# redistribute isis level-1-2
Syntax: [no] redistribute bgp | connected | isis [level-1 | level-1-2 | level-2] | rip | static [metric
<number> | metric-type <type>]
The bgp | connected | isis | rip | static keywords specify the route source.
The level-1 | level-1-2 | level-2 keywords (for IPv6 IS-IS only) allow you to specify that the Brocade
device redistributes level-1 routes only, level-2 routes only, or both level-1 and level-2 routes.
The metric <number> parameter specifies the metric used for the redistributed route. If a value is
not specified for this option, and the value for the default-metric command is set to 0, its default
metric, 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 default-metric command,
refer to
“Modifying default metric for routes redistributed into OSPF version 3”
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 version 3”
For example, to configure a route map and use it for redistribution of routes into OSPFv3, enter
commands such as the following.
BigIron RX(config)# ipv6 route 2001:1::/32 4823:0001::0102:0103
BigIron RX(config)# ipv6 route 2001:2::/32 4823:0001::0102:0103
BigIron RX(config)# ipv6 route 2001:3::/32 4823:0001::0102:0103 metric 5
BigIron RX(config)# route-map abc permit 1
BigIron RX(config-routemap abc)# match metric 5
BigIron RX(config-routemap abc)# set metric 8
BigIron RX(config-routemap abc)# ipv6 router ospf
BigIron RX(config-ospf6-router)# redistribution 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 OSPFv3.
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.
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.