Peter Memishian wrote: > > 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)?
As part of Crossbow we were planning to add a -m option to one of the show- subcommands. Currently show-dev, but with clearview UV show-link would make more sense. See also section 3.1.8 of http://opensolaris.org/os/project/crossbow/Docs/crossbow-virt.pdf 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. Nicolas. > > > 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 > _______________________________________________ > brussels-dev mailing list > brussels-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/brussels-dev -- Nicolas Droux - Solaris Core OS - Sun Microsystems, Inc. droux at sun.com - http://blogs.sun.com/droux
