Message processing method, device and switch

A packet processing and switching technology, applied in the network field, can solve the problems of heavy authentication server load, poor packet processing performance, and inability to process packets by hardware, so as to reduce the load, improve processing speed, and achieve Layer 2 forwarding.

Active Publication Date: 2016-03-09
RUIJIE NETWORKS CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a message processing method, device and switch, which are used to solve the performance of message processing caused by the fact that the existing messages can only be processed at the software level in the authentication server and cannot be processed by chip-level hardware. Bad problems and problems with heavy authentication server load

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
  • Message processing method, device and switch
  • Message processing method, device and switch
  • Message processing method, device and switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The message processing method, device and switch provided by the present invention will be described in more detail below with reference to the accompanying drawings and embodiments.

[0067] An embodiment of the present invention provides a message processing method, such as figure 2 shown, including:

[0068] Step 101, the switching chip of the layer-3 authentication switch receives the data packet from the user forwarded by the layer-3 core device through the first port, and obtains the source network protocol IP address from the data packet.

[0069] Specifically, the data message from the user carries a source IP (Internet Protocol, Internet Protocol) address, and the switch chip obtains the source IP address carried in the message by parsing the message.

[0070] Step 102, assigning a preset virtual routing and forwarding identifier VRFID to the data packet.

[0071] Specifically, a preset VRFID is assigned to the data packet received through the first port, an...

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 message processing method, a message processing device and a switch. The method includes the following steps that: the switching chip of a three-layer authentication switch receives a data message from a user through a first port and obtains a source network protocol IP address from the data message, wherein the data message is forwarded by a three-layer core device; a preset virtual routing and forwarding identifier (VRFID) is distributed for the data message; routing table query is carried out according to the source network protocol IP address and the preset VRFID, and whether the user is an authenticated user is judged; if the user is an authenticated user, the data message is transmitted to an exit device, the destination MAC address and source MAC address of the data message do not change after routing table query; if the user is not an authenticated user, the data message is transmitted to the central processing unit (CPU) of the three-layer authentication switch, and the CPU transmits the data message to an authentication server for authenticating the data message. With the message processing method, the message processing device and the switch of the invention adopted, the processing speed of the message can be improved, and the load of the authentication server can be reduced.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a message processing method, device and switch. Background technique [0002] The current network topology for three-tier authentication for users is as follows: figure 1 As shown, an egress authentication server is set between the egress device and the layer-3 core authentication device. The layer-3 core device is responsible for forwarding data packets from users accessing the external network to the egress authentication server. The network data message judges whether the user is an authenticated user. If it is an authenticated user, the data message will be forwarded to the egress device to allow the user to access the external network. Otherwise, the egress authentication server will After the data packet is authenticated, the user is allowed to access the external network. [0003] However, the above-mentioned authentication server utilizes the CPU therein to process the...

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
IPC IPC(8): H04L12/723H04L12/741H04L12/803H04L12/931H04L45/50H04L45/74
Inventor 翁财忍
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products