Configuring ipv6 bgp route attributes, Configuration prerequisites – H3C Technologies H3C S10500 Series Switches User Manual

Page 346

Advertising
background image

331

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.

Advertising