Configuring mbgp route attributes, Configuration prerequisites, Configuring mbgp route preferences – H3C Technologies H3C S12500 Series Switches User Manual
Page 241: Configuring the default local preference

225
Step Command
Remarks
4.
Configure BGP route
dampening parameters.
dampening [ half-life-reachable
half-life-unreachable reuse
suppress ceiling | route-policy
route-policy-name ] *
Not configured by default.
Configuring MBGP route attributes
You can modify MBGP route attributes to affect route selection.
Configuration prerequisites
Before you configure this task, you must configure basic MBGP.
Configuring MBGP route preferences
You can reference a routing policy to set preferences for routes matching it. Routes not matching it use the
default preferences.
To configure MBGP route preferences:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Enter IPv4 MBGP address
family view.
ipv4-family multicast
N/A
4.
Configure preferences for
external, internal, and local
MBGP routes.
preference { external-preference
internal-preference
local-preference | route-policy
route-policy-name }
Optional.
The default preferences of
multicast MBGP EBGP, MBGP
IBGP, and local MBGP routes are
255, 255, and 130.
Configuring the default local preference
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IPv4 MBGP address
family view.
ipv4-family multicast
N/A
3.
Configure the default local
preference.
default local-preference value
Optional.
100 by default.