Configuring a static route for use with a route map
You can configure a static route with a tag that can be referenced in a route map.
- Enter global configuration mode.
- Enter the
ip routecommand followed by the destination network IP address and prefix-length and the next-hop IP address. On the same line, enter the keyword tag followed by a decimal tag number.Note: An address mask may be used instead of the prefix-length (such as 255.255.255.0 instead of /24).