Generate a BPDU frame with Ostinato

238 views
Skip to first unread message

Johan Svanberg

unread,
Jan 22, 2013, 6:58:31 PM1/22/13
to osti...@googlegroups.com
Hi,

I have a question about if it is possible to generate a BPDU frame with Ostinato. I want to simulate a BPDU frame with a laptop connected to a port on Cisco switch to trigger spanning-tree bpdu guard to error disable the port.

Many thanks! :)

Kind regards,
Johan Svanberg
Sweden



Srivats P

unread,
Jan 24, 2013, 10:00:07 AM1/24/13
to Johan Svanberg, osti...@googlegroups.com
Yes you can - however, Ostinato doesn't have a STP protocol builder so
you'll have to figure out the STP payload bytes based on what values
you want the fields to contain and use hexdump protocol

Srivats
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato
> (http://twitter.com/ostinato)
> ---------
> You received this message because you are subscribed to the Google Groups
> "ostinato" group.
> To post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to
> ostinato+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ostinato?hl=en
>
>



--
http://ostinato.org/
@ostinato

Srivats P

unread,
Feb 24, 2013, 1:01:07 AM2/24/13
to Johan Svanberg, ostinato
Johan,

Thanks for the kind words and encouragement.

It would be great if you could share details on what you did so that
someone else looking for the same information could benefit!

Srivats

Johan Svanberg <jo...@svanbergs.se> wrote:
Hi Srivats,

It works, what a great peace of software this is, I am really impressed by
it. :)

I was able to make an BPDU packet and could trigger the protection in the
switch that would cause the port to shutdown (BPDU guard). I also figured
out how to change priority and other values that will make Ostinato a great
product to use when testing different protection features in the switch,
like port-security, storm-control, bpdu-guard and root guard and so on.

Thanks alot and have a nice weekend!

/Johan

Minh Tran

unread,
Apr 15, 2021, 11:31:38 PM4/15/21
to ostinato
Johan, 

Is it possible for you to share with me how you generated the BPDU packet? I want to test and validate the setting on a ESXi host to ensure it blocks the frame.

thank you.
Reply all
Reply to author
Forward
0 new messages