This section analyzes vlan configurations of Huawei switches and verifies the principles of The VTP protocol. Many things are involved in vlan configurations of Huawei switches. There are also a variety of technical methods for vlan configuration of Huawei switches, so there will be a bit of confusion in the selection of methods. The following shows you a path. Test site: Third data center test equipment on the second floor of Dongjiao campus: 2017st2950 three SW3, SW5, and SW6) test objectives: 1. Use VTP protocol to achieve unified VLAN configuration of switches
Verify VTP protocol principles
Experimental principle: VTP is a message protocol that uses Layer 2 frames to manage the addition, deletion, and rename of vlan configurations of Huawei switches on the basis of the entire network, to ensure the consistency of vlan configurations of Huawei switches. With VTP, you can modify the vlan configuration of a Huawei switch on one vswitch. The changes will be automatically transmitted to all other computers in the network.
Test topology:
Huawei switch vlan configuration
Test procedure for vlan configuration of a Huawei switch:
◆ Set SW3 to server mode, and SW5 and SW6 to client mode. Verify that SW5 and SW6 can learn the vlan configuration information of the Huawei switch of SW3.
◆ Configure port F0/23 of SW3, port F0/23 of SW5, port F0/24 of SW3, and port F0/24 of SW6 to trunk mode. The relay mode must be enabled between switches.
Huawei switch vlan configuration 2
◆ Set the VTP domain name of SW3 to benet.com, and set its mode to server) mode, enable the default value of version 1 ), enabling VTP trim can reduce unnecessary broadcast information on the relay port ).
◆ The management IP address of the vswitch with the IP address of VLAN1 in SW3 indicates the specific location of the VTP announcement)
◆ Configure vlan10, vlan20, and vlan30 on SW3 to describe the vlan configuration information of the Huawei switch learned by SW5 and SW6.
◆ Configure the VTP domain name of SW5 and SW6 as benet.com and enable the default value of V1.) Use SW5 as an example, as shown in:
◆ Check whether the vlan configurations of Huawei switches on SW3, SW5, and SW6 are consistent.
Take SW3 and SW5 as examples, as shown in:
Test results: SW5 and SW6 can learn the vlan configuration information of the Huawei switch of SW3. Note: Do not learn port division ).