摘要 |
<p>A method for routing switch is disclosed. The method comprises: when a network device forwards traffic through N equal-cost multi-path (ECMP) routes to a destination, if M of these routes are inactive, then for each inactive route, determining an alternative route for replacing the inactive route from N-M active routes, and modifying the inactive route to the alternative route so as to switch the traffic of the inactive route onto the alternative route, wherein N and M are positive integer numbers, with N being greater than or equal to 2 and M being greater than or equal to 1 and smaller than N.</p> |