R0106-HP MSR Router Series MPLS Command Reference(V7)

257
Default
No BGP L2VPN address family is created.
Views
BGP view
Predefined user roles
network-admin
Usage guidelines
To establish a BGP PW to a remote PE, you must execute the peer enable command in BGP L2VPN
address family view to enable the remote PE.
Examples
# Create a BGP L2VPN address family, and enter BGP L2VPN address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn]
auto-discovery
Use auto-discovery to enable a cross-connect group to automatically discover neighbors and create PWs
through BGP, and enter auto-discovery cross-connect group view.
Use undo auto-discovery to disable BGP auto-discovery for a cross-connect group.
Syntax
auto-discovery bgp
undo auto-discovery
Default
A cross-connect group does not use BGP to automatically discover neighbors and create PWs.
Views
Cross-connect group view
Predefined user roles
network-admin
Parameters
bgp: Enables the cross-connect group to automatically discover neighbors and create PWs through BGP.
Usage guidelines
In auto-discovery cross-connect group view, you can configure parameters such as the local site, remote
site, and route target for BGP. The local PE can use BGP to discover remote PEs and create PWs.
Examples
# Enable the cross-connect group bbb to automatically discover neighbors and create PWs through BGP,
and enter auto-discovery cross-connect group view.
<Sysname> system-view
[Sysname] xconnect-group bbb