![H3C S5500-EI series Скачать руководство пользователя страница 354](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960354.webp)
337
Configuring IPv6 BGP route attributes
Use the following IPv6 BGP route attributes to modify BGP routing policy:
•
IPv6 BGP protocol preference
•
Default LOCAL_PREF attribute
•
MED attribute
•
NEXT_HOP attribute
•
AS_PATH attribute
Configuration prerequisites
Before configuring IPv6 BGP route attributes, complete the following tasks:
•
Enabled IPv6 function
•
Configured IPv6 BGP basic functions
Configuring IPv6 BGP preference and default LOCAL_PREF
and NEXT_HOP attributes
Follow these steps to perform this configuration:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv6 address family view
ipv6-family
—
Configure preference values for
IPv6 BGP external, internal, and
local 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.
Configure the default local
preference
default local-preference
value
Optional
The
value
defaults to 100.
Advertise routes to an IPv6 peer or
peer group with the local router as
the next hop
peer
{
ipv6-group-name
|
ipv6-address
}
next-hop-local
Required
By default, IPv6 BGP specifies the
local router as the next hop for routes
sent to an IPv6 eBGP peer or peer
group, but does not change the next
hop for routes sent to an IPv6 iBGP
peer or peer group.