Spanning Tree Protocol

Spanning Tree Protocol - Simulation

Spanning Tree Protocol Simulation written in C++.
Check the github repository here: Spanning Tree Protocol

General Info

Setup

To run the simulation:

Input format

Output format

Sample output

B1: A-DP B-DP G-DP
B2: F-DP G-RP
B3: B-RP C-DP
B4: C-NP E-DP F-RP
B5: C-RP D-DP E-NP

Trace format

t s|r Bk (Bi, d, Bj)

Where:

References