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

A method and device for realizing three-layer forwarding and encapsulating protocol information in a network

A technology of protocol information and three-layer forwarding, which is applied in the field of communication, can solve the problems of unable three-layer forwarding and encapsulation of protocol information, and achieve the effect of improving forwarding efficiency and realizing three-layer forwarding

Active Publication Date: 2017-11-14
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to realize Layer 3 forwarding of data packets and to encapsulate protocol information for data packets in the network, after receiving data packets that need to be forwarded at Layer 3, the switch needs to search for Layer 3 forwarding entries and pass Action to replace the destination MAC and source MAC to achieve three-layer forwarding, and then another action is required to label the packet encapsulation protocol. Since most switch chips currently only support one action, it cannot be used in the network under normal networking conditions. It not only realizes three-layer forwarding but also encapsulates protocol information

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
  • A method and device for realizing three-layer forwarding and encapsulating protocol information in a network
  • A method and device for realizing three-layer forwarding and encapsulating protocol information in a network
  • A method and device for realizing three-layer forwarding and encapsulating protocol information in a network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Aiming at the current technical problem of not being able to implement layer-3 forwarding and encapsulating protocol information in the network, there is a solution for implementing layer-3 forwarding and encapsulating protocol information through a loopback interface. In this solution, the next hop action corresponding to the Layer 3 forwarding entry on the switch is to replace the MAC address, and the outgoing port points to a loopback interface. After receiving the data packet that needs to be forwarded at Layer 3, the switch first searches for Forwarding table entries, complete the replacement of the destination MAC address and source MAC address according to the search results of the three-layer forwarding table entries, and then loop the message back to the switch from the loopback port, and the switch searches for the two-layer forwarding table entries, and the two-layer The next hop action corresponding to the forwarding entry is to add a protocol label. After se...

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 discloses a method and a device for realizing three-layer forwarding and encapsulating protocol information in a network. More than two first switches are stacked and connected, and all second switches are fully connected to all first switches. The first switch receives data packets that need to be forwarded at Layer 3 through non-stacking ports, and the Layer 3 forwarding entries matched by the data packets Obtain the MAC address to be replaced, the next-hop egress port and the DVP value of the destination virtual port, the next-hop egress port is the port connected to the second switch by another first switch, and the DVP value is determined by the second switch connected to the non-first switch The port mapping is obtained; replace the MAC address in the data packet with the MAC address to be replaced, carry the next hop egress port and DVP value in the stack protocol header, and encapsulate the data packet with the replaced MAC address in the stack protocol header It is forwarded to another first switch through the stack port.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and a device for realizing three-layer forwarding and encapsulating protocol information in a network. Background technique [0002] Network device virtualization is a trend, which can simplify management, reduce costs, and realize flexible networking. At present, many standardized protocols have been proposed to support the virtualization of network equipment, such as 802.1BR, 802.1Qbg, etc., by encapsulating the agreed protocol tag (TAG) in the data message, the control bridge (controlling bridge) in the networking model is realized. , CB) device and port extender (port extender, PE) device forward data packets according to a fixed channel, so as to achieve the effect of extending the CB port and virtualizing multiple physical devices together. [0003] In the standard protocol, only the Layer 2 forwarding process that the switch (the switch may be a CB device) ...

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 Patents(China)
IPC IPC(8): H04L12/741H04L29/06H04L45/74
Inventor 刘东旭祁正林
Owner NEW H3C TECH CO LTD