beautypg.com

Configuring ipv6 bgp route attributes, Prerequisites, Configuring ipv6 bgp preference and default – H3C Technologies H3C S7500E Series Switches User Manual

Page 341: Local_pref and next_hop attributes, Configuring ipv6 bgp route, Attributes

background image

11-12

Configuring IPv6 BGP Route Attributes

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

attributes are:

z

IPv6 BGP protocol preference

z

Default LOCAL_PREF attribute

z

MED attribute

z

NEXT_HOP attribute

z

AS_PATH attribute

Prerequisites

Before configuring this task, you have:

z

Enabled IPv6 function

z

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, 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.

Configure the default local

preference

default local-preference value

Optional

The value defaults to 100.

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

Required

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.