IP Library Granted Patent US 8,072,984
Granted Patent B2
US 8,072,984 · App. 12/254,299 · Granted Dec 6, 2011

Ethernet switching and forwarding method, system and apparatus

Assignee: Huawei Technologies Co., Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,072,984
App. No.
12/254,299
Granted
Dec 6, 2011
Kind
B2
Abstract

An Ethernet switching and forwarding method, and at least one Ethernet forwarding mode of standard Ethernet forwarding, multiplex Ethernet forwarding, layer-3 routing and forwarding, across-VLAN multicast forwarding plane, point-to-point VLAN forwarding, or point-to-point double VLAN forwarding. The method includes: an Ethernet message entering a user side port or a network side port; processing, by the port, the message to provide the message with a VLAN tag allocated uniformly by the port; determining, by the port, a forwarding mode for the message and sending the message to a corresponding forwarding plane; determining, by the forwarding plane, an egress port of the message and processing the specific Ethernet control message in accordance with a control message capturing policy table; and forwarding the message to the egress port and encapsulating the message in accordance with an attribute table of the egress port.

Claims (55)

1. An Ethernet switching and forwarding method, comprising:

receiving, by an ingress port, an Ethernet message, allocating to the message a Virtual Local Area Network (VLAN) tag which is uniform at the ingress port in accordance with attribute of the ingress port;

determining a forwarding mode in accordance with the VLAN tag and a VLAN attribute table, wherein the VLAN attribute table defines a forwarding plane to which the VLAN tag belongs;

sending the message to one of forwarding planes corresponding to the forwarding mode, each of which forwarding planes corresponds to a forwarding mode;

determining, by the forwarding plane, an egress port in accordance with the received message and the forwarding mode, and sending the message to the egress port in the forwarding mode; and

encapsulating, by the egress port, the message in accordance with an attribute of the egress port, and forwarding the message;

wherein the ingress port comprises a port attribute table in which table entries of port types and table entries of VLAN tag processing rules comprising insertion, deletion, modification or replacement are set, and the VLAN attribute table in which forwarding modes are set; and

the ingress port allocates to the received message the VLAN tag, which is uniform at the ingress port and indicates the forwarding mode, by inserting, deleting, modifying, or replacing the VLAN tag, in accordance with the port attribute table and the VLAN attribute table.

2. The method according to claim 1 , after the forwarding plane receives the Ethernet message and before the forwarding plane sends the received Ethernet message to the egress port, further comprising: determining, by the forwarding plane, whether to capture the received Ethernet message in accordance with a message capturing policy, and if determining to capture the message, executing a process on the message in the message capturing policy; otherwise, sending the message to the egress port in the forwarding mode; and

the process in the message capturing policy comprises capturing, capturing and forwarding, transparent forwarding, or discarding.

3. The method according to claim 1 , wherein:

the ingress port is a user side port and the egress port is a network side port; or

the ingress port is a network side port and the egress port is a user side port.

4. The method according to claim 1 , wherein the forwarding plane comprises a standard Ethernet forwarding plane, a multiplex Ethernet forwarding plane, a layer-3 routing and forwarding plane, an across-Virtual Local Area Network multicast forwarding plane, a point-to-point Virtual Local Area Network forwarding plane, or a point-to-point double Virtual Local Area Network forwarding plane.

5. The method according to claim 4 , wherein the forwarding plane further comprises a transparent point-to-point Virtual Local Area Network forwarding plane or a transparent point-to-point double Virtual Local Area Network forwarding plane.

6. The method according to claim 1 , wherein the forwarding modes at the port attribute table are independent for each Virtual Local Area Network tag.

7. An Ethernet switching and forwarding system, comprising:

an ingress port configured to receive an Ethernet message, allocate to the message a Virtual Local Area Network (VLAN) tag which is uniform at the ingress port in accordance with attribute of the ingress port, determine a forwarding mode in accordance with the VLAN tag and a VLAN attribute table, wherein the VLAN attribute table defines a forwarding plane to which the VLAN tag belongs, and send the message to one of forwarding planes corresponding to the forwarding mode, each of which forwarding planes corresponds to a forwarding mode;

the forwarding plane configured to determine an egress port in accordance with the forwarding mode, and send the message to the egress port in the forwarding mode; and

the egress port configured to encapsulate the received message in accordance with an attribute of the egress port, and forward the message,

wherein the ingress port comprises a port attribute table in which table entries of port types and table entries of VLAN tag processing rules comprising insertion, deletion, modification or replacement are set, and the VLAN attribute table in which forwarding modes are set;

the ingress port allocates to the received message the VLAN tag, which is uniform at the ingress port and indicates the forwarding mode, by inserting, deleting, modifying, or replacing the VLAN tag, in accordance with the port attribute table and the VLAN attribute table.

8. The system according to claim 7 , wherein the forwarding plane is further configured to, before sending the received message to the egress port, process the message in a message capturing policy if determining to capture the received Ethernet message in accordance with the message capturing policy, and send the message to the egress port in the forwarding mode if determining not to capture the received Ethernet message.

9. The system according to claim 7 , wherein:

the ingress port is a user side port and the egress port is a network side port; or

the ingress port is a network side port and the egress port is a user side port.

