Configuring the as_path attribute, Optimizing ipv6 mbgp networks, Configuration prerequisites – H3C Technologies H3C S12500 Series Switches User Manual

Page 456

Advertising
background image

440

Step

Command

Remarks

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 MBGP address
family view.

ipv6-family multicast

N/A

4.

Configure the router as the

next hop of routes sent to the
peer or the 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 or a

peer group, but not for routes sent
to an IBGP peer or a peer group.

Configuring the AS_PATH attribute

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 MBGP address

family view.

ipv6-family multicast

N/A

4.

Allow the local AS number to
appear in the as-path of

routes from a peer or a peer
group and specify the number

of times that the local AS

number can appear in the AS
path of routes from the peer or

the peer group.

peer { ipv6-group-name |
ipv6-address } allow-as-loop

[ number ]

Optional.
Not allowed by default.

5.

Disable IPv6 MBGP from
considering the AS path

during best route selection.

bestroute as-path-neglect

Optional.
Enabled by default.

6.

Configure updates to a peer

or a peer group to carry only

the public AS number.

peer { ipv6-group-name |
ipv6-address } public-as-only

Optional.
By default, outbound IPv6 MBGP
updates can carry private AS

numbers.

Optimizing IPv6 MBGP networks

Configuration prerequisites

Before you tune and optimize an OSPF network, complete the following tasks:

Enable IPv6.

Configure basic IPv6 MBGP functions.

Advertising