Exemplos
Read two locally administered addresses from an ARP excerpt
These are invented locally administered addresses, not observed devices.
Entrada
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- Exibir total
Off- Ordenar
Off- Único
Off
Recognize colon and hyphen notation in an inventory
Entrada
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- Exibir total
Off- Ordenar
Off- Único
On
Count repeated observations rather than unique devices
Entrada
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- Exibir total
On- Ordenar
Off- Único
Off
Build a sorted inventory without exact duplicates
Entrada
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- Exibir total
On- Ordenar
On- Único
On
Exclude malformed hex octets in a pasted address
Entrada
not-a-mac 02:00:00:GG:00:01Expected answer
Empty result- Exibir total
Off- Ordenar
On- Único
On
Parâmetros
| Parâmetro | Valor padrão | Entrada e opções |
|---|---|---|
| Exibir total | false | Ativado ou desativado |
| Ordenar | false | Ativado ou desativado |
| Único | false | Ativado ou desativado |