Mailing List Archive

ucs backup
Peace and blessings to you,

searching rancid and ucs cisco fabric backup lead to:
show configuration | no-more
connect nxos
show running-config | no-more
exit

so i created:
########### Cisco Fabric Ucs
cisco-ucs;script;rancid -t cisco-ucs
cisco-ucs;login;clogin
cisco-ucs;module;nxos
cisco-ucs;inloop;nxos::inloop
cisco-ucs;command;nxos::ShowVersion;show version
cisco-ucs;command;nxos::WriteTerm;show configuration | no more
cisco-ucs;command;nxos::WriteTerm;connect nxos
cisco-ucs;command;nxos::WriteTerm;show running-config
cisco-ucs;command;nxos::WriteTerm;exit
###########
in rancid.types.base

but the log file shows:

=====================================
Getting missed routers: round 4.
fi-a: missed cmd(s): show running-config
fi-a: End of run not found
FI-A(nxos)# exit
fi-b: missed cmd(s): show running-config
rfi-b: End of run not found
FI-B(nxos)# exit


ending: Tue Nov 2 03:32:58 PM +03 2021

anyone backing ucs here?

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: ucs backup [ In reply to ]
Tue, Nov 02, 2021 at 03:56:58PM +0300, Vacheslav:
> ########### Cisco Fabric Ucs
> cisco-ucs;script;rancid -t cisco-ucs
> cisco-ucs;login;clogin
> cisco-ucs;module;nxos
> cisco-ucs;inloop;nxos::inloop
> cisco-ucs;command;nxos::ShowVersion;show version
> cisco-ucs;command;nxos::WriteTerm;show configuration | no more
> cisco-ucs;command;nxos::WriteTerm;connect nxos

Does the prompt change after this command?

> cisco-ucs;command;nxos::WriteTerm;show running-config
> cisco-ucs;command;nxos::WriteTerm;exit
> ###########
> in rancid.types.base

rancid.types.conf - otherwise the next upgrade will overwrite your custom
definition

> but the log file shows:
>
> =====================================
> Getting missed routers: round 4.
> fi-a: missed cmd(s): show running-config
> fi-a: End of run not found
> FI-A(nxos)# exit
> fi-b: missed cmd(s): show running-config
> rfi-b: End of run not found
> FI-B(nxos)# exit
> ending: Tue Nov 2 03:32:58 PM +03 2021

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: ucs backup [ In reply to ]
2.11.21 19:14, heasley ?????:
> connect nxos
RUP-FI-A# connect nxos
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2021, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
RUP-FI-A(nxos)#

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss