[quagga-dev 3090] Re: interface rename problems

Hasso Tepper hasso at estpak.ee
Sat Apr 2 19:55:03 BST 2005

Andrew J. Schorr wrote:
> 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.

No interface structures shouldn't be deleted automatically, but "no 
interface xxx" command should still work, so just remove pseudo interfaces 
you are not using.

> 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?

I don't think that there is need for that.

Hasso Tepper
Elion Enterprises Ltd.
WAN administrator

More information about the Quagga-dev mailing list