Escrito por Soporte Incared
Configuracion para guardar configuracion de switch CISCO a TFTP
#Para NEXUS
config t
feature scheduler
scheduler job name Backup-diario
copy running-config tftp://10.10.10.5/ruta/nombre-de switch/$(SWITCHNAME)-conf.$(TIMESTAMP)
end-job
scheduler schedule name Backup-diario
job name Backup-diario
time daily 23:58
copy running-config startup-config
#Para Catalist
config t
kron occurrence Backup-diario at 23:59 recurring
policy-list Backup-diario
!
kron occurrence SaveConfigSchedule at 23:59 recurring
policy-list SaveConfig
!
kron policy-list Backup-diario
cli show run | tftp://10.10.10.5/ruta/nombre-de switch/$h-$t
!
kron policy-list SaveConfig
cli write