Command Reference Protocol-independent Configuration Commands
The route map can be configured very flexibly to be used for route redistribution and policy-based
routing. No matter how the route map is used, the configuration principle is the same, except that
different command sets are used. Even if it is used on the route redistribution, different routing
protocols can use different commands with the route map.
The following example enables the OSPF routing protocol to redistribute RIP routes that only match
access list v6acl, with the default metric being 50.
ipv6 router ospf
redistribute rip subnets route-map redrip
ipv6 access-list v6acl
10 permit ipv6 5200::64 any
route-map redrip permit 10
match ipv6 address v6acl
set metric 50
Set the IPV6 access list.
Match the next-hop interface of the route.
Match the IP address in the IPv6 access list.
Match the next hop in the IPv6 access list.
Set the metric for route redistribution.
Set the type for route redistribution.
Set the tag for route redistribution.
Use match metric command to redistribute the routes of the specified metric. Use the no form of this
command to remove the setting.
match metric metric
no match metric
Route metric, in the range 0 to 4294967295
Route map configuration mode.