[quagga-dev 3082] Re: interface rename problems

Andrew J. Schorr aschorr at telemetry-investments.com
Sat Apr 2 03:07:05 BST 2005


On Sat, Apr 02, 2005 at 10:25:48AM +1200, Matt Brown wrote:
> On Fri, 2005-04-01 at 09:06 -0500, Andrew J. Schorr wrote:
> > There are 3 possibilities that I can see to address the "ugly" display of
> > eth2 that is bothering you: 1. Leave the code as is.  It works, but
> > is not pretty in some cases.  2. Try to detect whether there is any
> > configuration information associated with the interface.  If there is
> > none, then it would be safe to delete the interface.  3. Add an option
> > to hide inactive interfaces (do not show them when the user runs
> > "show interface" or "show ip ospf interface").  I am not immediately
> > certain whether option #2 is possible...
> 
> Given your comments above about not wanting to remove the interface I
> think 3 is the best option, something similar to how ifconfig works.
> When run with no options it only display interface that are UP, if you
> run it with -a then it displays all interfaces.

OK, but what would the syntax be?  In the past, we have tried to be
compatible with Cisco IOS syntax.  What should the syntax here be?
Should it be an option to show interface?  Or should it be a global
configuration setting that would affect all commands that display
interfaces?

Regards,
Andy



More information about the Quagga-dev mailing list