10. The system according to claim 9 , wherein the forwarding plane comprises a standard Ethernet forwarding plane, a multiplex Ethernet forwarding plane, a layer-3 routing and forwarding plane, an across-Virtual Local Area Network multicast forwarding plane, a point-to-point Virtual Local Area Network forwarding plane, a point-to-point double Virtual Local Area Network forwarding plane, a transparent point-to-point Virtual Local Area Network forwarding plane, or a transparent point-to-point double Virtual Local Area Network forwarding plane; and

the Ethernet switching and forwarding system comprises any one or combination of the planes.

11. An Ethernet switching and forwarding apparatus, comprising:

an ingress port configured to receive an Ethernet message, allocate to the message a Virtual Local Area Network (VLAN) tag which is uniform at the ingress port in accordance with attribute of the ingress port, determine a forwarding mode in accordance with the VLAN tag and a VLAN attribute table, wherein the VLAN attribute table defines a forwarding plane to which the VLAN tag belongs, and send the message to one of forwarding modules corresponding to the forwarding mode, each of which forwarding modules corresponds to a forwarding mode;

the forwarding module configured to determine an egress port in accordance with the forwarding mode, and send the message to the egress port in the forwarding mode; and

the egress port configured to encapsulate the received message in accordance with an attribute of the egress port, and forward the message,

wherein the ingress port comprises a port attribute table in which table entries of port types and table entries of VLAN tag processing rules comprising insertion, deletion, modification or replacement are set, and the VLAN attribute table in which forwarding modes are set;

the ingress port allocates to the received message the VLAN tag, which is uniform at the ingress port and indicates the forwarding mode, by inserting, deleting, modifying, or replacing the VLAN tag, in accordance with the port attribute table and the VLAN attribute table.

12. The apparatus according to claim 11 , wherein the forwarding module is further configured to, before sending the received message to the egress port, process the message in a message capturing policy if determining to capture the received Ethernet message in accordance with the message capturing policy, and send the message to the egress port in the forwarding mode if determining not to capture the received Ethernet message.

13. The apparatus according to claim 11 , wherein:

the ingress port is a user side port and the egress port is a network side port; or

the ingress port is a network side port and the egress port is a user side port.

14. The apparatus according to claim 11 , wherein the forwarding module comprises a standard Ethernet forwarding module, a multiplex Ethernet forwarding module, a layer-3 routing and forwarding module, an across-Virtual Local Area Network multicast forwarding module, a point-to-point Virtual Local Area Network forwarding module, a point-to-point double Virtual Local Area Network forwarding module, a transparent point-to-point Virtual Local Area Network forwarding module, or a transparent point-to-point double Virtual Local Area Network forwarding module; and

the Ethernet switching and forwarding apparatus comprises any one or combination of the modules.

15. The apparatus according to claim 11 , wherein the Ethernet switching and forwarding apparatus is arranged in an access device, an Ethernet aggregation device, or an Ethernet switching and forwarding chip.

16. An Ethernet switching and forwarding method, comprising:

receiving, by an ingress port, an Ethernet message, allocating to the message a Virtual Local Area Network (VLAN) tag which is uniform at the ingress port in accordance with attribute of the ingress port;

determining a forwarding mode in accordance with the VLAN tag and a VLAN attribute table, wherein the VLAN attribute table defines a forwarding plane to which the VLAN tag belongs;

sending the message to one of forwarding planes corresponding to the forwarding mode, each of which forwarding planes corresponds to a forwarding mode;

determining, by the forwarding plane, an egress port in accordance with the received message and the forwarding mode, and sending the message to the egress port in the forwarding mode; and

encapsulating, by the egress port, the message in accordance with an attribute of the egress port, and forwarding the message;

wherein the ingress port comprises a port attribute table in which table entries of port types are set, and the VLAN attribute table in which forwarding modes are set;

the ingress port allocates to the received message the VLAN tag in accordance with port attribute table and indicates the forwarding mode in accordance with the VLAN attribute table.

17. An Ethernet switching and forwarding apparatus, comprising:

an ingress port configured to receive an Ethernet message, allocate to the message a Virtual Local Area Network (VLAN) tag which is uniform at the ingress port in accordance with attribute of the ingress port, determine a forwarding mode in accordance with the VLAN tag and a VLAN attribute table, wherein the VLAN attribute table defines a forwarding plane to which the VLAN tag belongs, and send the message to one of forwarding modules corresponding to the forwarding mode, each of which forwarding planes corresponds to a forwarding mode;

the forwarding module configured to determine an egress port in accordance with the forwarding mode, and send the message to the egress port in the forwarding mode; and

the egress port configured to encapsulate the received message in accordance with an attribute of the egress port, and forward the message,

wherein the ingress port comprises a port attribute table in which table entries of port types are set, and the VLAN attribute table in which forwarding modes are set;

the ingress port allocates to the received message the VLAN tag in accordance with port attribute table and indicates the forwarding mode in accordance with and the VLAN attribute table.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 20, 2008
From: CHANG, YUE
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 021707/0307 →
Priority Claims (1)
CN 200610061219 · Jun 16, 2006 · national
Continuity (2)
Continuation PCTCN2007001874 · Jun 14, 2007
Related Publication 20090122801A1 · May 14, 2009