[rancid] Avoid Boot Flash :Flash changes in cisco routers

Nick Hilliard nick at foobar.org
Mon Jun 26 16:54:49 UTC 2017


'heasley' wrote:
> the line is from the tty timestamp mis-feature, disabled with on of
> 
> terminal no-timestamp
> terminal exec prompt no-timestamp
> 
> if you want to disable dir commands in rancid, see rancid.types.conf(5).

incidentally, this mechanism doesn't work on XRv for the admin commands.
 Here's some sample output:

> RP/0/RP0/CPU0:Router#admin show license
> 
> nick connected from 127.0.0.1 using console on xr-vm_node0_RP0_CPU0
> sysadmin-vm:0_RP0# terminal length 0
> Mon Jun  26 16:52:28.311 UTC
> sysadmin-vm:0_RP0# show license
> ------------------------^
> syntax error: element does not exist
> sysadmin-vm:0_RP0#
> 
> RP/0/RP0/CPU0:Router#

In this instance, there's no way to disable the CLI timestamps in admin
mode, so rancid picks them up in the config generation.

Nick



More information about the Rancid-discuss mailing list