Extract MAC addresses

Extracts all Media Access Control (MAC) addresses from the input.

Input: TextResult: Text

Text input

Tool options

Examples

Read two locally administered addresses from an ARP excerpt

These are invented locally administered addresses, not observed devices.

Input

192.0.2.2 ether 02:00:00:00:00:02
192.0.2.1 ether 02:00:00:00:00:01

Expected answer

02:00:00:00:00:02
02:00:00:00:00:01
Display total
Off
Sort
Off
Unique
Off
Recognize colon and hyphen notation in an inventory

Input

wired 02:AA:BB:CC:DD:01
wireless 02-AA-BB-CC-DD-02

Expected answer

02:AA:BB:CC:DD:01
02-AA-BB-CC-DD-02
Display total
Off
Sort
Off
Unique
On
Count repeated observations rather than unique devices

Input

02:00:00:00:00:01
02:00:00:00:00:01

Expected answer

Total found: 2

02:00:00:00:00:01
02:00:00:00:00:01
Display total
On
Sort
Off
Unique
Off
Build a sorted inventory without exact duplicates

Input

02:00:00:00:00:02
02:00:00:00:00:01
02:00:00:00:00:02

Expected answer

Total found: 2

02:00:00:00:00:01
02:00:00:00:00:02
Display total
On
Sort
On
Unique
On
Exclude malformed hex octets in a pasted address

Input

not-a-mac 02:00:00:GG:00:01

Expected answer

Empty result
Display total
Off
Sort
On
Unique
On

Parameters

ParameterDefault valueInput and choices
Display totalfalseOn or off
SortfalseOn or off
UniquefalseOn or off

Related tools

Browse extractors tools