Configuring an Interface as Next Hop
ipv6 unicast-routing command and enable IPv6 on at least one interface by configuring an IPv6 address
or explicitly enabling IPv6 on that interface.
- Enter global configuration mode.
- Designate the route destination. On the same command line, enter the keyword ethernet followed by the interface number as the next hop, followed by its link-local IPv6 address.
The following example configures a static IPv6 route for a destination network with the prefix 2001:DB8::0/32 and a next-hop gateway with the link-local address fe80::1 that the Layer 3 switch can access through Ethernet interface 1/3/1.
device# configure terminal device(config)# ipv6 route 2001:DB8::0/32 ethernet 1/3/1 fe80::1
