- 论坛徽章:
- 0
|
一台cisco2950交换机,由于要做端口安全,而原机带的IOS是C2950-I6Q4L2-M,12.1(6)EA2c,对端口安全功能支持不全面,不能使用errdisable recovery cause psecure-violation命令对端口状态进行自动恢复。于是升级IOS为(C2950-I6Q4L2-M), Version 12.1(22)EA13, RELEASE SOFTWARE (fc2),但发现其中与一台锐捷S8610相连接的端口不能通信。而交换机配置未变,未升级IOS前正常。此端口配置为
interface FastEthernet0/9
switchport access vlan 4
switchport mode access
检查log,为
Log Buffer (4096 bytes):
ocking FastEthernet0/9 on MST00. Port consistency restored.
00:20:10: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/9 VLAN4.
00:20:10: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/9 on MST00. Inconsistent port type.
00:20:23: %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/9 on MST00. Port consistency restored.
00:20:24: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/9 VLAN4.
00:20:24: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/9 on MST00. Inconsistent port type.
00:20:38: %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/9 on MST00. Port consistency restored.
00:20:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:20:40: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/9 VLAN4.
00:20:40: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/9 on MST00. Inconsistent port type.
00:20:53: %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/9 on MST00. Port consistency restored.
00:20:54: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/9 VLAN4.
00:20:54: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/9 on MST00. Inconsistent port type.
00:21:08: %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/9 on MST00. Port consistency restored.
00:21:10: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/9 VLAN4.
00:21:10: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/9 on MST00. Inconsistent port type.
00:21:12: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/9 VLAN4.
00:21:12: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/9 on VLAN0004. Inconsistent port type.
00:21:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:22:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:23:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:24:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:25:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:26:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:27:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:28:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:29:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:30:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:31:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:32:33: %SYS-5-CONFIG_I: Configured from console by vty0 (10.140.96.55)
00:32:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:33:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:34:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:35:33: %SYS-5-CONFIG_I: Configured from console by vty0 (10.140.96.55)
00:35:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
00:36:40: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/9 (4), with outswitcher FastEthernet0/24 (1).
分析日志,应该是S8610发送生成树协议的BPDU数据包,而CISCO2950交换机认为此端口不是trunk端口,于是将此端口block,造成无法交换数据包。
检查S8610相应的端口配置正常,端口为默认配置,默认为switchport mode access.
于是对2950增加如下命令
no spanning-tree vlan 4
后问题解决。
我想非Cisco设备与Cisco设备连接还是有兼容性问题。
但为什么12.1(6)EA2c版本正常而12.1(22)EA13版本就不正常呢?其中有什么变化?我不知道,等有时间查一下。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11233/showart_2029958.html |
|