On 4/5/06, Darren Reed <[EMAIL PROTECTED]> wrote: > Mike Gerdts wrote: > >I have run into the same problem in a couple of environments: > > > >1) Servers with 10+ zones. In this case, I may want to take a look at > >the interfaces for a particular zone but have a very hard time finding > >them without piping through less then searching. > > > So what you want is something to the effect of: > > ifconfig -a zone X > > to just output interfaces that match "zone X" ?
That would be fine. Notice that this is not unprecented with the -[dDu46] options. Also, the removeif option seems to match a somewhat related need. > > Is this functionality something you need in ifconfig or > could it be just as useful in another command? > > e.g. > ifconfig -a | ifgrep zone X That would do the job but it seems "yucky". > >2) Servers with an IPMP group serving the routable network and 6+ > >networks serving as cluster interconnects. > > Sounds like you've got your hands full there :) There really 8 active interconnects. Two of them may not be plumbed (LLT) and the other six really need to be IPMP'd as well. Oh, and don't forget a few virtuals for cluster services, a loopback, and dman. Best to pipe output through less or have a nice sized scrollback buffer. Mike -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ networking-discuss mailing list [email protected]
