我试图在站点中建立一个旧交换机,但 VTP 无法正常工作。
Show cdp neighbor
使用此命令获得下一个开关。
型号:WS-C2960-24TC-L 版本:12.2(53)SE2
我尝试添加管理 VLAN 并为其提供 IP 地址。
如何调试连接?
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$49nA$xGugzBL.MidsIvXB.
!
no aaa new-model
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
!
interface FastEthernet0/24
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan150
ip address 10.10.150.50 255.255.255.0
no ip route-cache
!
ip default-gateway 10.10.150.1
ip http server
ip http secure-server
ip sla enable reaction-alerts
!
line con 0
line vty 0 4
password 7 08974A351F8G5K483956
login
line vty 5 15
login
!
end
我尝试了另一个开关,它工作正常。
Switch#sh vtp sta
VTP Version capable : 1 to 3
VTP version running : 1
VTP Domain Name : ABC
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
Device ID : xxxx.xxxx.xxxx
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:03
Feature VLAN:
--------------
VTP Operating Mode : Client
Maximum VLANs supported locally : 255
Number of existing VLANs : 6
Configuration Revision : 1
MD5 digest : 0xB9 0x07 0xEE 0xE3 0x27 0xEC 0xF7 0x33
0x98 0x81 0x0A 0xA3 0x32 0xE9 0xD2 0xDF
- 试图重置开关
- 更换另一个开关,它工作正常。
工作开关 VTP STATUS
SW04#sh vtp sta
VTP Version capable : 1 to 3
VTP version running : 1
VTP Domain Name : ABC
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
Device ID : xxxx.xxxx.xxxx
Configuration last modified by xxx.xxx.xxx.xxx at 5-17-16 09:33:54
Feature VLAN:
--------------
VTP Operating Mode : Client
Maximum VLANs supported locally : 1005
Number of existing VLANs : 12
Configuration Revision : 16
MD5 digest : 0x39 0x28 0x36 0x47 0xDE 0xDC 0xBE 0x26
0x6E 0x16 0xD9 0x56 0xCC 0x4D 0xF8 0x7B