免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1693 | 回复: 0
打印 上一主题 下一主题

VTP案例 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-29 00:19 |只看该作者 |倒序浏览


任务:在Catalyst2950交换机上配置VTP
完成标准
(1)按照拓扑要求连接交换机,在VTP服务器上配置VLAN,配置为VTP客户机的交换机能够学习到VLAN信息,不能添加,删除和修改VLAN.
(2)配置为透明模式的交换机可以自已添加,删除和修改VLAN,但是不学习VLAN信息.
配置如下:
switch>en
switch#conf term
switcha(config)#host switcha
switcha(config)#vtp domain ckh     //创建VTP域名为CKH//
switcha(config)#vtp mode server  //配置交换机的VTP模式为服务器//
switcha(config)#vtp password 123 //配置VTP口令//
switcha(config)#inter f0/23
switcha(config-if)#switchport mode trunk
//配置f0/23接口为trunk//
switcha#vlan data
switcha(vlan)#vlan 2
switcha(vlan)#vlan 3
switcha(config)#vtp pruning //配置VTP修剪//
switch>en
switch#conf term
switchb(config)#host switchb
switchb(config)#vtp domain ckh     //创建VTP域名为CKH//
switchb(config)#vtp mode transparent  //配置交换机的VTP模式为透明的//
switchb(config)#vtp password 123 //配置VTP口令//
switchb(config)#inter f0/23
switchb(config-if)#switchport mode trunk
//配置f0/23接口为trunk//
switchb(config)#inter f0/24
switchb(config-if)#switchport mode trunk
//配置f0/24接口为trunk//
switch>en
switch#conf term
switchc(config)#host switchc
switchc(config)#vtp domain ckh     //创建VTP域名为CKH//
switchc(config)#vtp mode transparent  //配置交换机的VTP模式为透明的//
switchc(config)#vtp password 123 //配置VTP口令//
switchc(config)#inter f0/24
switchc(config-if)#switchport mode trunk
//配置f0/24接口为trunk//
//show ip int bri 这条命令查看端口摘要信息//
//show vtp status 这条命令查看VTP的配置信息//
//show vlan brief 这条命令查看VLAN信息//
//在交换机上配置VTP口令,用于保证网络内交换机VLAN配置的安全性.同一VTP域内的交换机,口令配置要一致,否则客户机,透明模式将学习不到//

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/72558/showart_1351273.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP