取消
显示结果 
搜索替代 
您的意思是: 
cancel
公告

December 2020

December 2020

9984
查看次数
8
有帮助
16
回复
nmyp007
Rising star

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

%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
Beginner

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

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

在原帖中查看解决方案

16 条回复16
bo chen
Beginner

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

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

在原帖中查看解决方案

xupeng
Cisco Employee

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

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

思科的设备吗?试试能不能执行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
Advisor

另外还可以参考一下下面的文档
pvid inconsistent on trunk port
https://supportforums.cisco.com/t5/lan-switching-and-routing/pvid-inconsistent-on-trunk-port/td-p/1727117
fortune
VIP Expert

两边是否相同厂家的产品?!
nmyp007
Rising star

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

都是cisco 一边是2960 一边是3850
Jim—Jin
Cisco Employee

本台设备添加个vlan 100试试
Fusen Huang
Cisco Employee

两端设备互联接口的show run inter gx/y 贴一下
nmyp007
Rising star

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
Advocate

把两端的show vlan 和show inter trunk刷出来看一下
Fusen Huang
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
Beginner

两边的接口下敲swi trun en do
nmyp007
Rising star

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

2960、3850接口下没有这个命令!默认是802.1q吧!
Content for Community-Ad


不能显示该小部件。