Attribute registration method for switched network and switching equipment
A technology of switching equipment and switching network, which is applied in the direction of data switching network, digital transmission system, electrical components, etc. It can solve problems such as error-prone, inability to propagate ring network attributes, and heavy configuration workload, so as to simplify configuration operations, The effect of improving network stability
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2011-01-12
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer network communication, in particular to an attribute registration method and switching equipment for switching networks. Background technique
[0002] With the development of Ethernet technology, Ethernet switches are more and more widely used. However, due to the large number of Ethernet switch devices, the configuration of attributes becomes more complicated, especially for low-end devices, and the configuration commands are more cumbersome. The GARP (GenericAttribute Registration Protocol, Generic Attribute Registration Protocol) protocol and the application protocols GVRP (GARP Vlan Registration Protocol, GARPVlan Registration Protocol) and GMRP (GARP Multicast Registration Protocol, GARP Multicast Registration Protocol) defined by GARP have emerged. These two protocols, GVRP and GMRP, are used to dynamically maintain the vlan (Virtual Local Area Network, virtual local area network) registration inform...
Examples
Embodiment 1
[0038] The attribute registration method provided by the present invention and the switching equipment with this registration function are based on a specific application of the GARP standard, and realize the automatic registration of the instance-vlan mapping relationship of the switching equipment in the same exchange. In this embodiment, processing The function of module 20 can be finished by command line submodule 202 and message processing submodule 204, as image 3 As shown, the processing module 20 includes: a command line sub-module 202 and a message processing sub-module 204 , which are coupled to each other and realize automatic registration of the instance-vlan attribute under the control of the timer module 40 .
[0039] The command line sub-module 202 is used to enable or disable the instance-vlan registration function of the switching device, including a global switch and a port / trunk switch. The command line sub-module 202 needs to perform a series of judgments,...
Embodiment 2
[0045] This embodiment describes the processing flow of the received registration message, such as Figure 4 shown, including the following steps:
[0046] In step S402, the switching device receives registration messages from other switching devices in the same switching network.
[0047] Step S404, judging whether the message type is a LeaveAll message.
[0048] Step S406, if yes, start the LeaveAll timer.
[0049] Step S408, judging whether a Join message is received before the LeaveAll timer expires.
[0050] Step S410, if no Join message is received before the LeaveAll timer expires, cancel all learned instance-vlan mapping relationship attributes, otherwise, process the Join message.
[0051] Step S412, if the type of the received message is not LeaveAll, it is judged whether the instance-vlan attribute information carried in the message exists in the switching device.
[0052] In step S414, if the attribute information does not exist in the switching device, it is j...