The redirection function can be used to steer IPv6 VPN traffic to an SRv6 TE Policy.
Before configuring a device to redirect IPv6 VPN traffic to an SRv6 TE Policy through multi-field classification, complete either of the following tasks:
If some IPv6 VPN 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 IPv6. If the SRv6 TE Policy fails, multi-field classification also fails. In this case, the traffic is also forwarded over common IPv6.
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 IPv6 VPN traffic to an SRv6 TE Policy.
You can specify sid and vpnsid to redirect IPv6 VPN traffic to the IPv6 public network and IPv6 VPN through SRv6 TE Policies, respectively.
sid-ip must be an End.DT6 SID, which is configured using the opcode func-opcode end-dt6 [ vpn-instance vpn-instance-name evpn ] 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.
A VPN instance is created and its view is displayed.
The VPN instance IPv6 address family is enabled, and the view of this address family is displayed.
An RD is configured for the VPN instance IPv6 address family.
A VPN instance IPv6 address family takes effect only after being configured with an RD.
Exit the VPN instance IPv6 address family view.
Exit the VPN instance view.
The VPN instance is bound to the interface.
The value of vpn-instance-name must be the same as the name of the VPN instance created using the ip vpn-instance vpn-instance-name command.
The interface view is displayed.
The traffic policy is applied to the interface.
The configuration is committed.
After configuring the device to redirect IPv6 VPN traffic to an SRv6 TE Policy through multi-field classification, perform the following operations to verify the configuration: