Configuring the med attribute, Configuring the as_path attribute – H3C Technologies H3C S7500E Series Switches User Manual

Page 342

Advertising
background image

11-13

z

To make sure an iBGP peer can find the correct next hop, you can configure routes advertised to

the IPv6 iBGP peer/peer group to use the local router as the next hop. If BGP load balancing is

configured, the local router specifies itself as the next hop of routes sent to an IPv6 iBGP

peer/peer group regardless of whether the peer next-hop-local command is configured.

z

In a “third party next hop" network, that is, the two IPv6 eBGP peers reside in a common

broadcast subnet, the router does not specify itself as the next hop for routes sent to the IPv6

eBGP peer/peer group by default, unless the peer next-hop-local command is configured.

Configuring the MED Attribute

Follow these steps to configure the MED attribute:

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 a default MED value

default med med-value

Optional

Defaults to 0

Enable the comparison of MED for

routes from different eBGP peers

compare-different-as-med

Optional

Not enabled by default.

Enable the comparison of MED for

routes from each AS

bestroute compare-med

Optional

Disabled by default

Enable the comparison of MED for

routes from confederation peers

bestroute med-confederation

Optional

Disabled by default

Configuring the AS_PATH Attribute

Follow these steps to configure the AS_PATH attribute:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Advertising