Configure an IPv6 Static Route to Use with a Route Map

You can configure a static route with a tag that can be referenced in a route map.

Before you begin

Enable IPv6 on at least one interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface.

Procedure

  1. Access global configuration mode.
    device# configure terminal
    
  2. Enter the destination IP address, next-hop address, the tag keyword, and a tag number.
    device(config)# ipv6 route 2001:DB8::0/64 2001:DB8:0:ee44::1 tag 3
    
    The tag "3" in this example can be used in a route map.