R21xx-HP FlexFabric 11900 MPLS Command Reference
Table Of Contents
- Title Page
- Contents
- MCE commands
- description
- display bgp group ipv4 vpn-instance
- display bgp peer ipv4 vpn-instance
- display ip vpn-instance
- domain-id
- export route-policy
- ext-community-type
- import route-policy
- ip binding vpn-instance
- ip vpn-instance
- ipv4-family
- route-distinguisher
- route-tag
- routing-table limit
- vpn-instance-capability simple
- vpn-target
- IPv6 MCE commands
- Basic MPLS commands
- Static LSP commands
- LDP commands
- accept-label
- advertise-label
- backoff
- display mpls ldp discovery
- display mpls ldp fec
- display mpls ldp interface
- display mpls ldp lsp
- display mpls ldp parameter
- display mpls ldp peer
- display mpls ldp summary
- graceful-restart
- graceful-restart timer
- label-distribution
- loop-detect
- lsp-trigger
- lsr-id
- maxhops
- md5-authentication
- mpls ldp
- mpls ldp enable
- mpls ldp timer
- mpls ldp transport-address
- pv-limit
- reset mpls ldp
- session protection
- targeted-peer
- vpn-instance
- Tunnel policy commands
- MPLS L3VPN commands
- description (VPN instance view)
- display bgp group vpnv4
- display bgp peer vpnv4
- display bgp routing-table ipv4 unicast inlabel
- display bgp routing-table ipv4 unicast outlabel
- display bgp routing-table vpnv4
- display bgp routing-table vpnv4 advertise-info
- display bgp routing-table vpnv4 as-path-acl
- display bgp routing-table vpnv4 community-list
- display bgp routing-table vpnv4 inlabel
- display bgp routing-table vpnv4 outlabel
- display bgp routing-table vpnv4 peer
- display bgp routing-table vpnv4 statistics
- display ip vpn-instance
- domain-id
- export route-policy
- ext-community-type
- import route-policy
- ip binding vpn-instance
- ip vpn-instance (system view)
- ipv4-family (VPN instance view)
- ipv4-family vpnv4
- nesting-vpn
- peer next-hop-invariable
- peer upe
- peer upe route-policy
- policy vpn-target
- refresh bgp vpnv4
- reset bgp vpnv4
- route-distinguisher (VPN instance view)
- route-tag
- routing-table limit
- rr-filter
- tnl-policy (VPN instance view/IPv4 VPN view/IPv6 VPN view)
- vpn popgo
- vpn-target (VPN instance view/IPv4 VPN view/IPv6 VPN view)
- IPv6 MPLS L3VPN commands
- display bgp group vpnv6
- display bgp peer vpnv6
- display bgp routing-table vpnv6
- display bgp routing-table vpnv6 advertise-info
- display bgp routing-table vpnv6 as-path-acl
- display bgp routing-table vpnv6 community-list
- display bgp routing-table vpnv6 inlabel
- display bgp routing-table vpnv6 outlabel
- display bgp routing-table vpnv6 peer
- display bgp routing-table vpnv6 statistics
- ipv6-family (VPN instance view)
- ipv6-family vpnv6
- policy vpn-target
- refresh bgp vpnv6
- reset bgp vpnv6
- rr-filter
- MPLS L2VPN commands
- VPLS commands
- backup-peer
- description
- display l2vpn ldp
- display l2vpn forwarding
- display l2vpn mac-address
- display l2vpn pw
- display l2vpn pw-class
- display l2vpn service-instance
- display l2vpn vsi
- encapsulation
- l2vpn enable
- l2vpn switchover
- mac-learning enable
- mtu
- peer
- pw-class
- pw-type
- pwsignaling
- reset l2vpn mac-address
- revertive
- service-instance
- shutdown
- vsi
- xconnect vsi
- Support and other resources
- Index
117
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] undo vpn popgo
vpn-target (VPN instance view/IPv4 VPN view/IPv6 VPN view)
Use vpn-target to configure route targets for a VPN instance.
Use undo vpn-target to remove the specified or all route targets of a VPN instance.
Syntax
vpn-target vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ]
undo vpn-target { all | vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] }
Default
No route targets are configured for a VPN instance.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
vpn-target&<1-8>: Specifies route targets. &<1-8> means that you can specify up to eight route targets.
A route target is a string of 3 to 21 characters in one of these formats:
• 16 - bi t AS nu mbe r :32-bit user-defined number. For example, 101:3.
• 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
• 32-bit AS number:16-bit user-defined number, where the AS number must not be less than 65536.
For example, 65536:1.
both: Uses the specified route targets as both import targets and export targets. The both keyword is also
used when you do not specify any of the following keywords: both, export-extcommunity, and
import-extcommunity.
export-extcommunity: Uses the specified route targets as export targets.
import-extcommunity: Uses the specified route targets as import targets.
all: Removes all route targets.
Usage guidelines
MPLS L3VPN uses route targets to control the advertisement of VPN routing information. A PE adds the
configured export targets into the route target attribute of routes advertised to a peer. The peer uses the
local import targets to match the route targets of received routes. If a match is found, the peer adds the
routes to the routing table of the VPN instance.
Route targets configured in VPN instance view are applicable to both the IPv4 VPN and the IPv6 VPN.
Route targets configured in IPv4 VPN view or IPv6 VPN view are applicable to only the IPv4 VPN or IPv6
VPN.
Route targets configured in IPv4 VPN view or IPv6 VPN view take precedence over those configured in
VPN instance view. If you configure route targets in both IPv4 VPN view (or IPv6 VPN view) and VPN










