Discussion:
[rancid] Avoid Boot Flash :Flash changes in cisco routers
'heasley'
2017-06-26 14:37:10 UTC
Permalink
Dear Rancid Team,
I have Rancid running. I have the problem of getting mails about Changes of
Router ROM and Flash In Cisco routers, which is really disturbing. Even
without any config change, still I am getting rancid mails regard to Boot
Flash NVRAM, Flash changes. Please let me know how to avoid these details in
Frequent emails.
I upgraded the Rancid to latest version rancid-3.6.2. but still I have the
problem of getting unwanted output of Flash and boot flash in mails.
Please let me know how to resolve this issue.
!Image: disk0:asr9k-os-mbi-5.3.4/0x100305/mbiasr9k-rsp3.vm
- !Image: Wed Jun 14 15:40:36.981 IST
i suspect that you are limiting what commands the rancid user can run.
it must be able to run all the commands in
rancid -C -t cisco-xr
'heasley'
2017-06-26 14:50:05 UTC
Permalink
Dear Mr.Heasley,
I have not limited the commands. I want rancid to stop sending mails about
frequent Flash, NVRAM, BootFlash changes of cisco xr routers. I have set to
run Rancid hourly. So every Hour I am getting below mail for cisco xr
routers.
!Image: disk0:asr9k-os-mbi-5.3.4/0x100305/mbiasr9k-rsp3.vm
- !Image: Mon Jun 26 19:02:05.124 IST
+ !Image: Mon Jun 26 20:02:04.335 IST
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).
Nalin Fernando
2017-06-26 15:13:37 UTC
Permalink
Dear Mr.Heasley,

I do not want to disable anything in Routers,

Please guide me how to disable those commands in Rancid.

Thanks and Regards,
Nalin Fernando

SLTNet Team
ISP Operations Section | Sri Lanka Telecom PLC
6 th Floor, OTS Building, SLT HQ, Colombo-1, Sri Lanka
Work: +94112029600 |7 Fax: +94112391324
Email:***@sltnet.lk| Web:www.sltnet.lk


-----Original Message-----
From: 'heasley' [mailto:***@shrubbery.net]
Sent: Monday, June 26, 2017 8:20 PM
To: Nalin Fernando
Cc: 'heasley'; rancid-***@shrubbery.net; ***@shrubbery.net;
'Mathiruban'; Rajagopal Mathiruban
Subject: Re: Avoid Boot Flash :Flash changes in cisco routers
Dear Mr.Heasley,
I have not limited the commands. I want rancid to stop sending mails
about frequent Flash, NVRAM, BootFlash changes of cisco xr routers. I
have set to run Rancid hourly. So every Hour I am getting below mail
for cisco xr routers.
!Image: disk0:asr9k-os-mbi-5.3.4/0x100305/mbiasr9k-rsp3.vm
- !Image: Mon Jun 26 19:02:05.124 IST
+ !Image: Mon Jun 26 20:02:04.335 IST
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).
Nick Hilliard
2017-06-26 16:54:49 UTC
Permalink
Post by 'heasley'
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.
Post by 'heasley'
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
'heasley'
2017-06-26 18:50:46 UTC
Permalink
Post by Nick Hilliard
Post by 'heasley'
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.
Post by 'heasley'
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
i vaguely remember opening a DDTS for that and other cli bugs for xrv. I'll
check the list; then you too can subscribe to it or open your own.
'heasley'
2017-06-28 22:13:11 UTC
Permalink
Post by 'heasley'
Post by Nick Hilliard
Post by 'heasley'
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.
Post by 'heasley'
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
i vaguely remember opening a DDTS for that and other cli bugs for xrv. I'll
check the list; then you too can subscribe to it or open your own.
I've looked; I can't find that a DDTS was opened for us; it was only an
EFT complaint.

we'll open one. you should too - please.
'heasley'
2017-07-18 15:30:25 UTC
Permalink
Post by 'heasley'
Post by 'heasley'
Post by Nick Hilliard
Post by 'heasley'
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.
Post by 'heasley'
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
breif note; there are filters for this in the alpha image.
Post by 'heasley'
Post by 'heasley'
i vaguely remember opening a DDTS for that and other cli bugs for xrv. I'll
check the list; then you too can subscribe to it or open your own.
I've looked; I can't find that a DDTS was opened for us; it was only an
EFT complaint.
we'll open one. you should too - please.
Loading...