Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Configuring RIP
Configuring Redistribution
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 28-17
Route Map Redistribution Example
The following example configures the redistribution of OSPF routes into a RIP network using a route map 
(ospf-to-rip) to filter specific routes:
-> ip route-map ospf-to-rip sequence-number 10 action deny 
-> ip route-map ospf-to-rip sequence-number 10 match tag 5
-> ip route-map ospf-to-rip sequence-number 10 match route-type external type2
-> ip route-map ospf-to-rip sequence-number 20 action permit
-> ip route-map ospf-to-rip sequence-number 20 match ipv4-interface intf_ospf
-> ip route-map ospf-to-rip sequence-number 20 set metric 255
-> ip route-map ospf-to-rip sequence-number 30 action permit
-> ip route-map ospf-to-rip sequence-number 30 set tag 8
-> ipv6 redist ospf into rip route-map ospf-to-rip
The resulting ospf-to-rip route map redistribution configuration does the following:
• Denies the redistribution of Type 2 external OSPF routes with a tag set to five.
• Redistributes into RIP all routes learned on the intf_ospf interface and sets the metric for such routes to 
255.
• Redistributes into RIP all other routes (those not processed by sequence 10 or 20) and sets the tag for 
such routes to eight.