CLI Guide

Layer 3 Routing Commands 1835
Route maps do not have a implicit deny all at the end of the list. Instead,
non-matching packets for a permit route map use the routing table.
Command History
Command introduced in version 6.6 firmware.
Example
The following sequence shows how to create a route-mao with a match clause
using an IPv6 ACL and applies the route map to an interface. This example
presumes VLAN 10 is already created and ipv6 routing is globally enabled.
console(config)#ipv6 enable
console(config)#ipv6 access-list acl2
console(config-ipv6-acl)#permit ipv6 1001::1 any
console(config-ipv6-acl)#exit
console(config)#route-map rm1 permit 40
console(route-map)#match ipv6 address acl2
console(config-route-map)#set ipv6 default next-hop 2001::2
console(config-route-map)#interface vlan 10
console(config-if-vlan10)#ipv6 enable
console(config-if-vlan10)#ipv6 policy route-map rm1
set ipv6 next-hop
Use this command to specify an adjacent next-hop router in the path toward
the destination to which the packets should be forwarded. If more than one
IPv6 address is specified, the first IPv6 address associated with a link up
interface is used to route the packets. Use the no form of the command to
remove a set command from a route map.
Syntax
set ipv6 next-hop { [interface vlan vlan-id link-local-address ] | ipv6-address
[ipv6-address] }
no set ipv6 next-hop { [interface vlan vlan-id link-local-address ] | ipv6-
address [ipv6-address] }
ipv6-address
—The IPv6 address of the next hop to which packets are
routed. It must be the address of an adjacent router (for example, the next
hop must be in a subnet configured on the local router). A maximum of 16
next-hop IPv6 addresses can be specified.