IPv6 MBGP protocol preference
Default LOCAL_PREF attribute
MED attribute
NEXT_HOP attribute
AS_PATH attribute
Configuration Prerequisites
Before the configuration, accomplish the following tasks:
Enable IPv6
Configure the IPv6 MBGP basic functions
Configuring IPv6 MBGP Route Preferences
Follow these steps to configure IPv6 MBGP route preferences:
To do...
Enter system view
Enter BGP view
Enter IPv6 MBGP address
family view
Configure preferences for
external, internal, local IPv6
MBGP routes
Configuring the Default Local Preference
Follow these steps to configure the default local preference:
To do...
Enter system view
Enter BGP view
Enter IPv6 MBGP address
family view
Set the default local preference
Configuring the MED Attribute
Follow these steps to configure the MED attribute:
To do...
Enter system view
Enter BGP view
Use the command...
system-view
bgp as-number
ipv6-family multicast
preference
{ external-preference
internal-preference
local-preference | route-policy
route-policy-name }
Use the command...
system-view
bgp as-number
ipv6-family multicast
default local-preference value
Use the command...
system-view
bgp as-number
1-8
Remarks
—
—
—
Optional
The default preference values
of external, internal and local
routes are 255, 255, and 130,
respectively.
Remarks
—
—
—
Optional
By default, the default local
preference is 100.
Remarks
—
—