Low-voltage path · Division 11: Networks for low-voltage technicians · Lesson 203

Read MAC addresses and switch-port status

Free for apprenticesRead it or play it. No card, no account, nothing to cancel.
Read MAC addresses and switch-port status

What you should be able to do

Read a MAC-address table with its VLAN and port context, then compare it with interface status and the documented physical path. Distinguish forwarding evidence from verified device identity.

Read A 48-Bit Address

A common Ethernet MAC address contains six octets, usually displayed as twelve hexadecimal digits. Each hexadecimal digit represents four bits; twelve times four equals 48 bits. The same example can appear as 02:00:00:00:02:01, 02-00-00-00-02-01 or 0200.0000.0201. Normalize the separators when comparing records, without dropping leading zeros.

The example addresses beginning 02 are locally administered individual/unicast addresses. They are fictional examples, not assigned identities for this site and not a vendor-identification prefix. The individual/group bit is clear and the universal/local bit is set in the first octet. Do not assign these addresses to real equipment.

Where beginners go wrong

Mistake: Labeling a camera directly attached to Port24 because its MAC is learned there. Correction: Check the documented uplink and follow the downstream switch mapping before recording the endpoint's physical port.

Mistake: Declaring a device disconnected because its dynamic MAC row disappeared. Correction: Check the VLAN, observation time and aging context, then correlate with interface and inventory evidence.

Mistake: Copying enabled into the link-up field of the worksheet. Correction: Record administrative state and observed operational state separately; an enabled interface may have no established link.

Primary-Source Basis

Cisco describes dynamic MAC learning from a received frame's source address, associated with the incoming port and VLAN. The table supports forwarding toward a known destination; dynamic entries can age out. The documentation also notes spoofing limitations, so learning an address is not authentication. Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/c9000/lyr2-fwd/cdp-lldp-mac-udld/cdp-lldp-mac-udld-configuration-guide/c-configure-mac.html

IEEE's MAC-address tutorial identifies the individual/group and universal/local bits in the address representation. Source: https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/macgrp.pdf

Cisco's interface troubleshooting guide distinguishes operational conditions and provides examples of interface status and error counters. Labels and supported commands depend on the actual platform. Source: https://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/12027-53.html Sources accessed 2026-09-30. The following table and cases are original exercises, not live equipment output.

What The Table Does Not Prove

A learned address does not certify the device's owner, physical label, software version, IP address or application health. Compare it with approved inventory, interface-specific device information and the traced cable path. Devices can have multiple interfaces and addresses; use the address for the interface actually being traced.

A manufacturer-looking prefix is not adequate identity proof, and a locally administered address should not be treated as a vendor assignment. A MAC address can be changed or impersonated. Keep MAC-table observation separate from any required authenticated device-identification process.

An absent dynamic row also does not automatically prove an endpoint is disconnected. The entry may have aged out, the selected VLAN or table filter may be wrong, or the expected source traffic may not have been observed. Record the table scope and time before deciding the next authorized check.

Port Conditions: Three Distinct Questions

Administrative state: is the interface configured to be enabled? Operational state: is the relevant link currently established? Operating details: what speed, duplex and error behavior are reported?

The poster supplies an enabled Port24 with link up, 1Gb/s and full duplex. This is a fictional status snapshot, not a throughput measurement. It does not guarantee one gigabit per second of usable application data or prove the downstream camera stream works.

A port can be administratively enabled yet have no link. A deliberately disabled port is a different condition from a cable fault. Product-specific states such as error-disabled require their documented interpretation; do not simply re-enable them without understanding the cause and obtaining change authorization.

Evidence Age And Counters

Record the observation time, switch identity, port, VLAN, entry type and relevant age information if supplied. Do not assume a universal dynamic aging interval; consult the actual configuration and platform. A static entry is configured evidence, not proof that a source frame was recently seen.

For counters, distinguish a lifetime total from a change during a known interval. In an original arithmetic example, a relevant error counter rises from 120 to 127 in 60 seconds. That is seven additional counted events during the interval, assuming no reset or wrap. It does not by itself establish which cable or device caused them or supply a universal pass/fail threshold.

Do not clear the MAC table or counters just to simplify a screenshot. Preserve the baseline and use approved read-only observations where available. If a later diagnostic requires a disruptive action, follow the site's authorized process.

Tracing Exercise

Start with the expected interface address from the approved device record. Find its MAC/VLAN/port association on the correct switch. Compare that port with the physical map. If it is an uplink, follow the documented next switch and repeat the authorized observation. Stop when the physical endpoint mapping is supported, or record the missing evidence instead of guessing.

If an address unexpectedly moves between ports, preserve the timestamps and topology evidence. A move can have several explanations, including a legitimate topology change. Do not label it a loop or unauthorized device solely from one unexplained row.

Worksheet

Switch identity and observation time: Table scope and VLAN: Full normalized MAC address: Dynamic/static/other entry type: Learned interface: Administrative and operational states: Speed/duplex and counter interval: Physical path or downstream device: Inventory match and remaining identity checks: Unresolved issue and responsible owner:

