取消
显示结果 
搜索替代 
您的意思是: 
cancel
16606
查看次数
8
有帮助
16
回复

生成树问题,日志总是有这个错误!

nmyp007
Level 7
Level 7
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking GigabitEthernet0/49 on VLAN0001. Port consistency restored
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking GigabitEthernet0/49 on VLAN0111. Port consistency restored
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking GigabitEthernet0/49 on VLAN0100. Port consistency restored.
%SPANTREE-2-BLOCK_PVID_PEER: Blocking GigabitEthernet0/49 on VLAN0111. Inconsistent peer vlan
%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet0/49 on VLAN0001. Inconsistent local vlan
%SPANTREE-2-BLOCK_PVID_PEER: Blocking GigabitEthernet0/49 on VLAN0100. Inconsistent peer vlan.
%SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 100 on GigabitEthernet0/49 VLAN1.
0/49口是trunk口,对端和本端的本征native都是vlan1,需要怎么配置才不报这个错误,谢谢各位大神
1 个已接受解答

已接受的解答

bo chen
Spotlight
Spotlight
nmyp007 发表于 2018-6-5 11:25
2960、3850接口下没有这个命令!默认是802.1q吧!

如果端口TRUNK封装没有问题,sh vlan看一下两边的本征VLAN是否一致,本地VLAN是否一致。有可能是另一边缺少VLAN导致告警。再sh span看一下生成树是否正常。

在原帖中查看解决方案

16 条回复16

bo chen
Spotlight
Spotlight
nmyp007 发表于 2018-6-5 11:25
2960、3850接口下没有这个命令!默认是802.1q吧!

如果端口TRUNK封装没有问题,sh vlan看一下两边的本征VLAN是否一致,本地VLAN是否一致。有可能是另一边缺少VLAN导致告警。再sh span看一下生成树是否正常。

xupeng
Cisco Employee
Cisco Employee
楼主可以尝试检查和提供更多的信息.
例如, 两端设备的型号软件版本. 接口的配置, sh int trunk, vlan的信息.等等

wuleihen
Spotlight
Spotlight
提供下链路两边的端口配置及版本信息,设备是否是同一品牌?

Rockyw
Spotlight
Spotlight
思科的设备吗?试试能不能执行show spanning-tree inconsistentports
拓扑是怎样的?
If the port stops receiving inconsistent BPDUs, the *-inconsistent state is cleared and STP changes the port state based on normal STP operation. A syslog message is sent to indicate the change:
%SPANTREE-SP-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/1 on vlan 1.
Port consistency restored.
具体请参考
Troubleshooting Spanning Tree PVID- and Type-Inconsistencies
https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/24063-pvid-inconsistency-24063.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

Rockyw
Spotlight
Spotlight
另外还可以参考一下下面的文档
pvid inconsistent on trunk port
https://supportforums.cisco.com/t5/lan-switching-and-routing/pvid-inconsistent-on-trunk-port/td-p/1727117
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

fortune
VIP Alumni
VIP Alumni
两边是否相同厂家的产品?!

nmyp007
Level 7
Level 7
vsop5207 发表于 2018-5-22 13:27
两边是否相同厂家的产品?!

都是cisco 一边是2960 一边是3850

Jim—Jin
Cisco Employee
Cisco Employee
本台设备添加个vlan 100试试

Luke Huang
Cisco Employee
Cisco Employee
两端设备互联接口的show run inter gx/y 贴一下

nmyp007
Level 7
Level 7
fushuang 发表于 2018-5-23 19:26
两端设备互联接口的show run inter gx/y 贴一下

interface TenGigabitEthernet1/0/28
switchport mode trunk
end
interface GigabitEthernet0/49
switchport mode trunk
end
Device ID Local Intrfce Holdtme Capability Platform Port ID
3850-main Gig 0/49 174 S I WS-C3850- Ten 1/0/28
Total cdp entries displayed : 1

suzhouxiaoniu
Spotlight
Spotlight
把两端的show vlan 和show inter trunk刷出来看一下

Luke Huang
Cisco Employee
Cisco Employee
nmyp007 发表于 2018-5-24 08:25
interface TenGigabitEthernet1/0/28
switchport mode trunk
end

5# Rocky 提供的 link,可以去看一下
https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/24063-pvid-inconsistency-24063.html

bo chen
Spotlight
Spotlight
两边的接口下敲swi trun en do

nmyp007
Level 7
Level 7
CSCO12178277 发表于 2018-5-29 17:42
两边的接口下敲swi trun en do

2960、3850接口下没有这个命令!默认是802.1q吧!
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接