System information
BSR 64000 Configuration and Management Guide
12-60
Table 12-2 shows set commands for creating route maps.
Example
The commands in the following example
, executed from Global Configuration
mode, create the route map, locpref, the AS path access list 1, and apply the route
map to a BGP neighbor. They
create the route map, locpref, which sets the local
preference for BGP updates. The route map also uses an AS path access list to permit
any update whose AS path attribute begins and ends with 400. This sets the local
preference to 50 for all updates originating from AS 400.
MOT(config)#route-map locpref permit 10
MOT(config)#match as-path 1
MOT(config)#set local-preference 50
MOT(config)#route-map locpref permit 20
MOT(config)#exit
match ip address Matches an IP access list.
match ip next-hop Matches the next-hop ip address.
match metric Matches a routing metric value. For BGP, this
is the MED.
match ip route-src Matches neighbor IP address
Table 12-2 set Commands
Command Description
set as-path prepend Modifies an AS path.
set comm_list Removes selected communities.
set community Sets the BGP community attribute.
set ip next-hop Sets the next-hop attribute of a route.
set local-preference Set the local preference value.
set metric Set the metric. For BGP, this is the MED.
set origin Set the BGP origin.
set weight Set weight of the route.
Table 12-1 match Commands
Command Description