I have the following commands configured on a 3560 switch:
spanning-tree portfast default
spanning-tree portfast bpduguard default
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?