[Cisco IOS12.3] Backup van config naar TFTP

Pagina: 1
Acties:

  • Fl4sh3r
  • Registratie: Juni 2002
  • Laatst online: 26-03 21:19
Hey,

Al enige tijd probeer ik een backup te maken van mijn configuratie op een Cisco 1760. Deze backup wil ik wegschrijven naar een TFTP-server (deze draait op een Linux server).

De configuratie van de router aftrekken met een cronjob op die Linux server is niet gelukt.

In mijn zoekactie op Google kwam ik kron tegen, ook hier wil het niet mee lukken.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Cisco1760(config)#kron policy-list backup
Cisco1760(config-kron-policy)#
7w5d: New Policy Entry
Cisco1760(config-kron-policy)#cli copy system:/running-config tftp://10.0.0.100/cisco1760-confg
Cisco1760(config-kron-policy)#exit
Cisco1760(config)#kron occurrence backup in 1 recurring
Cisco1760(config-kron-occurrence)#exit
Cisco1760(config)#exit
7w5d: %SYS-5-CONFIG_I: Configured from console by vty0 (10.0.0.100)
Cisco1760#sh kr sch
Kron Occurrence Schedule
backup inactive, will run again in 0 days 00:00:46

Cisco1760#
7w5d: Major 1, Minor 0
7w5d: Timer Event backup
7w5d: Kron delay for next backup 60000
7w5d: Call parse_cmd 'copy system:/running-config tftp://10.0.0.100/cisco1760-confg'
7w5d: Kron CLI return 0
'
**CLI 'copy system:/running-config tftp://10.0.0.100/cisco1760-confg':
Address or name of remote host [10.0.0.100]? ?Bad address or host name%Error parsing filename (Bad file number)'
7w5d: Major 4, Minor 7
7w5d: Respond to end of CLI Process
7w5d: Forcing Removing Policy backup
7w5d: Removing Policy backup
7w5d:     Removing CLI 'copy system:/running-config tftp://10.0.0.100/cisco1760-confg'
7w5d: Done Removing Policy backup

Opzich niet vreemd, want in de informatie over Command Scheduler staat:
Restrictions for Command Scheduler
The EXEC CLI specified in a Command Scheduler policy list must not generate a prompt or have the ability to be terminated using keystrokes. Command Scheduler is designed as a fully automated facility and no manual intervention is permitted.
Heeft iemand een suggestie om dagelijks (of vaker) een backup te maken van de configuratie via TFTP?

Verwijderd

Wat wijzig jij dagelijks in je config ? :?

  • Adze
  • Registratie: Juli 2001
  • Laatst online: 13:22

Adze

CCNP !

Fl4sh3r schreef op donderdag 25 augustus 2005 @ 16:34:

De configuratie van de router aftrekken met een cronjob op die Linux server is niet gelukt.
Wat heb je zoal geprobeerd?

Op het werk gebruiken wij snmp om configuraties op gezette tijden te backuppen naar tftp. Meer info.

Verwijderd

Kvrees dat het niet zo gaat werken :

Restrictions for Command Scheduler
The EXEC CLI specified in a Command Scheduler policy list must not generate a prompt or have the ability to be terminated using keystrokes. Command Scheduler is designed as a fully automated facility and no manual intervention is permitted.

[ Voor 171% gewijzigd door Verwijderd op 26-08-2005 14:15 ]