Command Reference Protocol-independent Configuration Commands
between two routing domains.
In configuring one route map, one or more match or set commands can be executed. If the match
command is not used, all the routes will be matched. If the set command is not used, no operation will
be performed.
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 match
access list v6acl, with the default metric being 30.
ipv6 router ospf
redistribute rip subnets route-map redrip
ipv6 access-list v6acl
10 permit ipv6 2620::64 any
route-map redrip permit 10
match ipv6 address v6acl
set metric 30
Set the IPV6 access list.
Match the next-hop interface of the route.
Match the next-hop address in the IPv6
access list.
Match the route source address in the IPv6
access list.
Set the metric for route redistribution.
Set the type for route redistribution.
Set the tag for route redistribution.
Use this command to redistribute the network routes whose next-hop IP address matches the IPv6
access list or the IPv6 prefix list. Use the no form of this command to delete the setting.
match ipv6 next-hop { access-list-name] | prefix-list prefix-list-name}
no match ipv6 next hop