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

Page 382

Advertising
background image

366

Step Command

Remarks

3.

Enter IPv6 address family view
or IPv6 BGP-VPN instance

view.

ipv6-family [ vpn-instance
vpn-instance-name ]

N/A

4.

Configure a default MED
value.

default med med-value

Optional.
0 by default.

5.

Enable the comparison of
MED for routes from different

EBGP peers.

compare-different-as-med

Optional.
Not enabled by default.
The IPv6 BGP-VPN instance view
does not support this command.

6.

Enable the comparison of
MED for routes from each AS. bestroute compare-med

Optional.
Disabled by default.
The IPv6 BGP-VPN instance view
does not support this command.

7.

Enable the comparison of

MED for routes from
confederation peers.

bestroute med-confederation

Optional.
Disabled by default.
The IPv6 BGP-VPN instance view
does not support this command.

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

ipv6-family

N/A

4.

Allow the local AS number to

appear in AS_PATH of routes
from a peer or peer group

and specify the repeat times.

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

[ number ]

Optional.
Not allowed by default.

5.

Specify a fake AS number for

an IPv6 peer or peer group.

peer { group-name |
ipv6-address } fake-as as-number

Optional.
Not specified by default.

6.

Disable IPv6 MBGP from
considering the AS_PATH

during best route selection.

bestroute as-path-neglect

Optional.
Enabled by default.

7.

Configure to carry only the
public AS number in updates

sent to a peer or peer group.

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

Optional.
By default, IPv6 BGP updates carry

private AS number.

8.

Substitute the local AS number
for the AS number of an IPv6

peer or peer group identified
in the AS_PATH attribute.

peer { group-name |
ipv6-address } substitute-as

Optional.
Not substituted by default.

Advertising