Patent ID: 9124509
Filing Date: 2015-09-01
Classification: H04L

Abstract:
1. A method for controlling network traffic switching, wherein a direct link exists between a local node and a peer node, and the method for controlling network traffic switching comprises: establishing, by the local node, a direct link interface, wherein the direct link interface has an address attribute of the peer node, and a value of the address attribute is a peer node address of the direct link; comparing, by the local node, a border gateway protocol (BGP) next-hop address of each route in a routing table with the peer node address of the direct link of the direct link interface; and based on comparing that a BGP next-hop address of a route in the routing table is the same as the peer node address of the direct link, modifying, by the local node, the direct link interface to be an outgoing interface of the route, and modifying, by the local node, the peer node address of the direct link to be a direct next-hop address of the route.