beautypg.com

Configuring a bgp auto-discovery ldp pw, Configuring bgp to advertise vpls pe information, Configuring ipv6 mpls l3vpn carrier's carrier – H3C Technologies H3C S12500-X Series Switches User Manual

Page 301

background image

290

Step Command

Remarks

8.

Use BGP to create a PW to an
automatically discovered

remote PE and enter
auto-discovery VSI BGP

signaling view.

signaling-protocol bgp

By default, no signaling protocol is
specified.

9.

Create a local site and enter

site view.

site site-id [ range range-value ]
[ default-offset default-offset-value ] By default, no local site is created.

Configuring a BGP auto-discovery LDP PW

Before you perform this configuration, enable MPLS LDP on interfaces and globally. For more information,

see "Configuring LDP."
To configure a BGP auto-discovery LDP PW, perform the following configurations on PEs:

Configure BGP to advertise VPLS PE information.

Use LDP to create a PW.

Configuring BGP to advertise VPLS PE information

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable BGP and enter BGP
view.

bgp as-number

By default, BGP is not enabled.

3.

Configure the remote PE as a
BGP peer.

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

By default, no BGP peer is
configured.

4.

Create and enter BGP L2VPN
address family view.

address-family l2vpn

By default, BGP L2VPN address
family view is not created.

5.

Enable BGP to exchange
VPLS PE information with the

specified peer or peer group.

peer { group-name | ip-address }
enable

By default, BGP cannot exchange
VPLS PE information with a peer or

peer group.

6.

Enable BGP to exchange
label block information with

the specified peer or peer
group.

peer { group-name | ip-address }
auto-discovery [ non-standard ]

By default, BGP can exchange
VPLS PE information with a BGP

L2VPN peer or peer group by
using RFC 6074

MP_REACH_NLRI.

7.

(Optional.) Permit the local AS

number to appear in routes
from the specified peer or

peer group and specify the

appearance times.

peer { group-name | ip-address }
allow-as-loop [ number ]

By default, the local AS number is
not allowed in routes from a peer
or peer group.

8.

(Optional.) Enable route
target-based filtering of

incoming BGP L2VPN
information.

policy vpn-target

By default, route target-based
filtering of incoming BGP L2VPN
information is enabled.

9.

(Optional.) Configure the

router as a route reflector and
specify a peer or peer group

as its client.

peer { group-name | ip-address }
reflect-client

By default, no route reflector or
client is configured.