侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

VTP学习笔记(二)

2022-12-08 星期四 / 0 评论 / 0 点赞 / 35 阅读 / 3591 字

二、VTP实验实验拓扑图如下:1、各设备配置命令a、VTP_Client1配置信息:VTP_Client1#configure terminalVTP_Client1(config)#int e0/0

.

二、VTP实验

实验拓扑图如下:

1、各设备配置命令

a、VTP_Client1配置信息:
VTP_Client1#configure terminal
VTP_Client1(config)#int e0/0
VTP_Client1(config-if)#switchport trunk allowed vlan all
VTP_Client1(config-if)#switchport trunk encapsulation dot1q
VTP_Client1(config-if)#switchport mode trunk
VTP_Client1(config-if)#exit
VTP_Client1(config)#vtp mode client 


b、VTP_Client2配置信息:
VTP_Client2#configure terminal
VTP_Client2(config)#int e0/1
VTP_Client2(config-if)#switchport trunk allowed vlan all
VTP_Client2(config-if)#switchport trunk encapsulation dot1q
VTP_Client2(config-if)#switchport mode trunk
VTP_Client2(config-if)#exit
VTP_Client2(config)#vtp mode client

c、VTP_transparent配置信息:
VTP_Client2#configure terminal
VTP_Client2(config)#int range  e0/0 - 1
VTP_Client2(config-if-range)#switchport trunk allowed vlan all
VTP_Client2(config-if-range)#switchport trunk encapsulation dot1q
VTP_Client2(config-if-range)#switchport mode trunk
VTP_Client2(config-if)#exit
VTP_Client2(config)#vtp mode transparent

d、VTP_Server配置信息:
VTP_Server#conf t
VTP_Server(config)#int range e0/0 - 1
VTP_Server(config-if-range)#switchport trunk allowed vlan all
VTP_Server(config-if-range)#switchport trunk encapsulation dot1q
VTP_Server(config-if-range)#switchport mode trunk
VTP_Server(config-if-range)#exit
VTP_Server(config)#vtp mode server
VTP_Server(config)#vtp domain sugege.com            这里需要注意,域名是区分大小写的
Changing VTP domain name from NULL to sugege.com

这里有一个配置技巧,先配置Client和transparent,后配置Server,这样当Server配置了域名以后,客户端就可以直接同步学习到Server的VLAN配置信息。


2、配置完成后,查看vtp的状态

服务端:

客户端:

透明端:

3、在服务端添加VLAN配置

a、服务端:

添加VLAN:

查看VLAN配置信息:

查看vtp状态:

b、客户端

查看VLAN配置信息:

查看vtp状态:

c、透明端

查看VLAN配置信息:

查看vtp状态:

.

广告 广告

评论区