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.

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