R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
135
Views
BGP view
Predefined user roles
network-admin
Usage guidelines
A VPNv6 address comprises an RD and an IPv6 prefix. In IPv6 MPLS L3VPNs, PEs exchange BGP VPNv6
routes that include VPNv6 addresses.
For a PE to exchange BGP VPNv6 routes with a BGP peer, you must enable that peer by executing the
peer enable command in BGP VPNv6 address family view.
In BGP VPNv6 address family view, you can configure BGP VPNv6 route attributes, such as the preferred
value, and whether to allow the local AS number to appear in the AS_PATH attribute of received route
updates.
Examples
# Enter BGP-VPNv6 address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6]
policy vpn-target
Use policy vpn-target to enable route target filtering of received VPNv6 routes.
Use undo policy vpn-target to permit all VPNv6 routes.
Syntax
policy vpn-target
undo policy vpn-target
Default
The route target filtering function is enabled for received VPNv6 routes.
Views
BGP VPNv6 address family view
Predefined user roles
network-admin
Usage guidelines
In an inter-AS option B scenario, an ASBR-PE must save all incoming VPNv4 routes and advertises those
routes to the peer ASBR-PE. For this purpose, you must execute the undo policy vpn-target command on
the ASBR-PE to disable route target filtering.
Examples
# In BGP VPNv6 address family view, disable route target filtering of received VPNv6 routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family vpnv6