Discussion:
[rancid] Filter flash: related strings from mail diff output
Smirnoff Alexander
2009-08-03 11:08:00 UTC
Permalink
Hello!



I an think about purposes flash: related config lines in RANCID configs and find this descision:

These lines are stored in CVS as is, but filtered from mail diff output.



- !Flash: nvram:šš 377š -rw-šššššš 90202ššššššššššššššššššš <no date>š startup-config

+ !Flash: nvram:šš 377š -rw-šššššš 89840ššššššššššššššššššš <no date>š startup-config



Where a can add it grep -v "!Flash:" command for filter this lines from config diffs messages?
--
Regards,
Alexandr Smirnov
+7(812)3468600 # 54682
Head of Data Transmission Networks Monitoring Service mailto:***@office.beeline.ru <mailto:***@office.beeline.ru>
Rob Wynne
2009-08-03 19:37:07 UTC
Permalink
We recently brought a new customer online and configured our RANCID
installation for their equipment. One of the CMTS devices is not
reporting properly, and I'm not sure how to troubleshoot it.

Here's the info on the device:

IOS (tm) 7200 Software (UBR7200-IK8S-M), Version 12.2(15)BC2f, RELEASE
SOFTWARE (fc1)
cisco uBR7246VXR (NPE-G1) processor (revision B) with 983040K/65536K
bytes of memory.
Processor board ID CAT09080ETY
SB-1 CPU at 700Mhz, Implementation 1, Rev 0.2, 512KB L2 Cache
6 slot VXR midplane, Version 2.
System image file is "disk2:ubr7200-ik8s-mz.122-15.BC2f.bin"

And here's the error from the rancid log:

Trying to get all of the configs.
cmts.xxxxxxx.com: missed cmd(s): write term,show running-config
cmts.xxxxxxx.com: End of run not found
Error: TIMEOUT reached
=====================================
Getting missed routers: round 1.
cmts.xxxxxxx.com: missed cmd(s): write term,show running-config
cmts.xxxxxxx.com: End of run not found
Error: TIMEOUT reached
...etc...

If i clogin to the box and do a write term or show running-config, it
gives me the output I expect. They have another cmts which is
reporting fine, though it's running a different version of the IOS:

IOS (tm) 7200 Software (UBR7200-IK9S-M), Experimental Version 12.3
cisco uBR7246VXR (NPE-G1) processor (revision A) with 983040K/65536K
bytes of memory.
Processor board ID SCA061600NC
SB-1 CPU at 700MHz, Implementation 1, Rev 0.2, 512KB L2 Cache
6 slot VXR midplane, Version 2.0
System image file is "disk2:ubr7200-ik9s-mz.123-9a.BC7.bin"

Any help in how to isolate this would be appreciated.

Cheers,
Rob Wynne
Senior Systems Administrator
ISP Alliance, Inc.
Rob Wynne
2009-08-03 19:54:57 UTC
Permalink
Answering my own question...

After sending this off, I started digging a bit further and found the -d
option for debugging. Running this helped me discover that it was
actually the command *previous* to the ones in the error log it was hung
up on.

The problem was that this cmts had an option set to prompt for the
filename when you asked it to do a "more system:running-config". This
option is in the global config, and is "file prompt noisy". We changed
it to "file prompt alert", which only prompts when you are rebooting or
erasing the filesystem.

Sorry to clutter up the list with my learning curve. I was getting
quite frustrated. :)

Rob
Post by Rob Wynne
We recently brought a new customer online and configured our RANCID
installation for their equipment. One of the CMTS devices is not
reporting properly, and I'm not sure how to troubleshoot it.
IOS (tm) 7200 Software (UBR7200-IK8S-M), Version 12.2(15)BC2f, RELEASE
SOFTWARE (fc1)
cisco uBR7246VXR (NPE-G1) processor (revision B) with 983040K/65536K
bytes of memory.
Processor board ID CAT09080ETY
SB-1 CPU at 700Mhz, Implementation 1, Rev 0.2, 512KB L2 Cache
6 slot VXR midplane, Version 2.
System image file is "disk2:ubr7200-ik8s-mz.122-15.BC2f.bin"
Trying to get all of the configs.
cmts.xxxxxxx.com: missed cmd(s): write term,show running-config
cmts.xxxxxxx.com: End of run not found
Error: TIMEOUT reached
=====================================
Getting missed routers: round 1.
cmts.xxxxxxx.com: missed cmd(s): write term,show running-config
cmts.xxxxxxx.com: End of run not found
Error: TIMEOUT reached
...etc...
If i clogin to the box and do a write term or show running-config, it
gives me the output I expect. They have another cmts which is
IOS (tm) 7200 Software (UBR7200-IK9S-M), Experimental Version 12.3
cisco uBR7246VXR (NPE-G1) processor (revision A) with 983040K/65536K
bytes of memory.
Processor board ID SCA061600NC
SB-1 CPU at 700MHz, Implementation 1, Rev 0.2, 512KB L2 Cache
6 slot VXR midplane, Version 2.0
System image file is "disk2:ubr7200-ik9s-mz.123-9a.BC7.bin"
Any help in how to isolate this would be appreciated.
Cheers,
Rob Wynne
Senior Systems Administrator
ISP Alliance, Inc.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...