Configuring the med attribute, Configuring the next_hop attribute – H3C Technologies H3C S10500 Series Switches User Manual

Page 455

Advertising
background image

440

To do…

Use the command…

Remarks

Enter IPv6 MBGP address family
view

ipv6-family multicast

Set the default local preference

default local-preference value

Optional
By default, the default local
preference is 100.

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 MBGP address family
view

ipv6-family multicast

Configure a default MED value

default med med-value

Optional
By default, the default med-value is

0.

Enable the comparison of the MED
for routes from different ASs

compare-different-as-med

Optional
Not enabled by default.

Enable the comparison of the MED
for routes from each AS

bestroute compare-med

Optional
Disabled by default.

Enable the comparison of the MED
for routes from confederation peers bestroute med-confederation

Optional
Disabled by default.

Configuring the next_hop attribute

You can use the peer next-hop-local command to specify the local router as the next hop of routes sent

to an IPv6 multicast iBGP peer or a peer group. If load balancing is configured, the router specifies itself

as the next hop of routes sent to the IPv6 multicast iBGP peer or the peer group regardless of whether the

peer next-hop-local command is configured.
In a third-party next-hop network—that is, the local router has two IPv6 multicast eBGP peers in a

broadcast network—the router does not specify itself as the next hop of routes sent to the eBGP peers by

default.
Follow these steps to specify the router as the next hop of routes sent to a peer or a peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 MBGP address family
view

ipv6-family multicast

Advertising