Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for adding/exiting physical port to/from aggregation port

A technology of physical ports and aggregated ports, which is applied in the field of communication, can solve the problem that GID resources cannot be used reasonably, and achieve the effect of saving CPU and storage space

Inactive Publication Date: 2011-06-15
ZTE CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and device for adding / exiting a physical port to / from an aggregation port, so as to at least solve the problem that the GID resource of the above-mentioned equipment cannot be reasonably utilized

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 and device for adding/exiting physical port to/from aggregation port
  • Method and device for adding/exiting physical port to/from aggregation port
  • Method and device for adding/exiting physical port to/from aggregation port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] This embodiment mainly describes the process of adding a physical port to an aggregation port with the GVRP function enabled, such as figure 1 shown, including the following steps:

[0029] Step S101, executing an instruction of adding a physical port to an aggregation port.

[0030] Step S102, judging whether the static vlan attribute of the physical port is consistent with the aggregation port, if consistent, execute step 104; if not, execute step 103.

[0031] In step S103, adding the physical port to the aggregation port fails, and the original attributes of the physical port and the aggregation port remain unchanged.

[0032] Step S104, determine whether the physical port has enabled the GVRP function, if enabled, execute step S105; if not enabled, execute step 106.

[0033] Step S105, the physical port cancels its dynamic vlan, releases the GID resource, and joins the dynamic vlan where the aggregation port is located.

[0034] Step S106, adding the physical po...

Embodiment 2

[0038] This embodiment mainly describes the process of adding a physical port to an aggregation port whose GVRP function is not enabled, such as figure 2 As shown in the figure, adding a physical port to an aggregation port whose GVRP function is not enabled includes the following steps:

[0039] In step S201, an instruction of adding a physical port to an aggregated port is executed.

[0040] Step S202, judging whether the static vlan attribute of the physical port is consistent with the aggregation port. If consistent, go to step 204 for processing; if not, go to step S203 for processing.

[0041] In step S203, adding the physical port to the aggregation port fails, and the original attributes of the physical port and the aggregation port remain unchanged.

[0042] Step S204, judging whether the physical port has enabled the GVRP function. If it is enabled, go to step S205; if not, go to step S206.

[0043] Step S205, the physical port cancels the dynamic vlan, releases...

Embodiment 3

[0047] This embodiment mainly describes the flow of a physical port withdrawing from an aggregation port with the GVRP function enabled, such as image 3 As shown in the figure, the process of exiting the aggregation port with the GVRP function enabled on the physical port includes the following steps:

[0048] Step S301, execute the instruction that the physical port exits the aggregation port with the GVRP function enabled;

[0049] Step S302, the physical port cancels the dynamic vlan, releases the GID resource, and closes the GVRP function;

[0050] Step S303, judging whether the GVRP function is enabled before the physical port joins the aggregation port. If enabled, go to step S304; if not turned on, go to step S305;

[0051] Step S304, the physical port withdraws from the aggregation port, re-applies for GID resources, and enables the GVRP function;

[0052] Step S305, the physical port exits the aggregation port and does not have the GVRP function.

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 and a device for adding / exiting a physical port to / from an aggregation port, wherein the method for adding the physical port to the aggregation port comprises the following steps of: executing a command for adding the physical port to the aggregation port; judging whether the generic attribute registration protocol (GVRP) of the physical port is started; and if so, releasing the GID resource (GVRP information declaration) of the physical port and adding the physical port to the aggregation port. By adopting the method and the device, when the physical port is added to the aggregation port, the GID resource of the aggregation port is released, so the problem that the GID resource in the GVRP cannot be utilized reasonably is solved. Therefore, the effects of saving CUP (central processing unit) and the storage space are achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method and device for adding or withdrawing a physical port from an aggregation port. Background technique [0002] The support of VLAN (Virtual Local Area Network, Virtual Local Area Network) in the switch is a very important function. When the scale of the network is relatively large, the management of VLAN is relatively complicated. GVRP (GARP VLAN Registration Protocol, GARP VLAN Registration Protocol) is a protocol defined to solve the dynamic configuration of VLAN attributes. Configure a small number of switches in the network, and its VLAN information can be distributed and propagated in the network, so that all switches on the network can be consistent with each other in VLAN configuration and realize free communication. [0003] Since aggregated ports and aggregated links exist in the network, it is important for the GVRP protocol to support aggregated ports. An agg...

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/46H04L29/06
CPCH04L12/4641
Inventor 潘玉峰
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products