The redirection function can be used to steer IPv4 public network traffic to an SRv6 TE Policy.
Before configuring a device to redirect IPv4 public network traffic to an SRv6 TE Policy through multi-field classification, complete either of the following tasks:
If some IPv4 public network traffic experiences congestion, QoS multi-field classification can be used to identify and redirect the traffic to an SRv6 TE Policy, resolving the congestion issue. The factors involved in the redirection are an endpoint, color, and SID. If a redirection rule match fails, multi-field classification does not take effect. In this case, the traffic is forwarded over common IP. If the SRv6 TE Policy fails, multi-field classification also fails. In this case, the traffic is also forwarded over common IP.
The system view is displayed.
A traffic classifier is defined and its view is displayed.
For details, see Defining a Traffic Classifier.
Exit the traffic classifier view.
A traffic behavior is defined and its view is displayed.
The device is enabled to redirect IPv4 public network traffic to an SRv6 TE Policy.
You can specify sid and vpnsid to redirect IPv4 public network traffic to the IPv4 public network and IPv4 VPN through SRv6 TE Policies, respectively.
sid-ip must be an End.DT4 SID, which is configured using the opcode func-opcode end-dt4 [ vpn-instance vpn-instance-name ] command.
Exit the traffic behavior view.
A traffic policy is defined and its view is displayed.
The traffic behavior is specified for the traffic classifier in the traffic policy.
Exit the traffic policy view.
The interface view is displayed.
The traffic policy is applied to the interface.
The configuration is committed.
After configuring the device to redirect IPv4 public network traffic to an SRv6 TE Policy through multi-field classification, perform the following operations to verify the configuration: