The redirect vsi command redirects packets to a VSI.
The undo redirect vsi command cancels the VSI-based redirect configuration.
By default, no VSI-based redirection is configured in the traffic behavior view.
Usage Scenario
A group of base stations access the Router through an interface. Multiple base stations' traffic passes through this interface and does not carry VLAN tags. Therefore, the traffic cannot be distinguished. To resolve this problem, apply a traffic policy to which a redirection traffic behavior has been bound to this interface to distinguish the traffic by using a quintuple, which consists of the source IP address, destination IP address, source port number, destination port number, and protocol number. Then redirect the traffic to different VSIs.
Prerequisites
A VSI for redirection has been created.
Precautions
You are advised to use the redirection function only in Layer 2 forwarding scenarios.
A traffic behavior has only one redirect configuration. To perform a new redirection configuration, delete the existing redirection configuration. Redirecting traffic to a VSI takes effect only on an upstream interface. The traffic that matches a specified quintuple is redirected to a VSI. If this VSI goes Down, the traffic is interrupted.