Packet Processing Method, Device, and Network System
AssigneeHuawei Technologies Co., Ltd.
InventorsYuan Gao, Wenhui Li, Wanmei Zeng
Life of this patent
Estimating the term…
Abstract
A packet processing method includes sending, by the first provider edge (PE) device, a Media Access Control (MAC) entry update packet to a third PE device when a port of a first PE device that is connected to a customer edge (CE) device is switched from an activated state to a deactivated state, wherein the MAC entry update packet is sent to trigger the third PE device to delete a first MAC entry whose packet forwarding destination address is the first PE device, generating, through learning, a second MAC entry whose packet forwarding destination address is a second PE device, and forwarding a packet based on the second MAC entry.
Claims20
A packet processing method comprising:
- determining, by a first provider edge (PE) device, a fault occurrence on a link between the first PE device and a customer edge (CE) device when a first fault detection packet from the CE device is not received within a preset period, wherein the CE device is dual-homed to the first PE device and a second PE device through multi chassis trunk (MC-trunk) links including the link between the first PE device and the CE device;
- switching, by the first PE, a first PE port coupled to the link between the first PE device and the CE device from an activated state to a deactivated state based on the determination of the fault occurrence on the link;
- and
- discontinuing transmission of a port status packet to a second PE device based on the determination of the fault occurrence on the link, wherein the port status packet indicates the first PE port is in a normal state;
- and
- sending, by the first PE device, a Media Access Control (MAC) entry update packet to a third PE device, wherein the MAC entry update packet instructs the third PE device to delete a first MAC entry with a packet forwarding destination address set as the first PE device.
A first provider edge (PE) device comprising:
- a first PE device port configured to couple to a link between the first PE device and the CE device, wherein the first PE device port is initially set in an active state;
- a non-transitory memory storing instructions;
- and
- a processor coupled to the non-transitory memory, wherein the instructions, when executed by the processor, cause the first PE device to:
- determine a fault occurrence on the link between the first PE device and a customer edge (CE) device when a first fault detection packet from the CE device is not received within a preset period, wherein the CE device is dual-homed to the first PE device and a second PE device through multi chassis trunk (MC-trunk) links including the link between the first PE device and the CE device;
- switch the first PE device port from the activated state to a deactivated state based on the determination of the fault occurrence on the link;
- discontinue transmission of a port status packet to the second PE device based on the determination of the fault occurrence on the link, wherein the port status packet is indicates the first PE device port is in a normal state;
- and
- send a Media Access Control (MAC) entry update packet to a third PE device, wherein the MAC entry update packet instructs the third PE device to delete a first MAC entry with a packet forwarding destination address set as the first PE device.
A second provider edge (PE) device comprising:
- a second PE port configured to couple to a customer edge (CE) device, wherein the second PE port is initially set in a deactivated state;
- a non-transitory memory storing instructions;
- and
- a processor coupled to the non-transitory memory, wherein the instructions, when executed by the processor, cause the second PE device to:
- determine a fault occurrence on a link between a first PE device and the CE device or a fault occurrence on the first PE device when a port status packet is not received from the first PE device within a preset period;
- switch the second PE port from the deactivated state to an activated state based on the determination of the fault occurrence, wherein the port status packet indicates a first PE device port that is connected to the CE device is in a normal state;
- and
- extend an Ethernet virtual private network (EVPN) protocol packet to generate a MAC-withdraw packet based on the determination of the fault occurrence, wherein the MAC-withdraw packet instructs a third PE device to delete a first MAC entry with a packet forwarding destination address set as the first PE device;
- receive a Media Access Control (MAC) entry update packet from the first PE device, wherein the MAC entry update packet is a notification message, and wherein the notification message instructs the second PE device to send the MAC-withdraw packet to the third PE device by using an EVPN protocol;
- and
- send the MAC-withdraw packet to the third PE device based on the notification message by using the EVPN protocol.
Dependencies are inferred from the claim text.