R211x-HP Flexfabric 11900 MPLS Command Reference
287
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The
specified peer group must have been created.
ip-address: Specifies a peer by its IP address. The specified peer must have been created.
Usage guidelines
L2VPN uses MP-BGP to exchange label blocks when creating a BGP PW.
After you execute the peer enable command, BGP can exchange label blocks with the specified peer or
peer group. To disable the capability, execute the undo peer signaling command.
Examples
# Enable BGP to exchange label block information with the peer 3.3.3.9.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn] peer 3.3.3.9 signaling
Related commands
display bgp l2vpn signaling
policy vpn-target
Use policy vpn-target to enable route target-based filtering of incoming BGP L2VPN information. L2VPN
only accepts the incoming BGP L2VPN information whose export route target attribute matches the local
import route target attribute.
Use undo policy vpn-target to disable route target-based filtering of incoming BGP L2VPN information.
L2VPN accepts all incoming BGP L2VPN information.
Syntax
policy vpn-target
undo policy vpn-target
Default
Route target-based filtering of incoming BGP L2VPN information is enabled.
Views
BGP L2VPN address family view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
In an inter-AS VPN option B network, an ASBR-PE needs to store all BGP L2VPN information (VPLS PE and
label block information discovered by BGP) and advertises the information to the remote ASBR-PE. To
meet this need, execute the undo policy vpn-target command on the ASBR-PE to accept all incoming BGP
L2VPN information.










