Back to results
US 12,375,392 B2Granted
Packet processing method and related device
AssigneeHuawei Technologies Co., Ltd.
InventorsChenchen Guan, Guifeng Liu
Life of this patent
Estimating the term…
Abstract
A packet processing method and a related device are disclosed for saving access control list resources. A first network device receives a packet sent by a second network device. The packet reaches the first network device through a tunnel between the first network device and the second network device. The first network device determines a reserved port that is of the first network device and that corresponds to a port of the tunnel. The first network device processes the packet based on the reserved port.
Claims9
A packet processing method, the method comprising:
- receiving, by a first network device via a tunnel between the first network device and a second network device, a data packet sent by the second network device, wherein the first network device and the second network device are members of a multi-chassis link aggregation group (M-LAG), and wherein the data packet is received at a port of the tunnel
- establishing, by the first network device, a mapping relationship between the port of the tunnel and a first reserved port of the first network device;
- and
- determining, by the first network device, the first reserved port based on the mapping relationship;
- and
- processing, by the first network device, the data packet based on the first reserved port by not sending, by the first network device, the data packet to a first isolation port corresponding to the first reserved port, wherein the first isolation port and the first reserved port are in a same first isolation group corresponding to the M-LAG, wherein the first isolation port is a first port of the first network device, wherein the first port of the first network device is a member port of the M-LAG,
- wherein the first network device is a member device of a second M-LAG, wherein a second isolation group comprises a second isolation port and a second reserved port, wherein the second isolation port is a second port of the first network device, wherein the second port of the first network device is a member port of the second M-LAG, the second reserved port corresponding to the port of the tunnel.
4 more elements
A network device, comprising:
- processing circuitry;
- and
- a memory having stored thereon program instructions that, when executed by the processing circuitry, cause the network device to:
- receive, via a tunnel between the network device and a second network device, a data packet sent by the second network device, wherein the network device and the second network device are members of a multi-chassis link aggregation group (M-LAG), and wherein the data packet is received at a port of the tunnel;
- determine a mapping relationship between the port of the tunnel and a first reserved port of the network device;
- and
- determine, by the first network device, the first reserved port based on the mapping relationship;
- and
- process the data packet based on the first reserved port by not sending, by the first network device, the data packet to a first isolation port corresponding to the first reserved port,
- wherein the first isolation port and the first reserved port are in a same first isolation group corresponding to the M-LAG, wherein the first isolation port is a first port of the first network device, wherein the first port of the first network device is a member port of the M-LAG,
- wherein the first network device is a member device of a second M-LAG, wherein a second isolation group comprises a second isolation port and a second reserved port, wherein the second isolation port is a second port of the first network device, wherein the second port of the first network device is a member port of the second M-LAG, the second reserved port corresponding to the port of the tunnel.
8 more elements
Dependencies are inferred from the claim text.