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
9
[Sysname-ospf-100] ext-community-type domain-id 8005
[Sysname-ospf-100] ext-community-type router-id 8001
[Sysname-ospf-100] ext-community-type route-type 8000
import route-policy
Use import route-policy to apply a routing policy to filter incoming routes for the VPN instance. Such a
routing policy is referred to as an import routing policy.
Use undo import route-policy to remove the application.
Syntax
import route-policy route-policy
undo import route-policy
Default
No import routing policy is applied to a VPN instance. All routes matching the import target attribute are
accepted.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
Usage guidelines
Use this command to apply a routing policy to a VPN instance for more precise and flexible route
reception of the VPN instance. When the device receives routes of the VPN instance, it filters the received
routes and modifies attributes for the received routes according to the specified routing policy.
Note the following guidelines when you use this command:
• If you execute this command multiple times, the most recent configuration takes effect.
• A routing policy specified in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. A
routing policy specified in IPv4 VPN view applies only to the IPv4 VPN. A routing policy specified
in IPv6 VPN view applies only to the IPv6 VPN.
• A routing policy specified in IPv4 VPN view or IPv6 view takes precedence over that specified in
VPN instance view. If you specify a routing policy in both IPv4 VPN view (or IPv6 VPN view) and
VPN instance view, the IPv4 VPN (IPv6 VPN) uses the policy specified in IPv4 VPN view (IPv6 VPN
view).
Examples
# Apply import routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] import route-policy poly-1
# Apply import routing policy poly-2 to the IPv4 VPN of VPN instance vpn2.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2










