[rancid] NX-OS and colorized prompts

heasley heas at shrubbery.net
Tue Jul 11 15:28:50 UTC 2017


Tue, Jul 11, 2017 at 03:11:53PM +0000, Gauthier, Chris:
> In trying to get my Nexus switches working, I discovered a problem.  The colorized prompts on the Nexus switches use ANSI Escape codes.  This totally trips out rancid and causes it to miss commands.  I verified by turning off the colorization manually that is the issue.  I copied the cisco-nx and renamed it in my rancid.types.conf file and added
> 
> cisco-nx5600-9000;command;rancid::RunCommand;no term color
> 
> right before the line
> 
> cisco-nx5600-9000;command;rancid::RunCommand;term no monitor
> 
> Rancid timed out after the “no term color” command executed and changed the prompt.  Suggestions on how to remedy this within rancid?

hold on while i curse for 20 minutes.  seriously cisco, what is the utility
of this.

can you disable it by default in the config?  Maybe setting a non-color-
supporting TERM would work?



More information about the Rancid-discuss mailing list