cmkzjw 发表于 2018-7-21 08:51:22

Cisco VTP vlan trunk protocol 不同交换机间同步vlan

  1)VTP功能
  传递vlan信息,达到简化vlan配置的效果
  2)VTP传递条件
  (1)trunk
  (2)域名
  (3)密码相同
  sw1#sh vtp status
  VTP Version                     : 2
  Configuration Revision          : 1
  Maximum VLANs supported locally : 36
  Number of existing VLANs      : 6
  VTP Operating Mode            : Server
  VTP Domain Name               :
  VTP Pruning Mode                : Disabled
  VTP V2 Mode                     : Disabled
  VTP Traps Generation            : Disabled
  3)同步条件
  配置修订号高---->低
  默认是0
  4)VTP操作模式
  server    client    transparent
  add/del/mod   yes      no         yes
  学习VTP         yes      yes      no
  转发VTP         yes      yes      yes
  保存         vlan.datvlan.dat   config.text
  5)VTP配置
  sw1(config)#vtp domain uplooking          域名命名为uplooking
  sw1#sh vtp status
  sw1#sh vtp password
  6)、VTP pruning:减少trunk链路不必要的广播
  实现:
  sw1(config)#vtp pruning
  sw1#sh int trunk
  Port      Vlans in spanning tree forwarding state and not pruned
  Fa1/13    1-2修剪之前的效果
  SW2(config)#int f1/0
  SW2(config-if)#sw acc vlan 1
  sw1#sh int trunk
  Port      Vlans in spanning tree forwarding state and not pruned
  Fa1/13    1修剪之后的效果
  碰到内存不够解决方法
  copy run start--->erase flash:-->stop SW1--->start SW1
  注意:如果加一台switch到现有网络中,要保证修订号为0
  1)改域名
  2)transparent
  3)删除vlan.dat文件
页: [1]
查看完整版本: Cisco VTP vlan trunk protocol 不同交换机间同步vlan