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:01Expected 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-02Expected 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:01Expected 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:02Expected 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:01Expected answer
Empty result- Display total
Off- Sort
On- Unique
On
Parameters
| Parameter | Default value | Input and choices |
|---|---|---|
| Display total | false | On or off |
| Sort | false | On or off |
| Unique | false | On or off |