08-07-2022 11:07 PM - edited 08-07-2022 11:09 PM
Hello.
We're connecting a single port between a Cisco switch and a non-Cisco router but cannot get it work. On the router, we have 4 ports and 2 of them are connected to a Cisco switch. Both Cisco ports are configured as an access port. One is working just fine but this other one isn't. Below is the error message we are getting.
After noticing this error, i did a packet capture and saw STPs with different VLAN IDs so i make the access port to a trunk only allowing Vlan 3030 which i want. Then the error was resolved but the switch doesn't seem to send DHCP messages to the router. At least that's how i see it on the wireshark output. No response from anything after the DHCP request.
I'd appreciate any comments to figure out what the problem is.
Switch model
C2960S-HBOOT-M Version 12.2
Switch log
%SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk GigabitEthernet0/40 VLAN3030.
%SPANTREE-7-BLOCK_PORT_TYPE: Blocking GigabitEthernet0/40 on VLAN3030. Inconsistent port type.
08-08-2022 12:00 AM
@cisco-ninja wrote:
C2960S-HBOOT-M Version 12.2
Post the complete output to the command "sh version".
@cisco-ninja wrote:
%SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk GigabitEthernet0/40 VLAN3030.
%SPANTREE-7-BLOCK_PORT_TYPE: Blocking GigabitEthernet0/40 on VLAN3030. Inconsistent port type.
Non-Cisco router does not support 802.1q Trunking?
08-08-2022 12:09 AM
non-Cisco router
what is this device? do you need to spanning tree for that VLAN in the network, if not try to disable the spanning tree for that VLAN (if you are sure there are no loops in the network - before you disable the spanning tree for testing)
as @Leo Laohoo asked good to see the config and spanning information for us to understand the issue.
08-08-2022 12:11 AM
turn spanning tree off altogether for Vlan3030.
As you have not configured the trunk on your router so there will not be a loop..
no spanning-tree vlan 3030
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide