Chinaunix首页 | 论坛 | 博客
  • 博客访问: 260789
  • 博文数量: 30
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-03 12:55
文章分类

全部博文(30)

文章存档

2010年(9)

2009年(20)

2008年(1)

我的朋友

分类: 系统运维

2009-07-29 21:31:59

配置vtp服务器

  一、进入全局模式

   swith# configure terminal

  二、将交换机配置为vtp服务器模式

   switch(config)# vtp mode server

  三、配置vtp管理域名

   switch(config)# vtp aomain domain-name

  四、设置vtp域密码,密码长度为8-64个字符

   swith(config)#vtp password password

  五、返回特权模式

   swith(config)# end

  六、查看并校验配置

   swith#show vtp statue

  七、保存配置

   swith# copy running-config start-running

  配置vtp客户端

  一、进入全局模式

   swith# configure terminal

  二、将交换机配置为vtp服务器模式

   switch(config)# vtp mode client

  三、配置vtp管理域名

   switch(config)# vtp aomain domain-name

  四、设置vtp域密码,密码长度为8-64个字符

   swith(config)#vtp password password

  五、返回特权模式

   swith(config)# end

  六、查看并校验配置

   swith#show vtp statue

  七、保存配置

   swith# copy running-config start-running

  配置vtp透明模式

  一、进入全局模式

   switch# configure terminal

  二、将交换机配置为vtp透明模式

   switch(config)# vtp mode transparent

  三、返回特权模式

   swith(config)# end

  四、查看并校验配置

   swith#show vtp statue

  五、保存配置

   swith# copy running-config start-running

  启用vtp版本

  一、进入全局模式

   switch# configure terminal

  二、在交换机上启用vtp版本 2

   switch(config)# vtp version 2

  三、返回特权模式

   swith(config)# end

  四、查看并校验配置

   swith#show vtp statue

  五、保存配置

   swith# copy running-config start-running

  启用vtp修剪

  一、进入全局模式

   switch# configure terminal

  二、在vtp管理域中启用修剪

   switch(config)# vtp mode transparent

  三、返回特权模式

   swith(config)# end

  四、查看并校验配置

   swith#show vtp statue

  五、保存配置

   swith# copy running-config start-running

  将vtp客服端添加到vtp域

  一、查看vtp版本号,并将其记录

   switch# show vtp statue

  二、进入全局模式

   switch# configure terminal

  三、修改域名

   switch(config)#vtp domain domain-name

  四、返回特权模式

   swith(config)# end

  五、校验配置版本号已经被重新设置0

   switch#show vtp status

  六、进入全局模式

   switch# configure terminal

  七、修改域名,恢复原来记录的域名

   switch(config)#vtp domain domain-name

  八、返回特权模式

   swith(config)# end

  九、保存配置

   swith# copy running-config start-running

阅读(1144) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~