[rancid] NX-OS and colorized prompts

Gauthier, Chris cgauthier at comscore.com
Tue Jul 11 15:11:53 UTC 2017


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?

--Chris


Chris GauthierSenior Network Engineer | comScore, Inc.
o +1 503-331-2704cgauthier at comscore.com
317 SW Alder St, Suite 500 | Portland | OR97204
............................................................................................................................................................................................................................

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170711/021a471b/attachment.html>


More information about the Rancid-discuss mailing list