摘要 |
<p>A method and apparatus perform fast traffic switchover based on server layer status. To do fast traffic switchover when there is server layer failure, each forwarding entry in a forwarding table contains an index to server layer status table, wherein traffic is associated to a service layer based on the physical communication resources used by the primary path. The server layer status table contains status code for all instances of server layers in the system. One status code indicates the server layer status is normal, and primary paths may be used to carry client layer traffic. Another status code indicates abnormal condition on the server layer, and that primary paths cannot be used to carry client layer traffic. When the forwarding entry is used to forward incoming packets, the server layer status code is checked. If the status code indicates normal functionality, the failover object is checked to route the traffic on either the primary or secondary path. If the status code indicates the server layer is non-functional, the forwarding entry corresponding to the secondary path is used to forward incoming packets. When a failure is detected, or a known failure is cured, the server layer status table is updated.</p> |