
Configuring OSPFv3
Configuring OSPFv3
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
March 2011
page 2-23
To remove a route map redistribution configuration, use the
no
form of the
ipv6 redist
command. For
example:
-> no ipv6 redist ospf into rip route-map ospf-to-rip
Use the
show ipv6 redist
command to verify the redistribution configuration:
-> show ipv6 redist
Source Destination
Protocol Protocol Status Route Map
------------+------------+---------+--------------------
localIPv6 RIPng Enabled ipv6rm
OSPFv3
RIPng
Enabled ospf-to-rip
Configuring the Administrative Status of the Route Map Redistribution
The administrative status of a route map redistribution configuration is enabled by default. To change the
administrative status, use the
admin-state
parameter with the
ipv6 redist
command. For example, the
following command disables the redistribution administrative status for the specified route map:
-> ipv6 redist ospf into rip route-map ospf-to-rip admin-state disable
The following command example enables the administrative status:
-> ipv6 redist ospf into rip route-map ospf-to-rip admin-state enable
Route Map Redistribution Example
The following example configures the redistribution of OSPFv3 routes into a RIPng 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 ipv6-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 RIPng all routes learned on the intf_ospf interface and sets the metric for such routes
to 255.
•
Redistributes into RIPng all other routes (those not processed by sequence 10 or 20) and sets the tag for
such routes to eight.