Creating a route map

The route-map command creates a route map sequence. It specifies a route map name, a permit or deny instruction, and, optionally, a sequence number. All sequences that have the same route map name belong to the same route map. For more information, see Route maps.

Syntax:


route-map name [permit | deny] [seq seq-num]

Creates a route map and enters the route map context.

name

Specifies the name of the route map.

permit

Instructs the policy engine to permit the route if the match succeeds.

deny

Instructs the policy engine to deny the route if the match succeeds.

seq seq-num

Specifies a sequence number for the route-map. If a sequence number is not specified at the first instance of the route-map name command, the switch uses a default value of 10.