D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 6 BGP
Configuration
6-18
By default, if the path whose MED attribute is not set is received, the MED value
of this path will be taken as 0. For the smaller the MED value, the higher the
priority of the path is, the MED value of this path reaches the highest priority. If
you hope the MED attribute for the path whose MED attribute is not set presents
the lowest priority, execute the following operations in the BGP configuration
mode:
Command Function
DES-7200(config-router)# bgp
bestpath
med missing-as-worst
(Optional) Set the priority of the path
whose MED attribute is not set as the
lowest.
By default, they will be compared with each other according to the sequence the
paths are received when the optimal path is selected. If you hope to compare with
the path of the peers from the same AS firstly, execute the following operations in
the BGP configuration mode:
Command Function
DES-7200(config-router)# bgp
deterministic-med
(Optional) Compare with the path of
the peers from the same AS firstly.
By default, they will be compared
with by the received sequence, the
later received path will be compared
with firstly.
6.11.4 LOCAL_PREF Attribute Configuration
The BGP takes the LOCAL_PREF as the foundation of priority comparision of the
path learned from the IBGP peers. The larger the LOCAL_PREF value, the higher
the priority of the path is.
The BGP Speakers will add the local preference when they send the received
external routes to the IBGP peers. To modify the local preference, execute the
following operations in the BGP configuration mode:
Command Function
DES-7200(config-router)# bgp default
local-preference value
(Optional) Change the default local
preference.
The range of the value is 0 to
4294967295, 100 by default.
You can also modify the local preference of the specified path by the set
local-preference command of Route-map.