Link to home
Create AccountLog in
Networking

Networking

--

Questions

--

Followers

Top Experts

Avatar of Jamesm007
Jamesm007

HP cli to disable spanning tree on a port
I have 2 trunk ports which are coming from my server to the switch and I am noticing that these trk ports are constantly blocked by spanning tree. The switch log shows the trk1 is on line then off line and as a result I do experience network losses at times.

I have other servers that I havent had to turn of spanning tree so Im not sure if there is another problem, but I figured to try and turn off spanning tree detection on the trunk ports, just not sure of the cli command.

any help or comments would be appreciated.
thanks

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Jamesm007Jamesm007

ASKER

by the way the switch is a HP Procurve 8212.
thanks

Avatar of fgasimzadefgasimzade🇦🇿

Try:

spanning-tree port_number edge-port

I have auto-edge-port or
admin-edge-port as options amongst other things like bpdu-filter etc
thanks

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of fgasimzadefgasimzade🇦🇿

Here is the description for both command. Use the one you need specifically

With the auto-edge-port feature, the identification of edge ports is automatic. Auto-edge-port- feature is enabled by
default on ports. The port will look for BPDUs for 3 seconds; if there are none it begins forwarding packets and port is
set as Edge, if there are BPDUs, it sets the port as non-Edge.
As an admin, if you do not care about the 3 sec delay, auto-edge-port is an easy end recommended setup.


For a manual setup of Edge ports, enable admin-edge-port on ports connected to end nodes. During spanning tree
establishment, ports with admin-edge-port enabled transition immediately to the forwarding state. If a bridge or switch
is detected on the segment, the port automatically operates as non-edge. Admin-edge-port is disabled by default.

ASKER CERTIFIED SOLUTION
Avatar of Don JohnstonDon Johnston🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

I have configured as an admin-edge-port but still getting STP has blocked the trunk and the server drops out at that point for a second while STP reenables that port.

any ideas appreciated.
thanks

I dont want to disable spanning tre for the whole switch just for the ports. Is there any reason why my 4X10GB trunk ports are getting blocked by STP randomly. some days never other days constantly. It has been intermittant until recently and I just need to stop this for these trunks only
thanks

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Don JohnstonDon Johnston🇺🇸

Please post your switch config and logging info during these events.

see attached images
User generated image User generated image

Avatar of Don JohnstonDon Johnston🇺🇸

Looks like a trunking problem.

Which physical ports make up trunk 4?

And the ports for trunk 4 go to a server, right?

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Physical ports are:
TRK4 = I1 and I2
TRK5 = I3 and I4

These ports are going from the core to a DELL M8024 fabric on the back of a M1000e blade.

was working fine for weeks with no changes to my knowledge

Avatar of Don JohnstonDon Johnston🇺🇸

Please post the output of a "show lacp".

I just ran the command and the result was no lacp ports found.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Don JohnstonDon Johnston🇺🇸

Well, it's possible that you're not using LACP to build the trunks.

What about a "show trunk"?

see image below
 User generated image

Avatar of Don JohnstonDon Johnston🇺🇸

I looks like I1 and I2 are members of a static trunk.

If the other end isn't manually aggregating the ports, there's your problem.

That's why I like to use LACP. Much easier to troubleshoot.


Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


I beleive the DELL side is manually aggregating as we had issues initially they would not talk unless they were the same, so we set the M8024 to static.
Does that sound right.
Shoud I be looking to disable Spanning tree on the trunk port or as you suggested to trouble shoot the DELL switch further?
thanks again!

Avatar of Don JohnstonDon Johnston🇺🇸

If you disable spanning tree you will most likely end up with a broadcast storm.

I would investigate the configuration at the other end.

Turned out to be a fault at the other end (the DELL switches passing through) even though I was assured that was correct, we managed to get a result in the end :(

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.

Networking

Networking

--

Questions

--

Followers

Top Experts

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.