10-30-2016 09:48 AM - edited 03-08-2019 07:58 AM
hello,
i have a NAT failover configured on my 1942 router. (The config file is attached to this post). Main link is ISP1 and secondary link is ISP2. The secondary link is connected to one of the EHWIC switchports at the back of the 1942 router. The configuration had been working well until i changed the ISP2 company. Now i am getting the following errors:
********
%SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk GigabitEthernet0/0/0 VLAN2.
%SPANTREE-7-BLOCK_PORT_TYPE: Blocking GigabitEthernet0/0/0 on VLAN2. Inconsistent port type.
********
From what i suspect, this is happening because the port from the ISP2 is in trunk mode and my own port is access mode as shown in the config file. I have tried to apply bpdufilter but i can’t get the command to work on the router.
I'd appreciate any help on how to fix this.
Thanks
Solved! Go to Solution.
10-30-2016 01:06 PM
Hello,
what if you turn spanning tree off altogether for Vlan 2 ? You don't have any trunks configured on your router anyway, so there shouldn't be any loops...
no spanning-tree vlan 2
10-30-2016 10:38 AM
Hello,
try and configure bpdu filter on GigabitEthernet0/0/0:
Zotel(config-if)#spanning-tree bpdufilter enable
10-30-2016 11:28 AM
Hello,
I tried that command already and It doesn't seem to work. I get the message "% Invalid input detected at '^' marker." each time in enter that command.
10-30-2016 11:56 AM
Hello,
I am not sure what is available in your IOS and on your platform, but try:
spanning-tree portfast bpdufilter
in global config mode,
or remove
spanning-tree portfast bpduguard (that puts your port in err-disable every time a BPDU is received).
10-30-2016 12:11 PM
Hello,
The command "spanning-tree portfast bpdufilter " in global config mode still gives the same "invalid input detected" error message.
I have also removed "spanning-tree portfast bpduguard" but that didn't change anything.
Here's some info about my router:
Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.2(4)M4, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
10-30-2016 01:06 PM
Hello,
what if you turn spanning tree off altogether for Vlan 2 ? You don't have any trunks configured on your router anyway, so there shouldn't be any loops...
no spanning-tree vlan 2
10-30-2016 01:25 PM
Hello,
I'll try that out. I'm unable to test it at the moment. I'll write back immediately i do.
Thank you very much.
10-31-2016 12:45 AM
That was a great idea. it worked..!
No more "inconsistent port type errors".
Thanks a lot
08-28-2018 01:08 PM
This worked for me as well. Thanks!
07-13-2024 02:40 PM
7-13-24 Just fought this error trying to get PNET_Lab working with a cisco image to cloud0 for internet access for my lab. the moral of the story is bpduguard will block trying to pick up an access vlan through a trunk on esxi. I even allowed Promiscuous mode, MAC address changes, Forged transmits to accept on the port group/VSwitch in ESXi Networking.
-3560-SW(config)#no spanning-tree vlan 68
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