HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
404
Policy-based routing commands
apply access-vpn vpn-instance
Use apply access-vpn vpn-instance to set a VPN instance.
Use undo apply access-vpn vpn-instance to remove the specified VPN instance.
Syntax
apply access-vpn vpn-instance vpn-instance-name&<1-n>
undo apply access-vpn vpn-instance [ vpn-instance-name&<1-n> ]
Default
No VPN instance is specified for a node.
Views
Policy node view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31
characters. The specified VPN must already exist.
&<1-n>: Indicates that the argument before it can be entered up to n times. The value of n depends on
the device model.
Usage guidelines
You can specify up to m VPN instances for a node. The matching packets are forwarded according to the
forwarding table of the first available VPN instance. The value of m depends on the device model.
With a VPN instance specified, the undo apply access-vpn vpn-instance command removes the VPN
instance.
Without any VPN instance specified, the undo apply access-vpn vpn-instance command removes all
VPN instances.
Examples
# Set VPN 1 and VPN 2 for node 10. (VPN 1 and VPN 2 already exist.)
<Sysname> system-view
[Sysname] policy-based-route policy1 permit node 10
[Sysname-pbr-policy1-10] apply access-vpn vpn-instance vpn1 vpn2
apply continue
Use apply continue to match packets against the next policy node upon failure on the current node.
Use undo apply continue to restore the default.