ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Policy-based Routing for BGP
– 1908
EXAMPLE
Console(config)#route-map RD permit 9
Console(config-route-map)#match peer 192.168.0.99
Console(config-route-map)#set weight 30
Console(config-route-map)#
on-match This command sets the next entry to go to when this entry matches. Use
the no form to remove this entry from a route map.
SYNTAX
on-match peer {goto sequence-number | next}
no on-match peer {goto | next}
goto – On match, go to specified entry.
sequence-number – Route-map entry. (Range: 1-65535)
next – Go to next entry.
COMMAND MODE
Route Map
COMMAND USAGE
Use this command when no set action is for a match clause.
EXAMPLE
Console(config)#route-map RD permit 8
Console(config-route-map)#match pathlimit as 5
Console(config-route-map)#on match goto 20
Console(config-route-map)#
set aggregator as This command assigns an AS number and IP address to the aggregator
attribute of a route. Use the no form to remove this entry from a route
map.
SYNTAX
set aggregator as as-number ip-address
no set aggregator as [as-number ip-address]
as-number – Autonomous system number. (Range: 1-4294967295)
ip-address – IP address of aggregator.
COMMAND MODE
Route Map