beautypg.com

Configuring ipv6 bgp route attributes, Configuration rerequisites – H3C Technologies H3C SR8800 User Manual

Page 368

background image

352

Configuring IPv6 BGP route attributes

This section describes how to use IPv6 BGP route attributes to modify BGP routing policy. These attributes
are:

IPv6 BGP protocol preference

Default LOCAL_PREF attribute

MED attribute

NEXT_HOP attribute

AS_PATH attribute

Configuration rerequisites

Before you configure IPv6 BGP route attributes, complete the following tasks:

Enable IPv6 with the ipv6 command in system view.

Configure IPv6 BGP basic functions.

Configuring IPv6 BGP preference and default LOCAL_PREF
and NEXT_HOP attributes

To perform this configuration:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 address family
view.

ipv6-family

N/A

4.

Configure preference values
for IPv6 BGP external,

internal, 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, 130 respectively.

5.

Configure the default local
preference.

default local-preference value

Optional.
The value defaults to 100.

6.

Advertise routes to an IPv6

peer/peer group with the
local router as the next hop.

peer { ipv6-group-name |
ipv6-address
} next-hop-local

By default, IPv6 BGP specifies the
local router as the next hop for routes

sent to an IPv6 EBGP peer/peer

group, but not for routes sent to an
IPv6 IBGP peer/peer group.