Configuration Guide User guide

1220 FastIron Configuration Guide
53-1002494-02
Redistributing routes into RIPng
Redistributing routes into RIPng
You can configure the Brocade device to redistribute routes from the following sources into RIPng:
IPv6 static routes
Directly connected IPv6 networks
OSPF V3
When you redistribute a route from IPv6 or OSPF V3 into RIPng, the Brocade device can use RIPng
to advertise the route to its RIPng neighbors.
When configuring the Brocade device to redistribute routes, you can optionally specify a metric for
the redistributed routes. If you do not explicitly configure a metric, the default metric value of 1 is
used.
For example, to redistribute OSPF V3 routes into RIPng, enter the following commands.
Brocade(config)# ipv6 router rip
Brocade(config-ripng-router)# redistribute ospf
Syntax: redistribute bgp | connected | isis | ospf | static [metric <number>]
For the metric, specify a numerical value that is consistent with RIPng.
Controlling distribution of routes through RIPng
You can create a prefix list and then apply it to RIPng routing updates that are received or sent on a
router interface. Performing this task allows you to control the distribution of routes through RIPng.
For example, to permit the inclusion of routes with the prefix 2001:DB8::/16 in RIPng routing
updates sent from Ethernet interface 3/1, enter the following commands.
Brocade(config)# ipv6 prefix-list routesfor2001 permit 2001:db8::/16
Brocade(config)# ipv6 router rip
Brocade(config-ripng-router)# distribute-list prefix-list routesfor2001 out
ethernet 3/1
To deny prefix lengths greater than 64 bits in routes that have the prefix 3EE0:A99::/64 and allow
all other routes received on tunnel interface 3/1, enter the following commands.
Brocade(config)# ipv6 prefix-list 3ee0routes deny 3ee0:a99::/64 le 128
Brocade(config)# ipv6 prefix-list 3ee0routes permit ::/0 ge 1 le 128
Brocade(config)# ipv6 router rip
Brocade(config-ripng-router)# distribute-list prefix-list 3ee0routes in
tunnel 1
Syntax: [no] distribute-list prefix-list <name> in | out <interface> <port>
The <name> parameter indicates the name of the prefix list generated using the ipv6 prefix-list
command.
The in keyword indicates that the prefix list is applied to incoming routing updates on the specified
interface.
The out keyword indicates that the prefix list is applied to outgoing routing updates on the specified
interface.