[rancid] Nexus 1000v switch-router

Charles T. Brooks Charles.Brooks at hbcs.org
Thu Jun 30 19:08:47 UTC 2016


Thanks for the . /etc/rancid/rancid.conf trick!  I should have thought of that.  I'm new to RANCiD and to Cisco UCS and this particular switch, but I know Cisco's other routers and switches pretty well, and I can code.

>would you show me the error that the cli produces for this command?

nx1k-03# show environment temperature
                 ^
% Invalid command at '^' marker.
nx1k-03#

The Nexus 1000V switch is virtual, so it lives in a cloudy spoogeball of UCS virtuosity, and sort of floats around the redundant UCS chassis without having any specific environment or hardware.  I think Cisco ripped out all the "show environment" commands completely; they don't show up in the help if I do "show ?" despite using the admin account/network-admin role.

BTW, you're absolutely right that the commands listed /etc/rancid/rancid.types.base include "show vlan" for both the cisco and cisco-nx device types.  However, in practice, I can look at the configs stored in git and when I use the cisco device type the output of show vlan is present (prefixed with !VLAN) and when I use the cisco-nx device type that output is entirely missing, and there is no !VLAN prefix to be found.  Hold on, I'll grep it to be sure I'm not blind - nope, there is no !VLAN prefix in the config retrieved by rancid 3.4.1 using device type cisco-nx.  And that's a good thing, a desirable behavior in my opinion.

--Charlie
________________________________________
From: heasley [heas at shrubbery.net]
Sent: Thursday, June 30, 2016 1:21 PM
To: Charles T. Brooks
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Nexus 1000v switch-router

Thu, Jun 30, 2016 at 04:48:25PM +0000, Charles T. Brooks:
> I'm using rancid v3.4.1, which I think is the latest?  Anyway, I had to add /usr/libexec/rancid to my PATH, but then I got this:

or ". rancid.conf" will set the PERL5LIB for you.

> HIT COMMAND:nx1k-03# show environment temperature
>     In ShowEnvTemp: nx1k-03# show environment temperature
> nx1k-03.hbcs.org: show environment temperature failed: -1

would you show me the error that the cli produces for this command?
       ------------------  CONFIDENTIALITY NOTICE  ---------------

  This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain privileged confidential information
protected by law. Any unauthorized review, use, disclosure or distribution
of this message is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this message.

       ------------------  CONFIDENTIALITY NOTICE  ---------------



More information about the Rancid-discuss mailing list