Unlock instant, AI-driven research and patent intelligence for your innovation.

L2 packet forward method for a switch

A forwarding method and message forwarding technology, applied in the field of communication, can solve problems such as traffic forwarding failure, and achieve the effect of overcoming forwarding failure

Active Publication Date: 2008-09-10
ZTE CORP
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention aims to provide a two-layer message forwarding method of a switch to solve the problem that the forwarding of traffic may fail

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • L2 packet forward method for a switch
  • L2 packet forward method for a switch
  • L2 packet forward method for a switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0024] Figure 4 A flowchart showing a layer 2 message forwarding method of a switch according to an embodiment of the present invention, including the following steps:

[0025] Step S10, the switch sets the PFlag flag bit according to the Tag in the received message;

[0026] Step S20, determine the interface type of the received message according to the type flag, the interface type includes NPort type and VPort type;

[0027] Step S30, if the interface type is an NPort type, after removing the Tag and the type flag in the message, the local port forwards the message;

[0028] Step S40, if the interface type is the VPort type, the virtual port forwards the message after removing the type flag bit in the message.

[0029] This embodiment overcomes the problem that the forwarding of traffic may fail because of the method of determ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for forwarding layer 2 message of an exchanger, which comprises the following steps: the exchanger sets PFlag flag bit according to Tag in the received message; the type of the interface of the received message is determined according to type flag bit and the interface can be of NPort type and VPort type; if the interface is of NPort type, the message is forwarded by a home terminal after the Tag and the type flag bit in the message are removed; if the interface is of VPort type, the message is forwarded by a virtual port after the type flag bit is removed from the message. The method of the invention ensures that the forwarding process of layer 2 message of the exchanger can be controlled.

Description

technical field [0001] The invention relates to the communication field, in particular to a layer-2 message forwarding method of a switch. Background technique [0002] In practical applications, the specific business and application configuration may be different, and the requirements for encapsulating VLAN (Virtual Local Area Network) for ports are also different. The existing mainstream port configuration modes are Access (access link), Trunk (trunk Link) and Hybrid (hybrid link) are the three main modes, but the combined configuration of the first two can completely replace the third mode. [0003] When implementing various port modes, manufacturers adhere to standard ideas in design ideas, but in practice, there are differences in the implementation of data forwarding. The main difference is that when the interface is configured as a Trunk mode, the route selection of the traffic after entering the interface and the selection of the tag (IEEE 802.1Q VLANTagged, includi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/56H04L12/46H04L45/50
Inventor 刘林
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More