Configure an IPv4 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.

Procedure

  1. Access global configuration mode.
    device# configure terminal
    
  2. Enter the destination network IP address, prefix-length, next-hop IP address, the tag keyword, and a tag number.
    device(config)# ip route 10.0.0.0/24 10.1.1.1 tag 3
    
    The tag "3" in this example can be used in a route map.