Unsolved

This post is more than 5 years old

10 Posts

4385

April 15th, 2020 23:00

Disable spanning-tree on a per port basis

Hi,
I have 2 S3048-ON and 2 S5232F-ON.
If design a STP load-out. Now i`f been ask to connect the 2 switches with VLT to an other network environment.
The only requirement I`f got is to disable Spanning-Tree to form a L2 neighbor.

But it seen not to work. The commando is there. But does not work:

(conf-if-eth1/1/53)# spanning-tree disable
% Error: Interface ethernet1/1/53 is not in Layer-2 mode

 

The config of that port is:
interface ethernet1/1/53
description OtherNetwork
shutdown
channel-group 53 mode active
no switchport
flowcontrol receive off

Is there a way to shut to Spanning-Tree on ports?

Greetings
Palemro
 

Moderator

 • 

9.6K Posts

 • 

42.2K Points

April 16th, 2020 09:00

Hi,

Is port 53 the one you are going to use vlt on? You may want to remove all configuration from the port. Then reconfigure it how you want.

April 18th, 2020 07:00

Hi,

Spanning-Tree works only on layer2 interfaces. If your interface is configured with "no switchport", Spanning-Tree is disabled automatically. "no switchport" is invoked automatically, as soon as you add an interface to a port-channel. The default configuration of a port-channel is a layer2 interface, thus it has a spanning tree instance.

Based on your description I think, that you have to disable spanning tree on your port-channel 53 interface (on the interface "spanning-tree disable").

0 events found

No Events found!

Top