[rancid] Role Privileges for Nexus 9k
Pico Leto
picoleto420 at gmail.com
Fri Feb 9 05:17:07 UTC 2018
Hi,
I'm definitely running NX-OS however running the debug under cisco-xr gives
me better results, with the exception that the end of run isn't found
$ rancid -t cisco-xr -d host.xx.
loadtype: device type cisco-xr
loadtype: found device type cisco-xr in
/usr/local/rancid/etc/rancid.types.base
executing clogin -t 90 -c"terminal no-timestamp;terminal exec prompt
no-timestamp;admin show version;admin show install summary;admin show
license udi;admin show license;admin show variables boot;admin show
hw-module fpd location all;show redundancy secondary;show install
active;admin show env all;dir /all nvram:;dir /all bootflash:;dir /all
compactflash:;dir /all compactflasha:;dir /all slot0:;dir /all disk0:;dir
/all disk0a:;dir /all slot1:;dir /all disk1:;dir /all disk1a:;dir /all
slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all
harddiskb:;show controllers;admin show diag;admin show inventory raw;show
vlan;show debug;show rpl maximum;admin show running;show running-config"
host.xx.
PROMPT MATCH: host.xx#
HIT COMMAND:host.xx# terminal no-timestamp
In RunCommand: host.xx# terminal no-timestamp
HIT COMMAND:host.xx# terminal exec prompt no-timestamp
In RunCommand: host.xx# terminal exec prompt no-timestamp
HIT COMMAND:host.xx# admin show version
In ShowVersion: host.xx# admin show version
HIT COMMAND:host.xx# admin show install summary
In ShowInstallSummary: host.xx# admin show install summary
HIT COMMAND:host.xx# admin show license u
In ShowLicense: host.xx# admin show license udi
HIT COMMAND:host.xx# admin show license
In ShowLicense: host.xx# admin show license
HIT COMMAND:host.xx# admin show variables boot
In ShowBootVar: host.xx# admin show variables boot
HIT COMMAND:host.xx# admin show hw-module fpd location all
In ShowRunning: host.xx# admin show hw-module fpd location all
HIT COMMAND:host.xx# show redundancy secondary
In ShowRedundancy: host.xx# show redundancy secondary
HIT COMMAND:host.xx# show install active
In ShowInstallActive: host.xx# show install active
HIT COMMAND:host.xx# admin show env all
In ShowEnv: host.xx# admin show env all
HIT COMMAND:host.xx# dir /all nvram:
In DirSlotN: host.xx# dir /all nvram:
HIT COMMAND:host.xx# dir /all bootflash:
In DirSlotN: host.xx# dir /all bootflash:
HIT COMMAND:host.xx# dir /all compactflash:
In DirSlotN: host.xx# dir /all compactflash:
HIT COMMAND:host.xx# dir /all compactflasha:
In DirSlotN: host.xx# dir /all compactflasha:
HIT COMMAND:host.xx# dir /all slot0:
In DirSlotN: host.xx# dir /all slot0:
HIT COMMAND:host.xx# dir /all disk0:
In DirSlotN: host.xx# dir /all disk0:
HIT COMMAND:host.xx# dir /all disk0a:
In DirSlotN: host.xx# dir /all disk0a:
HIT COMMAND:host.xx# dir /all slot1:
In DirSlotN: host.xx# dir /all slot1:
HIT COMMAND:host.xx# dir /all disk1:
In DirSlotN: host.xx# dir /all disk1:
HIT COMMAND:host.xx# dir /all disk1a:
In DirSlotN: host.xx# dir /all disk1a:
HIT COMMAND:host.xx# dir /all slot2:
In DirSlotN: host.xx# dir /all slot2:
HIT COMMAND:host.xx# dir /all disk2:
In DirSlotN: host.xx# dir /all disk2:
HIT COMMAND:host.xx# dir /all harddisk:
In DirSlotN: host.xx# dir /all harddisk:
HIT COMMAND:host.xx# dir /all harddiska:
In DirSlotN: host.xx# dir /all harddiska:
HIT COMMAND:host.xx# dir /all harddiskb:
In DirSlotN: host.xx# dir /all harddiskb:
HIT COMMAND:host.xx# show controllers
In ShowContAll: host.xx# show controllers
HIT COMMAND:host.xx# admin show diag
In ShowDiag: host.xx# admin show diag
HIT COMMAND:host.xx# admin show inventory raw
In ShowInventory: host.xx# admin show inventory raw
HIT COMMAND:host.xx# show vlan
In ShowVLAN: host.xx# show vlan
HIT COMMAND:host.xx# show debug
In ShowDebug: host.xx# show debug
HIT COMMAND:host.xx# show rpl maximum
In ShowRPL: host.xx# show rpl maximum
HIT COMMAND:host.xx# admin show running
In ShowRunning: host.xx# admin show running
HIT COMMAND:host.xx# show running-config
In WriteTerm: host.xx# show running-config
host.xx.: End of run not found
host.xx.: found_end is false
On Thu, Feb 8, 2018 at 1:33 PM, Piegorsch, Weylin William <weylin at bu.edu>
wrote:
> Doesn’t ASR9k run IOS XR (rancid type “ios-xr”)? I didn’t think it
> supported NX-OS. I’ve only seen NX-OS on Nexus (including N9k), MDS, and
> UCS devices.
>
> weylin
>
>
>
> *From: *Pico Leto <picoleto420 at gmail.com>
> *Date: *Wednesday, February 7, 2018 at 2:05 PM
> *To: *<rancid-discuss at shrubbery.net>
> *Subject: *[rancid] Role Privileges for Nexus 9k
>
>
>
> Hi,
>
>
>
> I seem to be having some troubles backing up my configs for a ASR9k
> (C93108TC-EX) running NXOS 7.0.3.I4.4. My current version of rancid is 3.7
>
>
>
> I thought I created the correct role for rancid to run under however my
> debug seems to end after 'system redundancy status'. The command is
> actually available however you have to be in config term mode to see the
> output.
>
>
>
> Role: rancid
>
> Description: rancid restricted access
>
> Vlan policy: permit (default)
>
> Interface policy: permit (default)
>
> Vrf policy: permit (default)
>
> -------------------------------------------------------------------
>
> Rule Perm Type Scope Entity
>
> -------------------------------------------------------------------
>
> 4 permit command dir *
>
> 3 permit command show *
>
> 2 permit command terminal *
>
> 1 permit command show running-config
>
>
>
> Debug:
>
>
>
> rancid -t cisco-nx -d host.xx.xx
>
> loadtype: device type cisco-nx
>
> loadtype: found device type cisco-nx in /usr/local/rancid/etc/rancid.
> types.base
>
> executing clogin -t 90 -c"term no monitor-force;show version;show version
> build-info all;show license;show license usage;show license
> host.xx.xx-id;show system redundancy status;show environment clock;show
> environment fan;show environment fex all fan;show environment
> temperature;show environment power;show boot;dir bootflash:;dir debug:;dir
> logflash:;dir slot0:;dir usb1:;dir usb2:;dir volatile:;show module;show
> module xbar;show inventory;show vtp status;show vlan;show debug;show cores
> vdc-all;show processes log vdc-all;show module fex;show fex;show
> running-config" host.xx.xx
>
> PROMPT MATCH: host.xx#
>
> HIT COMMAND:host.xx# term no monitor-force
>
> In RunCommand: host.xx# term no monitor-force
>
> HIT COMMAND:host.xx# show version
>
> In ShowVersion: host.xx# show version
>
> TYPE = NXOS
>
> HIT COMMAND:host.xx# show version build-info all
>
> In ShowVersionBuild: host.xx# show version build-info all
>
> HIT COMMAND:host.xx# show license
>
> In ShowLicense: host.xx# show license
>
> HIT COMMAND:host.xx# show license usage
>
> In ShowLicense: host.xx# show license usage
>
> HIT COMMAND:host.xx# show license host.xx.xx-id
>
> In ShowLicense: host.xx# show license host.xx.xx-id
>
> HIT COMMAND:host.xx# show system redundancy status
>
> In ShowRedundancy: host.xx# show system redundancy status
>
> host.xx.xx: show system redundancy status failed: -1
>
> host.xx.xx: missed cmd(s): show environment clock, show environment fan,
> show environment fex all fan, show environment temperature, show
> environment power, show boot, dir bootflash:, dir debug:, dir logflash:,
> dir slot0:, dir usb1:, dir usb2:, dir volatile:, show module, show module
> xbar, show inventory, show vtp status, show vlan, show debug, show cores
> vdc-all, show processes log vdc-all, show module fex, show fex
>
> host.xx.xx: End of run not found
>
> host.xx.xx: clean_run is false
>
> host.xx.xx: found_end is false
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180208/5fc502ad/attachment.html>
More information about the Rancid-discuss
mailing list