[brussels-dev] displaying mac address with dladm
Peter Memishian
peter.memishian at Sun.COM
Fri Nov 2 14:22:12 PDT 2007
> The question that then came up is what sub-command to
> use for displaying this information.
>
> One candidatate is the show-ether (also show-wifi, since, as Garrett
> pointed out, the mac address applies to all 802 networks).
Given that aggregations also mac addresses, tunnels have endpoint
addresses, and VNICs will have mac addresses, I think the picture
is even muddier. Maybe show-link should show the mac address (which
for e.g. VLANs would just be the mac address of the underlying link)?
> so we could have:
>
> # dladm show-ether
> LINK PTYPE STATE AUTO SPEED-DUPLEX PAUSE ADDRESS
> bge0 current up yes 1G-f bi X:X:X:X:X:X
> bge1 current up yes 1G-f bi Y:Y:Y:Y:Y:Y
>
> # dladm show-wif
> LINK STATUS ESSID SEC STRENGTH MODE SPEED ADDRESS
> wpi0 connected Radio Kebe wep very good g 54Mb X:X:X:X:X:X
>
> (both of which are likely to spill beyond 80 columns), or, we could
> add this to the show-phys command
>
> # dladm show-phys
> LINK MEDIA STATE SPEED DUPLEX DEVICE ADDRESS
> bge0 Ethernet up 1000 full bge0 X:X:X:X:X:X
>
> Any preferences?
--
meem
More information about the brussels-dev
mailing list