Huawei switches support four PBR-based routes. A maximum of four next hop addresses can be defined in a traffic behavior.
When the redirect ip-nexthop or redirect ipv6-nexthop command is used to configure multiple next hop IP addresses, the switch redirects packets in active/standby mode. The device determines the primary path and backup paths according to the sequence in which next hop IP addresses were configured. The next hop IP address that is configured first has the highest priority and this next hop is used as the primary path. Other next hops are used as backup paths. If the primary link becomes Down, a next hop with higher priority is used as the primary link.
When the redirect ip-multihop or redirect ipv6-multihop command is used to configure multiple next hop IP addresses, the switch redirects packets using equal-cost routes in load balancing mode.