F3215-HP Load Balancing Module Network Management Command Reference-6PW101

328
Policy-based routing configuration commands
apply access-vpn vpn-instance
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.
Syntax
apply access-vpn vpn-instance vpn-instance-name&<1-6>
undo apply access-vpn vpn-instance [ vpn-instance-name ]&<1-6>
Views
Policy node view
Default command level
2: System level
Parameters
vpn-instance-name&<1-6>: Specifies a VPN. vpn-instance-name is a case-sensitive string of 1 to 31
characters. &<1-6> indicates that you can enter up to six VPN instance names.
Usage guidelines
The specified VPN instances must already 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.
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 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
Use apply default output-interface to set a default output interface.
Use undo apply default output-interface to remove the configuration.
Syntax
apply default output-interface interface-type interface-number [ track track-entry-number ]
[ interface-type interface-number [ track track-entry-number ] ]