Method for renewing address analysis protocol rapidly

An address update and fast technology, applied in the field of network communication, can solve the problems of unable to learn ARP entries in a short time, occupying switch CPU time, flooding of ARP broadcast packets, etc., to improve update efficiency, avoid flooding, network Flicker mitigation effect

Inactive Publication Date: 2006-04-26
NEW H3C TECH CO LTD
View PDF0 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, the switch will frequently receive topology change messages during this process, and dynamic ARP entries will also be deleted frequently. Since the triggering and learning of dynamic ARP must be completed by the CPU, if ARP entries are frequently deleted, then Re-triggering and learning will take up a lot of CPU time of the switch, and due to the limitation of CPU process...

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
  • Method for renewing address analysis protocol rapidly
  • Method for renewing address analysis protocol rapidly
  • Method for renewing address analysis protocol rapidly

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] see figure 1 , when the network topology changes, the present invention firstly processes the existing ARP as follows:

[0057] Step 101, the STP on the main control board recalculates the spanning tree information and modifies the port state of the switch, and then notifies all ARPs related to this port of the port state change message;

[0058] Step 102, after the ARP on the main control board receives the message that the port state changes, traverse all dynamic ARP entries, set the outgoing port of the ARP entry related to this port as an invalid value, and set the entry attribute as unavailable , broadcast the message of deleting the host route at the same time, and the interface board sends the hardware to delete the host route after receiving the delete message;

[0059] Step 103, the main control board broadcasts the message of deleting the ARP entry related to the port state change, the interface board deletes the ARP entry related to the port after receiving ...

Embodiment 2

[0079] The above describes the situation of learning and updating ARP through Mac when the network topology changes, that is, the ARP entry on the main control board is not deleted, but only modified to be unavailable, and the ARP entry on the interface board is deleted, and learned through Mac Update ARP entries. However, the present invention can also adopt another processing method, that is, the ARP entries of the main control board and the interface board are not modified or deleted, and the bottom host route is not deleted, but the active triggering of ARP is initiated in batches according to the capabilities of the switch Request to complete the ARP update when the network topology changes. For the specific operation process, see Figure 5 , the operation steps are as follows:

[0080] Step 501, when the network topology changes, mark the ARP entry corresponding to the port whose STP state changes on the main control board, and start a timer at the same time;

[0081] ...

Embodiment 3

[0088] The centralized switch is different from the distributed switch in that the centralized switch does not distinguish between the main control board and the interface board, it is just one board, so the realization of ARP update on the centralized switch can omit the communication between the main control board and the interface board , so updating is simpler, see Image 6 , when the network topology changes, the specific ARP update steps are as follows:

[0089] Step 601, STP recalculates the spanning tree information and modifies the port status of the switch, and then notifies the ARP of the port status change;

[0090] Step 602, ARP traverses all dynamic ARP entries after receiving this message, sets the outgoing port of the ARP entry related to this port as invalid, and sets the attribute of the entry as unavailable, and deletes the host route simultaneously;

[0091] Step 603, STP notifies Mac to delete all Mac entries related to this port;

[0092] Because the MA...

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 to rapid update ARP, which comprises: when the exchange port changes, it conserves the ARP list item of the exchange; the exchange acquires opposite Mac address and carried port information to find ARP list item with same Mac address information and update the port information in ARP item. This invention can save CPU time, improves convergence capacity and efficiency, and avoids flooding of much message as ARP active triggers.

Description

technical field [0001] The invention relates to network communication technology, in particular to a method for rapidly updating Address Resolution Protocol (ARP, Address Resolution Protocol) when the network topology changes. Background technique [0002] In Ethernet (Ethernet), multiple network devices are connected and communicate with each other through switches. The switch is managed by a standardized mechanism of Spanning Tree Protocol (STP, Spanning Tree Protocol). STP is a Layer 2 management protocol, which eliminates Layer 2 loops in the network by selectively blocking redundant links in the network, thereby effectively suppressing the generation of broadcast storms. At the same time, STP also has a link backup function. When the network topology changes or the network fails, it can recalculate the spanning tree information and set the port status of the corresponding switch. [0003] In addition, in Ethernet, if a network device wants to communicate directly with...

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): H04L29/06H04L12/947
Inventor 滕利明
Owner NEW H3C TECH 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