11-06-2018 07:12 AM - edited 03-08-2019 04:33 PM
Hello, I've got 3 Cisco 3750E stacks and would like to turn on bpdu guard on the access interfaces. We are running rstp and I've set one port to port-fast and bpduguard. However when I plugged in an HP switch (set to factory defaults) and a cheap linksys switch the port never went into error mode. I then turned spanning tree on the default vlan using the HP switch and it kicked the port off. Do most switches not send bpdu guard packets by default?
Also if I turn bpduguard on does it automatically turn port-fast on as well or do I need to have it enabled also if I want port-fast?
Thank you
Solved! Go to Solution.
11-06-2018 07:55 AM
Correct. It should only affect the access ports, so no one can plug in a switch to an access port on the network. Not much you can do about hubs, as they don't send or receive bpdus. You can use port security on access ports and limit the numbers to 1 or 2 MACs (if phones connect to PCs) so no one can plug in a hub and connect multiple PC/laptops to it.
HTH
11-06-2018 07:21 AM
If you issue this command globally, it will enable both features for you globally.
spanning-tree portfast bpduguard default
HTH
11-06-2018 07:29 AM
My only fear is that if I do this it will mess up my LACP links between switches. If I enable it globally does it only enable it on Access ports?
Thank you for the help
11-06-2018 07:38 AM
bpdu gurad will be apply to access ports only.
It should not affect the trunk ports or Portchannel configured between switches.
HTH
11-06-2018 07:46 AM
So as long as the port is set to switchport mode trunk it won't change it? Even if a native vlan is set on that port?
11-06-2018 07:55 AM
Correct. It should only affect the access ports, so no one can plug in a switch to an access port on the network. Not much you can do about hubs, as they don't send or receive bpdus. You can use port security on access ports and limit the numbers to 1 or 2 MACs (if phones connect to PCs) so no one can plug in a hub and connect multiple PC/laptops to it.
HTH
11-06-2018 07:39 AM
if you want more control, you could do this manually using:
interface range *
spanning-tree portfast
spanning-tree bpduguard enable
both commands are configured & removed separately
regards, mk
please rate if helpful :)
11-06-2018 07:49 AM - edited 11-06-2018 08:06 AM
Hello
@jkay18041 wrote:
Hello, I've got 3 Cisco 3750E stacks and would like to turn on bpdu guard on the access interfaces. We are running rstp and I've set one port to port-fast and bpduguard. However when I plugged in an HP switch (set to factory defaults) and a cheap linksys switch the port never went into error mode. I then turned spanning tree on the default vlan using the HP switch and it kicked the port off. Do most switches not send bpdu guard packets by default?
Also if I turn bpduguard on does it automatically turn port-fast on as well or do I need to have it enabled also if I want port-fast?
Thank you
No it doesn't. automatically turn PF on
If you enable bpduguard on the interface you DONT need to have portfast enabled before.
If you enable bpduguard globally and NOT on the specific interface then you need either to have port fast enabled globally or on the interface beforehand.
11-06-2018 08:33 AM
So i turned on "spanning-tree portfast bpduguard default" and it doesn't seem to work. If i enabled it on a specific port it does.
Any suggestions?
11-06-2018 08:48 AM
Do you have spanning-tree portfast default?
That command should enable bpdu guard on any port that is an access port with spanning-tree portfast enabled on the port.
Please check helpful posts if this is helpful.
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