set route-map

Sets the route map to be used by an ingress group for forwarding matched packets.

Syntax

set route-map name
no set route-map name

Parameters

name
Specifies the configured route map to be applied to matching packets for an ingress group for packet forwarding. Name must not exceed 64 characters and must start with an alphabetic character or an underscore followed by an arbitrary sequence of alphabetic or numeric characters, underscores, hyphens, or dots.

Modes

Ingress-group config mode

Usage Guidelines

The following reserved keywords cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.

Table 1. Error messages
Message Reason
Error: route-map name must start with an alphabetic character or an underscore. Name begins with non-alphabetic character or does not begin with an underscore.
Error: route-map name identifier cannot exceed 64 characters Name is longer than 64 characters.
Error: route-map name identifier must start with an alphabetic character or an underscore Name begins with non-alphabetic character or does not begin with an underscore.
Error: route-map name identifier must be an arbitrary sequence of alphabets, numerals, underscores, hyphens or dots. Name contains invalid characters.
Error: route-map name identifier must not be reserved keyword "route-map ". Name includes the reserved word route-map

Examples

The following example configures route map rm1 to be used by ingress group ig1 for packet forwarding.

device# configure terminal
device(config)# ingress-group ig1 
device(config-ingress-group)# set route-map rm1
device(config-ingress-group)# end

The following example uses the show command to verify the configuration for ingress group ig1.

device# show running-config ingress-group ig1
  ingress-group ig1
    set route-map rm1

The following example unbinds route map rm1 from ingress group ig1.

device# configure terminal
device(config)# ingress-group ig1
device(config-ingress-group)# no set route-map rm1