484
•
Default local preference attribute
•
MED attribute
•
NEXT_HOP attribute
•
AS_PATH attribute
Configuration prerequisites
Before you configure IPv6 MBGP route attributes, complete the following tasks:
•
Enable IPv6.
•
Configure basic IPv6 MBGP functions.
Configuring IPv6 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 IPv6 MBGP address
family view.
ipv6-family multicast
N/A
4.
Configure preferences for
external, internal, and local
IPv6 MBGP routes.
preference
{
external-preference
internal-preference
local-preference
|
route-policy
route-policy-name
}
Optional.
The default preference values of
external, internal, and local routes
are 255, 255, and 130,
respectively.
Configuring the default local preference
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enter IPv6 MBGP address
family view.
ipv6-family multicast
N/A
4.
Set the default local
preference.
default local-preference
value
Optional.
100 by default.
Configuring the MED attribute
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enter IPv6 MBGP address
family view.
ipv6-family multicast
N/A
4.
Configure a default MED
default med
med-value
Optional.