10. Configure the Local Preference Value
Command
BGP configuration mode
bgp default local-preference <value>
no bgp default local-preference
11. Enable sending default route
Command
BGP configuration mode
neighbor
{
<ip-address>
default-originate
no neighbor { <ip-address> | <TAG> }
default-originate
12. Configure BGP's MED Value
(1) Configure MED value
Command
Route map configuration command
set metric <metric-value>
no set metric
(2) Apply route selection based on MED according to the path from different
AS
Command
BGP configuration mode
bgp always-compare-med
no bgp always-compare-med
13. Configure BGP routing redistribution
Command
BGP configuration mode
Explanation
Change default local preference; the no
bgp default local-preference command
recovers the default value.
Explanation
Permit
|
<TAG>
}
0.0.0.0;
{
default-originate
cancels sending default route.
Explanation
Configure metric value; the no set metric
command recovers the default value.
Explanation
Permit the MED comparison from different
AS; the no bgp always-compare-med
commands forbids the comparison.
Explanation
569
sending
default
the
no
<ip-address>
|
<TAG>
route
neighbor
}
command