09-05-2007 07:01 AM - edited 03-05-2019 06:17 PM
I have the following commands configured on a 3560 switch:
spanning-tree portfast default
spanning-tree portfast bpduguard default
interface GigabitEthernet0/9
switchport access vlan 7
switchport mode access
spanning-tree bpdufilter enable
I want to connect a switch to G0/9 but because of the "stp portfast/bpdu default" commands, the port will err-disable. The way round this was to disable STP on the port by configuring the "bpdufilter enable" command on the port, as shown above. This is fine under normal cirumstances but should a loop occur on the other switch then the port will no longer be protected. I know the alternative is not to use the "stp portfast default" command, and instead, configure portfast explicity, except for port G0/9, which will then have stp enabled. Is there another alternative method of configuring the port whilst still being able to use the "stp portfast default" command?
Solved! Go to Solution.
09-06-2007 05:35 AM
Sure you can. Just go into the specific interface in config mode and enter
(config-if)#spanning-tree portfast disable
09-05-2007 07:15 AM
Why disable STP on the port?
I would recommend on the port having portfast disabled and bpdufilter disabled.
That is of course, depending on the L2 network design. Who is default root for the vlan 7? Is this other switch a cisco switch? BPDUGuard will turn off the port if a single BPDU is recieved. BPDUfilter will completely ignore BPDUs (even his own if a loop occurs).
09-06-2007 12:43 AM
The 3560 is the root for vlan 7. I found it was not possible to disable portfast on the port when you have the global command "spanning-tree portfast default" configured.
09-06-2007 05:35 AM
Sure you can. Just go into the specific interface in config mode and enter
(config-if)#spanning-tree portfast disable
09-06-2007 08:05 AM
Cheers! not sure why I didn't spot that command.
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