5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
691
MP_NLRl attribute of an UPDATE message.
Default
The default is None.
Command Mode
Route Map Config
7-70
set local-preference
To set the local preference of specific BGP routes, use the set local-preference command in Route Map
Configuration mode. The local preference is the first attribute used to compare BGP routes. Setting the
local preference can influence which route BGP selects as the best route.
No
command removes a
set
command from a route map.
set local-preference value
no set local-preference value
Parameters
value
Local preference value, from 0 to 4,294,967,295 (any 32-bit integer).
Default
The default is None.
Command Mode
Route Map Config
7-71
set metric (BGP)
To set the metric of a route, use the
set metric
command In Route Map Configuration mode. In BGP
context, sets the Multi Exit Discriminator (MED). When there are multiple peering points between two
autonomous systems (AS), setting the MED on routes advertised by one router can influence the other
AS to send traffic through a specific peer.
No
command removes a
set
command from a route map.
set metric value
no set metric value