cancel
Showing results for
Did you mean:
Announcements
New Member

## How to know the lowest MAC address for STP Root Election

I'm getting ready to take the CCNP switch exam, and I have what may be an elementary question.  In all the guides I've read, and lab manuals that I've used, anytime there are multiple switches that can be the possible root, the MAC address's are shown in a very simple format....such as aaaa:aaaa:aaaa or bbbb:bbbb:bbbb or some other such simple address thus making it obvious.  How about in the real world, or on Cisco exams?  Do you need to convert the entire address to be sure or just a portion?

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Purple

## How to know the lowest MAC address for STP Root Election

MAC addresses are in hexadecimal format ranging from 0-9 and a-f. It's pretty much sequential from there.

A mac address of 0020.01cc.de23 is lower than 0021.01cc.de23. Another example would be 0000.c0a7.ffc2 is lower than 000.c0a7.ffc3

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
4 REPLIES
Purple

## How to know the lowest MAC address for STP Root Election

MAC addresses are in hexadecimal format ranging from 0-9 and a-f. It's pretty much sequential from there.

A mac address of 0020.01cc.de23 is lower than 0021.01cc.de23. Another example would be 0000.c0a7.ffc2 is lower than 000.c0a7.ffc3

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
New Member

## How to know the lowest MAC address for STP Root Election

So starting at the left, as soon as one group is lower you know you have the lowest MAC?
So as an example 0020:01cc:de23 is lower than 0020:01dd:de23 because the middle group of hex is lower?  And

0120.01cc.de23 is higher than 0020.01cc.de23 because the fist group is higher.

Am I getting it correctly?

Purple

## How to know the lowest MAC address for STP Root Election

It looks like you got it. Alain responded with another very good way to determine which is lower too.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
Purple

## How to know the lowest MAC address for STP Root Election

Hi,

compare each MAC like this: look at each hexadecimal digit from left to right until you find a mismatch and the lowest digit will win( going from zero to F).

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
526
Views
10