|
|
Example:
MyRoot = Root Bridge ID in configuration message; Distance = Distance in configuration message + 1; // One more hop ! State(Port on which configuration message was recv) = R (Root); for ( all other ports P ) { State(P) = D (Designated); Transmit configuration msg "(myID, MyRoot, Distance)" on port P; } |
Example:
|
|
Example:
( MyRoot = Root Bridge ID in configuration message; ) // They are equal !!! Distance = Distance in configuration message + 1; // One more hop ! State(Port on which configuration message was recv) = R (Root); for ( all other ports P ) { State(P) = D (Designated); Transmit configuration msg "(myID, MyRoot, Distance)" on port P; } |
Example:
|