两个交换机VTP的设置

1、完成交换的基本配置

(1)配置PC机的IP地址

(2)创建vlan

2、交换机VTP配置

第一步:将SwitchA设置为VTP Server。

SwitchA(config)#vtp mode se

Device mode already VTP SERVER.

第二步:修改SwitchA的VTP 域名为test。

SwitchA(config)#vtp domain test

Changing VTP domain name from NULL to test

第三步:配置SwitchA的VTP 密码为cisco。

SwitchA(config)#vtp password cisco

Setting device VLAN database password to cisco

第四步:将SwitchB设置为VTP client。

SwitchB(config)#vtp mode client

Setting device to VTP CLIENT mode.

第五步:修改SwitchB的VTP 域名为test。

SwitchB(config)#vtp domain test

Changing VTP domain name from NULL to test

第六步:配置SwitchB的VTP 密码为cisco。

SwitchB(config)#vtp password cisco

Setting device VLAN database password to cisco

第七步:在SwitchA中创建vlan100和vlan200

SwitchA(config)#vlan100

SwitchA(config)#vlan200

3、查看交换机VTP信息

猜你喜欢

转载自blog.csdn.net/qq_70242064/article/details/129392616