DELL S50V User Manual

Page of 1262
252
|
Border Gateway Protocol IPv4 (BGPv4)
www.dell.com | support.dell.com
Use any or all of the following commands in the CONFIGURATION ROUTER BGP mode to change how 
the MED attribute is used.
Use the 
show config
 command in the CONFIGURATION ROUTER BGP mode to view the nondefault 
values. 
Change LOCAL_PREFERENCE attribute
In FTOS, you can change the value of the LOCAL_PREFERENCE attribute. 
Use the following command in the CONFIGURATION ROUTER BGP mode to change the default values 
of this attribute for all routes received by the router.
Use the 
show config
 command in CONFIGURATION ROUTER BGP mode or the 
show running-config 
bgp
 command in EXEC Privilege mode to view BGP configuration.
A more flexible method for manipulating the LOCAL_PREF attribute value is to use a route map.
Use these commands in the following sequence, starting CONFIGURATION mode to change the default 
value of the LOCAL_PREF attribute for specific routes.
Command Syntax
Command Mode
Purpose
bgp always-compare-med
CONFIG-ROUTER-
BGP
Enable MED comparison in the paths from neighbors 
with different ASs.
By default, this comparison is not performed.
bgp bestpath med {confed | 
missing-as-best}
CONFIG-ROUTER-
BGP
Change the bestpath MED selection to one of the 
following: 
confed
: Chooses the bestpath MED comparison of 
paths learned from BGP confederations.
missing-as-bes
t: Treat a path missing an MED as 
the most preferred one
Command Syntax
Command Mode
Purpose
bgp default local-preference
 
value
CONFIG-ROUTER-
BGP
Change the LOCAL_PREF value.
value
 range: 0 to 4294967295
Default is 100.
Step
Command Syntax
Command Mode
Purpose
1
route-map
 
map-name
 [
permit
 | 
deny
] [
sequence-number
]
CONFIGURATION 
Enter the ROUTE-MAP mode and assign a 
name to a route map.
2
set local-preference
 
value
CONFIG-ROUTE-MAP
Change LOCAL_PREF value for routes 
meeting the criteria of this route map.
3
exit
CONFIG-ROUTE-MAP
Return to the CONFIGURATION mode.