Henning Brauer wrote:
* Gregory Edigarov <[EMAIL PROTECTED]> [2008-07-25 11:48]:
Is there any way I could see route labels  attached in netstat or  route?

netstat, no.

I have always wanted to write sth that allows you to display all
routes with a given label, but never got around to do it. aka
  netstat -rnf inet -L foo
shows only routes with label foo. should not be too had to implement
actually. well, easier than "not too hard".

route can and does display labels.
  route -n get <target>
shows the abel if it is there.
Well, I think better solution would be to show the entire route table
just like netstat -rn or route show do. Although it can be easily implemented with a very simple script, I think I could roll my sleeves up, and get this functionality for netstat / route show, in the code.

--
With best regards,
        Gregory Edigarov

Reply via email to