3Com S7902E Command Reference Manual - page 1428
1-6
Parameters
value
: Default local preference, in the range 0 to 4294967295. The larger the value is, the higher the
preference is.
Description
Use the
default local-preference
command to configure the default local preference.
Use the
undo default local-preference
command to restore the default.
By default, the default local preference is 100.
Using this command can affect IPv6 MBGP route selection.
Examples
# In IPv6 MBGP address family view, set the default local preference to 180.
[Sysname]bgp 100
[Sysname-bgp]ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] default local-preference 180
default med (IPv6 MBGP address family view)
Syntax
default med
med-value
undo default med
View
IPv6 MBGP address family view
Default Level
2: System level
Parameters
med-value
: Default MED value, in the range 0 to 4294967295.
Description
Use the
default med
command to specify the default MED value.
Use the
undo default med
command to restore the default.
By default, the default
med-value
is 0.
The multi-exit discriminator (MED) is an external metric of a route. Different from the local preference,
the MED is exchanged between ASs and will stay in the AS once it enters the AS. The route with a lower
MED is preferred. When a router running BGP obtains several routes with an identical destination but
different next-hops from various external peers, it will select the best route depending on the MED value.
In the case that all the other conditions are the same, the system selects the route with the lowest MED
as the best external route.