Configuring bgp as number substitution – H3C Technologies H3C S12500-X Series Switches User Manual

Page 146

Advertising
background image

135

Step Command

Remarks

5.

Configure a sham link.

sham-link source-ip-address
destination-ip-address [ cost cost |
dead dead-interval | hello

hello-interval | { { hmac-md5 |

md5 } key-id { cipher cipher-string
| plain plain-string } | simple

{ cipher cipher-string | plain

plain-string } } | retransmit
retrans-interval | trans-delay

delay ] *

By default, no sham link is
configured.

Specifying the VPN label processing mode on the

egress PE

An egress PE can process VPN labels in either POPGO or POP mode:

POPGO forwarding—Pops the label and forwards the packet out of the egress interface
corresponding to the label.

POP forwarding—Pops the label and forwards the packet through the FIB table.

To specify the VPN label processing mode on an egress PE:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Specify the VPN label

processing mode as POPGO
forwarding.

vpn popgo

The default is POP forwarding.

Configuring BGP AS number substitution

When CEs at different sites have the same AS number, configure the BGP AS number substitution function

to avoid route loss. If the AS_PATH attribute of a route contains the AS number of the specified CE, the PE
replaces the AS number with its own AS number before advertising the route to that CE.
Before you configure BGP AS number substitution, complete basic MPLS L3VPN configuration.
To configure BGP AS number substitution:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter BGP-VPN instance view. ip vpn-instance vpn-instance-name N/A

4.

Configure a BGP peer or peer
group.

peer { group-name | ip-address }
as-number as-number

N/A

Advertising