The redirect vpn-instance command configures an action of redirecting packets to a VPN instance in a traffic behavior.
The undo redirect command deletes the redirection configuration.
By default, no action of redirecting packets to a VPN instance is configured in a traffic behavior.
The S5735-L, S5735-S, S5735-S-I, S5735S-L, S5735S-L-M, and S5735S-L-M do not support this command.
Parameter |
Description |
Value |
---|---|---|
vpn-instance-name |
Specifies the VPN instance to which packets are redirected. |
The value must be an existing VPN instance name. |
Usage Scenario
The redirect vpn-instance command configures an action of redirecting packets to a VPN instance in a traffic behavior.
Follow-up Procedure
Run the traffic policy command to create a traffic policy and run the classifier behavior command in the traffic policy view to bind the traffic classifier to the traffic behavior containing redirection to an interface.
Precautions
The traffic policy that contains the redirection action can only be applied to the system, an interface, or a VLAN in the inbound direction.