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

Page 413

Advertising
background image

14-11

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/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

Configure the router as the next

hop of routes sent to the

peer/peer group

peer { ipv6-group-name |

ipv6-address } next-hop-local

Optional

By default, IPv6 MBGP specifies

the local router as the next hop

for routes sent to an eBGP

peer/peer group, but not for

routes sent to an iBGP

peer/peer group.

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

family view

ipv6-family multicast

Allow the local AS number to

appear in the AS-PATH of

routes from a peer/peer group

and specify the number of times

that the local AS number can

appear in the AS-PATH of

routes from the peer/peer group

peer { ipv6-group-name |

ipv6-address } allow-as-loop

[ number ]

Optional

Not allowed by default

Disable IPv6 MBGP from

considering the AS_PATH

during best route selection

bestroute as-path-neglect

Optional

Enabled by default

Advertising