Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

RSTP - Port disable

SOLVED
Go to solution
claramunt_1
Advisor

RSTP - Port disable

How can I disabled spanning-tree in one port?
6 REPLIES
Preston Gallwas
Valued Contributor

Re: RSTP - Port disable

Switch(config)# no span [ethernet] PORT-LIST



claramunt_1
Advisor

Re: RSTP - Port disable

Preston, this don't work....

Switch(config)# no span
[ethernet] PORT-LIST Configure the port-specific parameters of the spanning tree protocol for individual ports.


Switch(config)# no span ethernet
PORT-LIST Enter a list of ports or one port for the 'ethernet' command/parameter.

Switch(config)# no span ethernet 19
Incomplete input: 19

Switch(config)# no span ethernet 19
edge-port Set that port is connected to a LAN segment that does not have any bridge connected to it.
mcheck Force the port to transmit RST BPDUs.

Switch(config)# no span ethernet 19 edge-port



Switch(config)# sh span

Rapid Spanning Tree (RSTP) Information

STP Enabled : Yes
Force Version : RSTP-operation

...

Port Type Cost Priority State | Designated Bridge
---- --------- --------- -------- ---------- + -----------------
1 100/1000T 20000 128 Disabled |
2 100/1000T 20000 128 Disabled |
...
19 100/1000T 20000 128 Blocking | 001560-452e00
20 100/1000T 20000 128 Disabled |
21 100/1000T 20000 128 Disabled |
22 100/1000T 20000 128 Disabled |
23 100/1000T 20000 128 Disabled |
24 100/1000T 20000 128 Disabled |
Anders_35
Regular Advisor
Solution

Re: RSTP - Port disable

AFAIK, you can't. You can use the edge-port parameter to say the port is not /expected/ to be connected to a bridge/other switch. This is similar to Cisco's portfast. BDPUs will not be sent on such ports, and they will be put more or less straight into forwarding mode, avoiding delays.
However, RSTP will detect any BDPUs received on the ports, and when it does, it will automatically revert the edge-port setting to prevent looping.
claramunt_1
Advisor

Re: RSTP - Port disable

That's right Anders. Thanks a lot.
Matt Hobbs
Honored Contributor

Re: RSTP - Port disable

BPDU's will still be sent when a port is set to edge-port yes. As Anders said though they will go straight into forwarding.
claramunt_1
Advisor

Re: RSTP - Port disable

Is possible to set a port for not send BDPUs?