3com S7906E Instruccion De Instalación
1-8
Prerequisites
Before configuring this task, you need to configure MBGP basic functions.
Configuring MBGP Route Preferences
You can reference a route policy to set preferences for routes matching it. Routes not matching it use
the default preferences.
Follow these steps to configure MBGP route preferences:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv4 MBGP address family
view
view
ipv4-family multicast
—
Configure preferences for
external, internal, local MBGP
routes
external, internal, local MBGP
routes
preference
{ external-preference
internal-preference
local-preference |
route-policy
route-policy-name }
{ 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
respectively.
multicast MBGP eBGP, MBGP
iBGP, and local MBGP routes
are 255, 255, and 130
respectively.
Configuring the Default Local Preference
Follow these steps to configure the default local preference:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv4 MBGP address family
view
view
ipv4-family multicast
—
Configure the default local
preference
preference
default local-preference
value
value
Optional
100 by default.
Configuring the MED Attribute
When other conditions of routes to a destination are identical, the route with the smallest MED is
selected.
Follow these steps to configure the MED attribute:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv4 MBGP address family
view
view
ipv4-family multicast
—