R2511-HP MSR Router Series MPLS Command Reference(V5)
164
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
prefix-name: Specifies the name of the IP prefix list, a string of 1 to 19 characters.
export: Filters the routes to be advertised to the specified peer or peer group.
import: Filters the routes received from the specified peer or peer group.
Examples
# In BGP-VPNv4 subaddress family view, filter the routes received from peer group group1 by using IP
prefix list list1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer group1 ip-prefix list1 import
peer label-route-capability (BGP view/BGP VPN instance view)
Use peer label-route-capability to enable the exchange of labeled routes with an IPv4 peer or peer
group.
Use undo peer label-route-capability to disable the capability.
Syntax
peer { group-name | ip-address } label-route-capability
undo peer { group-name | ip-address } label-route-capability
Default
The device does not advertise labeled routes to an IPv4 peer.
Views
BGP view, BGP VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
Usage guidelines
According to the networking scheme, the peer label-route-capability command enables the exchange of
labeled IPv4 routes with:
• ASBR PEs in the same AS.










