Configure an IPv4 Static Route to Use with a Route Map

  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.