Knowledge Check

  1. Are the three separator styles different addresses? No, if all twelve digits match.
  2. Do two MACs on an uplink prove a fault? No.
  3. Does a dynamic row authenticate a camera? No.
  4. Is an enabled port necessarily link-up? No.
  5. Does a missing dynamic row prove a device is off? No.
  6. What is the increase from 120 to 127? Seven, subject to no reset/wrap.

Convert Between The Three Written Forms

Normalizing an address is a 3-step habit worth doing the same way every time. Strip every separator, put the result in one case, and count the digits. If the count is not 12, stop, because you are not holding a complete address and no comparison you make with it will mean anything.

The count is where the usual error hides. A colon-separated form carries 12 digits and 5 separators, and a hyphen-separated form carries the same 12 and 5. The 4-digit grouped form carries 12 digits and only 2 separators. All 3 describe the identical address when the 12 digits agree in order, which is why the separator style is never the difference. What does differ is a transcription that lost a leading zero: an octet written as 2 instead of 02 leaves 11 digits, and an inventory lookup against 11 digits finds nothing while the equipment sits there working perfectly.

Converting a digit to bits is the other half of the skill, and it is ordinary arithmetic. Each hexadecimal digit stands for 4 bits, so an octet's 2 digits stand for 8 bits and the full address stands for 6 x 8 = 48 bits. The digit pair 02 expands to the 8 bits 00000010, reading from the most significant. Counting from the least significant end, the first bit is 0 and the second is 1, which is exactly the pair of flags the lesson's example addresses are chosen to show.

Write the normalized 12-digit string into the worksheet beside the form you actually read off the screen. Keeping both means a later reader can check your transcription against the source without going back to the equipment, and transcription is where most of these comparisons fail.

Counter Arithmetic Over A Longer Window

A counter difference is only as good as the window it was taken over, and a short window is easy to read and easy to over-read. Take a counter that stands at 1450 at 09:00:00 and at 1702 at 09:30:00. The difference is 1702 - 1450 = 252 counted events across 1800 seconds, which is 252 divided by 1800, or 0.14 events per second. Multiplied by 60 that is 8.4 events per minute.

Put that beside the shorter sample this lesson already works through, where 7 events were counted in 60 seconds, a rate of 7 per minute. The 2 rates are close, and the longer window is the better basis for comparison precisely because a single minute can contain a burst or contain nothing. Report the rate and the window together, since 252 events means one thing across half an hour and something quite different across half a minute.

Take 3 readings rather than 2 whenever the equipment allows it. Two readings cannot reveal a counter that was cleared or that wrapped back to a low value, because any pair of numbers can be subtracted and will yield something. Three readings in sequence make a non-monotonic series visible: a middle value lower than the first is a reset or a wrap, and the arithmetic across that boundary is meaningless rather than merely imprecise.

Write the counter's own name as the equipment spells it, with the interface and the switch identity. A worksheet row reading 252 errors cannot be compared with next month's row, because next month's reader will not know which of the several counters on that interface produced the number.

Trace One Address Through Two Switches

Continue the poster's topology downstream. On SW-A, 2 addresses are learned on Port24: 02:00:00:00:02:02 and 02:00:00:00:02:03. Port24 is documented as the link to a downstream switch, SW-B, so the trace is not finished and SW-A cannot tell you any more than the direction.

Reading SW-B's table in the same VLAN, suppose 02:00:00:00:02:02 appears on its Port5 and 02:00:00:00:02:03 on its Port9, with the upstream direction accounting for a further row. That resolves the 2 endpoint attachments to 2 specific ports on a specific switch, and the trace ends there only if Port5 and Port9 are documented as endpoint ports rather than as further uplinks. If either is an uplink, the same step repeats on the next switch.

Carry the switch identity in every row from the start. Port5 on its own is ambiguous the moment a site has 2 switches, and a worksheet that records a port number without the switch that owns it has recorded nothing usable. Write SW-B Port5 as a single piece of evidence, with the time the table was read.

Treat a contradiction between the 2 tables as evidence rather than as noise. An address learned on SW-A Port24 but absent from SW-B's table in that VLAN should not be possible in the supplied topology, so one of a small number of ordinary things happened: the 2 tables were read far enough apart for the traffic situation to change, the VLAN or filter differed between the 2 readings, or the downstream documentation does not describe the current wiring. Record both readings with their times and hand the contradiction to the network owner instead of picking whichever table agrees with the drawing.

Also working toward the electrician journeyman licence? Take the free 15-question readiness check

Texas journeyman, 15 questions, scored by topic against the 70% mark. No card, and no account needed to start.

Free study material for low-voltage apprentices. This is a national foundation course: requirements differ by state and by local jurisdiction, and a practice that is common in one place is not a rule everywhere. Nothing here is a licence, a certification, or authority to work unsupervised, and completing it does not count as apprenticeship hours or continuing-education credit. Check the codes adopted where you are working, the licensing authority for that work, and your employer's safety programme. VoltMark is not affiliated with, endorsed by, or sponsored by NFPA, OSHA, NICET, BICSI, FOA, or any state or local licensing authority.

—
Help