R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
496
Policy-based routing configuration commands
apply access-vpn vpn-instance
Syntax
apply access-vpn vpn-instance vpn-instance-name&<1-6>
undo apply access-vpn vpn-instance [ vpn-instance-name ]&<1-6>
View
PBR policy node view
Default level
2: System level
Parameters
vpn-instance-name&<1-6>: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1
to 31 characters. &<1-6> indicates that you can input up to six VPN instance names.
Description
Use apply access-vpn vpn-instance to set one or multiple VPN instances.
Use undo apply access-vpn vpn-instance to remove one or multiple specified VPN instances.
NOTE:
• The specified VPN instance(s) must exist.
• You can set up to six VPN instances for a policy node. When a packet matches the criteria, it is
forwarded according to the forwarding table of the first matching VPN instance.
• Using the undo apply access-vpn vpn-instance command with a VPN instance specified removes the
VPN instance. Using this command without any VPN instance specified removes all VPN instances.
Examples
# Set the VPN instances, vpn1 and vpn2, for forwarding packets.
<Sysname> system-view
[Sysname] policy-based-route policy1 permit node 10
[Sysname-pbr-policy1-10] apply access-vpn vpn-instance vpn1 vpn2
apply default output-interface
Syntax
apply default output-interface interface-type interface-number [ track track-entry-number ]
[ interface-type interface-number [ track track-entry-number ] ]
undo apply default output-interface [ interface-type interface-number [ interface-type
interface-number ] ]
View
PBR policy node view