>
>
> Peter Memishian wrote:
>> 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)?


On (11/02/07 15:45), Nicolas Droux wrote:
> Part of what we want to do is not only show the primary MAC address but 
> also the MAC address slots usage and factory MAC addresses available.
>
> Another factor to consider is that an ethernet address is not one of the 
> main objects managed by dladm (such as aggregations, links, etc), so it 
> seems that a new option of an existing command like show-link would be more 
> appropriate.

I agree that the ethernet address is not an object managed by
dladm, but more of an instance of the "link-layer address"
property of the link. 

So yes, show-link seems an appropriate sub-command to display this. 

Here's the proposed output:

# dladm show-link
LINK            CLASS    MTU    STATE     OVER    ADDRESS
bge0            phys     1500   up        --      X:X:X:X:X

--Sowmini


Reply via email to