ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Policy-based Routing for BGP
– 1899
route-map This command enters route-map configuration mode, allowing route maps
to be created or modified. Use the no form to remove a route map.
SYNTAX
[no] route-map map-name {deny | permit} sequence-number
map-name – Name for the route map. (Range: 1-128 case-sensitive
alphanumeric characters)
deny – Route-map denies set operations.
permit – Route-map permits set operations.
sequence-number – Sequence to insert to or delete from existing
route-map entry. (Range: 1-65535)
COMMAND MODE
Global Configuration
DEFAULT SETTING
Disabled
COMMAND USAGE
This command enters the route map configuration mode. In this mode,
a new route map can be created, or an existing route map modified.
The match commands specify the conditions under which policy routing
occurs, and the set commands specify the routing actions to perform if
the criteria enforced by the match commands are met.
If the match criteria are met for a route map, and the permit keyword
specified, the packet is policy routed based on defined set commands.
set community Sets the community attributes of routing messages RM
set extcommunity Sets the extended community attributes of routing
messages
RM
set ip next-hop Sets the next-hop for a routing message RM
set local-preference Sets the priority within the local AS for a routing
message
RM
set metric Sets the metric value of a route to external neighbors RM
set origin Sets the origin code for the routing protocol which
generated this message
RM
set originator-id Sets the IP address of the routing messages originator RM
set pathlimit ttl Sets the maximum AS path length for propagation of
more specific prefixes in routing messages
RM
set weight Sets the weight for routing messages RM
show route-map Shows the configuration setting for a route map PE
Table 276: Policy-based Routing Configuration Commands (Continued)
Command Function Mode