Abstract:
A route priority configuration method, a device, and a controller. The controller receives an interface creation request for creating a layer 3 interface on a target device, where the interface creation request carries an IP address and a subnet mask. The controller generates a direct route of the layer 3 interface based on the interface creation request; allocates a route priority to the direct route according to a preset allocation rule; and sends the direct route and the route priority corresponding to the direct route to the target device. According to the embodiments, direct routes generated based on a same IP address can correspond to different route priorities, to avoid a case in which direct routes advertised by different distributed gateways form ECMP, and improve route priority configuration efficiency.
Abstract:
The present application discloses a packet forwarding method and apparatus. An access device receives a first packet, where the first packet is an Ethernet packet, searches an equal-cost multi-path forwarding entry for a matched equal-cost path according to a destination MAC address of the Ethernet packet, where the equal-cost multi-path forwarding entry includes: a virtual MAC address corresponding to a gateway aggregation group, an identifier of each gateway device in the gateway aggregation group, and an outbound interface corresponding to the identifier of each gateway device, where the identifier is used to uniquely identify a gateway device in a large layer 2 network; and if N matched equal-cost paths are found, encapsulates the first packet into a second packet according to a first path in the N matched equal-cost paths, and forwards the second packet according to an outbound interface of the first path.
Abstract:
Embodiments of the present invention disclose a method, a router bridge, and a system for TRILL network protection. An active RB node and a standby RB node share a virtual Nickname and a virtual MAC address, and construct a protection group. The active RB node, through the TRILL protocol, obtains a network topology and generates a forwarding path to perform forwarding of a data packet. When the active RB node is faulty, the standby RB node is raised to be active and the data packet is forwarded through the standby RB node, so that the time for fault recovery is shortened, thereby solving the problem that in an existing TRILL network when a root RB node is faulty, a long time for the fault recovery causes a service interruption and affects network performance.