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

287
Usage guidelines
L2VPN uses MP-BGP to exchange label blocks when creating a BGP PW.
After you execute the peer enable command in BGP L2VPN address family view, BGP can exchange
label blocks with the specified peer or peer group through RFC 4761 MP_REACH_NLRI. 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 through
draft-kompella-ppvpn-l2vpn-03 MP_REACH_NLRI.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn] peer 3.3.3.9 signaling non-standard
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
Usage guidelines
In an inter-AS VPN option B network, an ASBR-PE needs to store all BGP L2VPN information (label block
information) 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.
For more information about an inter-AS VPN option B network, see MPLS Configuration Guide.
Examples
# Disable route target-based filtering of incoming BGP L2VPN information.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn] undo policy vpn-target