I试图在两个vtp服务器之间共享信息--这些vtp服务器使用Etherchannel连接--我在服务器模式下配置了这两个服务器,使用相同的域和密码,但正确的一个没有从VTP服务器1(左)获得信息,Etherchannel正在工作,它们的所有端口都处于主干模式。
我没注意到我是不是漏了什么东西。
S1#show running-config
Building configuration...
Current configuration : 913 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S1
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface Port-channel1
!
interface GigabitEthernet0/1
!
interface GigabitEthernet1/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet2/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet3/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet4/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet5/1
switchport mode trunk
!
interface GigabitEthernet6/1
switchport mode trunk
!
interface GigabitEthernet7/1
!
interface GigabitEthernet8/1
!
interface GigabitEthernet9/1
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
endS2#show running-config
Building configuration...
Current configuration : 867 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S2
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface Port-channel1
!
interface GigabitEthernet0/1
!
interface GigabitEthernet1/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet2/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet3/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet4/1
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet5/1
!
interface GigabitEthernet6/1
!
interface GigabitEthernet7/1
!
interface GigabitEthernet8/1
!
interface GigabitEthernet9/1
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
endS1#show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 11
VTP Operating Mode : Server
VTP Domain Name : ccna
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x4A 0xB4 0xC6 0x2E 0xB9 0x70 0x21 0x58
Configuration last modified by 0.0.0.0 at 3-1-93 00:07:42
Local updater ID is 0.0.0.0 (no valid interface found)S2#show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : ccna
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x24 0x66 0x6C 0x45 0x8F 0xDE 0x06 0xEB
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found
谢谢。
发布于 2018-05-11 00:37:13
好的。你有几个问题。
首先,您需要确保通道是一个主干。VTP只在树干上工作。在这两个开关上:
interface Port-channel1
switchport mode trunk
!接下来,您实际上在两个交换机上没有相同的VTP密码。您可以这样说,因为每个交换机上的MD5哈希是不同的:
开关1:
MD5 digest : 0x4A 0xB4 0xC6 0x2E 0xB9 0x70 0x21 0x58 开关2:
MD5 digest : 0x24 0x66 0x6C 0x45 0x8F 0xDE 0x06 0xEB您可以使用show VTP password命令验证每个交换机上的密码。请记住,密码开头或结尾处的空格实际上是密码的一部分,即使您看不到它。确保密码相同的最佳方法是从记事本(或其他文本编辑器)复制密码文本,并将其粘贴到两个开关上,以便您知道密码文本是否相同。当两种密码都具有相同的密码时,MD5哈希将匹配。
https://networkengineering.stackexchange.com/questions/50451
复制相似问题