undo default local-preference
View
IPv4 MBGP address family view
Default Level
2: System level
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 MBGP route selection.
Examples
# In IPv4 MBGP address family view, set the default local preference to 180.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul]default local-preference 180
default med (MBGP family view)
Syntax
default med med-value
undo default med
View
IPv4 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.
Multi-exit discriminator (MED) is an external metric for routes. Different from local preference, MED is
exchanged between ASs and will stay in the AS once it enters the AS. The route with a lower MED is
1-7
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers