Learn how the vswitch GVRP function controls the network

Source: Internet
Author: User

The GVRP function of the switch is very powerful, but when we enable the GVRP function from a port, we must first enable the global function of the switch where the corresponding switch port is located. With the rapid development of information technology, many organizations have established their own internal networks to cater to the information development trend, in the daily office process, employees of the Organization make full use of the Intranet network for shared resource transmission, network printing operations, and access to internal sites, which greatly improves the daily office efficiency of employees.

However, while improving the work efficiency of the Intranet network, if the management is poor, it will easily affect the normal working order. How can we effectively manage the internal network? In fact, the core device of the internal network is a switch. Clever control and configuration of the switch can greatly improve the network management efficiency, so that the internal network can always run stably and efficiently! Now, this article is modeled on the common Huawei series switches. We recommend several switches to use to control the network!

Cleverly enable GVRP to dynamically update VLAN configuration information

Currently, almost all core switches support the GVRP communication protocol. The switch GVRP function can be cleverly enabled to automatically register or update the configuration information between different working subnets of the switch, in this way, the network administrator can avoid the trouble of repeatedly configuring different VLAN connection ports. For example, A switches connect to the e1/22 interface of B through the e0/22 interface. In order to enable the VLAN information on these two exchange interfaces to be automatically updated and registered, follow these steps to enable the GVRP function of the two switches:

First, log on to the switch background management system remotely as A system administrator. In the command line status of the background system, enter the string command "system" and click the Enter key, switch the system to the Global View configuration mode. Then, in the Global View configuration mode, enter the string command "GVRP" and click the Enter key. Then, switch A automatically enables the global switch GVRP function.

To enable the GVRP function for the e0/22 interface of A switch, we need to set the connection type of the switch port to the trunk type first, it also allows all working subnets in the LAN to access the network through this port. During this configuration, we can go to the Global View Mode of vswitch.

Enter the string command "inter e0/22", click the Enter key, we will find that the command line prompt is changed to "XXX-Ethernet0/22", where "XXX" is the host name of the target switch, the core switch system automatically switches to the e0/22 interface view mode.

Then, in e0/22 interface view mode, enter the string command "port link-type trunk" and click the Enter key to set the connection type of the target switch port to the trunk port, then execute the string command "port trunk permit vlan all", so that the e0/22 interface can allow all VLANs in the LAN to pass through, and finally execute the "GVRP" string command, in this way, the gvrp function of the vswitch can be enabled on the e0/22 interface of the switch. Follow the same steps and go to the background management system of the B switch, execute the string commands "system" and "GVRP" in sequence to enable the global switch GVRP function of the B switch, then run the string commands "inter e1/22", "port link-type trunk", and "port trunk permit vlan all" in sequence, and then run the string command "GVRP ".

In this way, the GVRP function is successfully enabled on the e1/22 interface of the B switch. After the GVRP function is enabled for the interconnection interfaces of the two switches, they can automatically update the VLAN configuration information between the two switches in the future, the Network Administrator does not need to perform the same configuration operation again.

To enable the GVRP function of a switch on a switch port, you must enable the global switch GVRP function of the switch where the switch port is located, you also need to set the connection type of the target switch port to trunk, because only the trunk port supports enabling and disabling the switch GVRP function; if you want to disable the GVRP function of the switch on the target switch port in the future, run the "undo gvrp" string command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.