[rancid] Extreme 200-series switches

James Andrewartha jandrewartha at ccgs.wa.edu.au
Mon Mar 25 07:11:38 UTC 2019


Hi,

On 25/03/19 00:38, heasley wrote:
> Perhaps this
> 
> Index: bin/clogin.in
> ===================================================================
> --- bin/clogin.in	(revision 3966)
> +++ bin/clogin.in	(working copy)
> @@ -452,6 +452,12 @@
>  						  send -h "quit\r"
>  						  exp_continue;
>  						}
> +	-re "^\% Invalid input detected at "	{
> +						  # Broadcom Fastpath based
> +						  # Extreme 200 series
> +						  send -h "quit\r"
> +						  exp_continue;
> +						}
>  	"The system has unsaved changes"	{ # Force10 SFTOS
>  						  if {$do_saveconfig} {
>  						    catch {send "y\r"}
> 

That works a treat, thanks. I haven't yet tested it when there's an
unsaved config change though. Also I'll need to filter out these
changing parts, where in the code is this done in 3.x?

  !
- !Temp (C)....................................... 26
+ !Temp (C)....................................... 27
  !Temperature traps range: 0 to 45
  !Fans:
  !Unit Fan Description    Type      Speed         Duty
  !---- --- -------------- --------- ------------- -------------
  !1    1   Fan-1          Fixed     Not
  !Power Modules:
  !Unit     Power supply   Description        Type          State
  !----     ------------   ----------------   ----------    --------------
  !1        1              PS-1               Fixed         Operational
  !Disk usage information:
  !Unit   Total space (KB)   Free space
  !----   ----------------   ---------------   ---------------
---------------
- !1                27,584            25,828             1,756
     6
+ !1                27,584            25,784             1,800
     6
  !

-- 
James Andrewartha
Network & Projects Engineer
Christ Church Grammar School
Claremont, Western Australia
Ph. (08) 9442 1757
Mob. 0424 160 877



More information about the Rancid-discuss mailing list