> > > > # dladm set-linkprop -p en-mii=100M-fh,10M-h link1 > > > > ^ > > > would you expect "show-linkprop" to display "en-mii"? That would > > > not be useful in this case because the enabled speed-duplex values is > > > typically a larger set than those that were administratively enabled. > > > > Sorry, which field are you talking about displaying? > > My statement didn't parse, did it? :-( Sorry, I meant > 'dladm show-linkprop -p en-mii' > > would you want the full set of enabled speed-duplex pairs? or the > ones that were currently administratively modified?
I'd expect it to output the current list of enabled values. That is, doing a 'dladm set-linkprop -p en-mii=<value>' where <value> is the list from show-linkprop should do nothing. > and in the +=, -= world, how does one do "enable 100-h and disable 10-fh" > without using 2 commands With my proposal that would still have to be done with a set (=) operation. The intent of the += and -= syntax is to make simple incremental changes to a long list of property values, not to provide a whole language for doing arbitrary atomic transforms. -- meem
