R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
588
IPv6 policy-based routing commands
In this chapter, "MSR2000" refers to MSR2003. "MSR3000" collectively refers to MSR3012, MSR3024,
MSR3044, MSR3064. "MSR4000" collectively refers to MSR4060 and MSR4080.
apply access-vpn vpn-instance
Use apply access-vpn vpn-instance to set a VPN instances.
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
IPv6 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 is 4.
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 is 16.
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] ipv6 policy-based-route policy1 permit node 10
[Sysname-pbr6-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.