Skip to main content

Schedule Automatic backup config in Cisco Nexus




Nexus-Sw1(config)#feature scheduler   //Enable scheduler service in Nexus

Nexus-Sw1(config)#scheduler job name backup-daily      // Job Name

Nexus-Sw1(config)#scheduler aaa-authentication username abcd password abcd@123    // AAA - Authentication for Job created above (If AAA configured)

Nexus-Sw1(config)#scheduler job name backup-daily
copy running-config tftp://192.168.1.23/$(SWITCHNAME)-cfg.$(TIMESTAMP)         //IP of TFTP SERVER , file will saved with switch name and timestamp
exit

Nexus-Sw1(config)#scheduler schedule name backup-daily   // Setup Schedule to run for the JOB

Nexus-Sw1(config-schedule)# time ?
  daily    Specify a daily schedule
  monthly  Specify a monthly schedule
  start    Specify a future time schedule
  weekly   Specify a weekly schedule

  
Example : 
 Nexus-Sw1(config-schedule)# time start now repeat 00:00:05
Schedule starts from Mon Mar  4 10:44:41 2013
Nexus-Sw1(config-schedule)# job name backup-daily             // Job Name to be schedule in Scheduler 
Nexus-Sw1(config-schedule)# exit
Nexus-Sw1(config)# exit
Nexus-Sw1# show scheduler config
Nexus-Sw1# show scheduler logfile

Comments

Popular posts from this blog

How to enable SSH login access to a Cisco router

This guide walks you through how to setup SSH on a Cisco Router. SSH is by far more secure then telnet. Telnet allows your passwords to be sent in plain text that anyone can see and gain access to your network. SSH is all encrypted traffic. NOTE: This should work with any Cisco router provided the Cisco IOS on the router supports ssh. Firstly is ssh enabled? router#sh ip ssh SSH Disabled - version 2.0 %Please create RSA keys to enable SSH. Authentication timeout: 60 secs; Authentication retries: 5 In this case its not, if you got a error saying that sh ip ssh is not recognized then you would know that ssh is not supported or possibly that the command is different for your platform. How to enable SSH on a Cisco 800 series router# config term router(config)#crypto key generate rsa usage-keys label router-key The name for the keys will be: router-key Choose the size of the key modulus in the range of 360 to 2048 for your

INSTALL DOT NET FRAMEWORK ON MULTIPLE SERVERS USING POWERSHELL SCRIPT

Installing .Net 4.5.2 $servers = Array of Servers foreach($server in $servers) { Write-Host “Copying the installation file” copy-item  –path “-SOURCE” –destination “ destination ” Write-Host “Installing .NET 4.5.2” Invoke-Command –Computername $server –Credentials xxxx { C:\Temp\ NET 4.5.2  /passive /norestart }

Connection failed: enforce firewall policy failed (on win 7 / 64bit)

Connection failed: enforce firewall policy failed (on win 7 / 64bit)  error: connection failed: enforce firewall policy failed client: Check point endpoint security r75 build 835002205 on win 7 / 64 bit The solution is to find driver file vsdatant.sys and copy it to system32/drivers Ref :- https://forums.checkpoint.com/forums/thread.jspa?messageID=46927