Settings for VTP on two switches

1. Complete the basic configuration of the exchange

(1) Configure the IP address of the PC

(2) Create vlan

2. Switch VTP configuration

Step 1: Set SwitchA as VTP Server.

SwitchA(config)#vtp mode se

Device mode already VTP SERVER.

Step 2: Modify the VTP domain name of SwitchA to test.

SwitchA(config)#vtp domain test

Changing VTP domain name from NULL to test

Step 3: Configure SwitchA's VTP password to cisco.

SwitchA(config)#vtp password cisco

Setting device VLAN database password to cisco

Step 4: Set SwitchB as VTP client.

SwitchB(config)#vtp mode client

Setting device to VTP CLIENT mode.

Step 5: Modify the VTP domain name of SwitchB to test.

SwitchB(config)#vtp domain test

Changing VTP domain name from NULL to test

Step 6: Configure SwitchB's VTP password to cisco.

SwitchB(config)#vtp password cisco

Setting device VLAN database password to cisco

Step 7: Create vlan100 and vlan200 in SwitchA

SwitchA(config)#vlan100

SwitchA(config)#vlan200

3. View switch VTP information

Guess you like

Origin blog.csdn.net/qq_70242064/article/details/129392616