blogin Timeout

Fergus Roche fergus.roche at loudeye.com
Sat May 4 00:15:03 UTC 2002


 

> > On Thu, 2002-05-02 at 14:54, john heasley wrote:
> > 
> > > 
> > > afraid i can't find the discussion you mention.  can you provide an
> > > example collection from the router?  like
> > > 	setenv NOPIPE=YES
> > > 	brancid -d router
> > > there should be a router.raw file left behind.
> > > 
> > 
> > Using these commands in brancid:
> > 
> > %commands=(
> >         'show config'           => "ShowConfig",
> >         'show config verbose'   => "ShowConfig",
> >         'exit'                  => "RunCommand"
> > 
> > 
> > $ brancid -d bay-nr1
> > executing blogin -t 90 -c"show config;show config verbose;exit"
bay-nr1
> > bay-nr1: missed cmd(s): show config,show config verbose,exit
> > bay-nr1: missed cmd(s): show config,show config verbose,exit
> > bay-nr1: End of run not found
> > bay-nr1: End of run not found
> > !
> > $ 
> > 
> > 
> > The .raw file contains the full output of show config and show config
> > verbose, but ends approximately 22 lines prematurely:
> > 
> > $ tail -20 bay-nr1.raw 
> >         default-supply disable 
> >         listen enable 
> >         poison disable 
> >         supply enable 
> >         trigger disable 
> >         back
> >         traffic-filter
> >         back
> >         back
> >         stg 1
> >         faststart disable 
> >         pathcost 10 
> >         priority 128 
> >         stp enable 
> >         back
> >         unknown-mac-discard
> >         activation disable 
> >         autolearn disable 
>
>hmm.  how many lines were cut?  blogin is just writting to stdout which
>is redirected to this file.  what i find odd is lack of an error,
>timeout
>specifically.
>
>could you telnet to the box, enter 'more off' (disable pager), then
>'show config' and 'show config verbose', and finally exit.  if it
>doesnt truncate; please send the portion from 'autolearn' on to the
>unix prompt.
>

It doesn't truncate when I log in and run the commands manually. Heres the
end part that is missed when using brancid.

        autolearn disable 
        autolearn-mode one-shot 
        default-autolearn-monitor monitor 
        default-autolearn-priority high 
        lock-autolearn-mac disable 
        violation-downport disable 
        violation-logging enable 
        violation-sendtrap disable 
        back
back
ethernet 7/14
        high-priority false 
        linktrap enable 
        lock false 
        state enable 
        auto-negotiate enable
        perform-tagging disable
        tagged-frames-discard disable
        ip
        proxy disable
        arp-response enable
        l3-igmp
        last-memb-query-int 1 

bay-nr1# exit
             Connection closed by foreign host.
$ 






More information about the Rancid-discuss mailing list