R211x-HP Flexfabric 11900 MPLS Configuration Guide

289
Ste
p
Command
Remarks
3. Configure the VSI to
automatically discover
neighbors through BGP and
enter auto-discovery VSI view.
auto-discovery bgp
By default, a VSI does not
automatically discover neighbors
through BGP.
4. Configure an RD for the
auto-discovery VSI.
route-distinguisher
route-distinguisher
By default, no RD is configured for
the auto-discovery VSI.
5. Configure route targets for the
auto-discovery VSI.
vpn-target vpn-target&<1-8> [ both
| export-extcommunity |
import-extcommunity ]
By default, no route targets are
configured for the auto-discovery
VSI.
6. (Optional.) Reference a PW
class.
pw-class class-name
By default, no PW class is
referenced.
7. (Optional.) Reference a tunnel
policy.
tunnel-policy tunnel-policy-name
By default, no tunnel policy is
referenced.
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."
T
o 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
Ste
p
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.