cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
500
Views
0
Helpful
4
Replies

Connecting a switch to a 3560

russ
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Sure you can. Just go into the specific interface in config mode and enter

(config-if)#spanning-tree portfast disable

View solution in original post

4 Replies 4

avmabe
Level 3
Level 3

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).

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.

Sure you can. Just go into the specific interface in config mode and enter

(config-if)#spanning-tree portfast disable

Cheers! not sure why I didn't spot that command.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card