Saturday, July 27, 2013

NTP Cisco - Juniper MD5 Authentication



In this example I'm going to configure Cisco router to by NTP server and the source for his time will be local configured time, best practice is to use more then one NTP server and use GPS Network Time Server (hardware or software)

 
R1#show clock
*00:06:25.899 UTC Fri Mar 1 2002
R1#clock set 21:51:50 22 july 2013  
- Use clock set command

SolarWinds SFTP & SCP Server Running Problem



I download and installed the SolarWinds SFTP & SCP Server, you can find lots of free network tools at theirs site. 
For free tolls follow the link http://www.solarwinds.com/downloads/
But I had to point to the problem that I have lunching the SFTP & SCP server. When I run the application everything looks just fine, except the service is not running and cannot be started.

See pictures below:




Friday, July 12, 2013

Oracle VM And Windows Server 2012 Nic Problem



I installed Windows Server 2012 for testing in Oracle VM, and during installation I used default configuration for VM. When I logged on and try to configure network settings there wasn't an network adapter at all.


Thursday, July 11, 2013

Backup Configuration Using Kron Schedule



You want to make sure your router automatically saves its configuration on scheduled time? For that purpose you can use kron command on router or switch.

But (yes, there is a but :)) , first you have to configure accurate time on router, to do that use clock set or use ntp server command.

In this lab I'm using TFTP server (tftpd32) for backing up my config, you can use FTP or SCP and kron command to automatically backup configuration.


Here you can download TFTP, SFTP and SCP servers without any fees. 


After setting the clock, disable pop-up questions when using copy command, those questions are appears beside you supply the complete source and destination file name in the command line, the IOS  will still ask you a question about ip address of TFTP server and file name destination.

To solve the problem use file prompt quit command (the default value is noisy), after that you can start configuring kron scheduler.




Step 1.
HLabR1(config)#kron policy-list SAVECONFIG
HLabR1(config-kron-policy)#cli copy running-config tftp://10.2.0.2/config
HLabR1(config-kron-policy)#exit
HLabR1(config)#kron occurrence SAVE at 21:51 Sun recurring
HLabR1(config)#policy-list SAVECONFIG


Step 2.

Use debug kron all to see what  going to happen at scheduled time.



Jul  7 21:51:16.656: Kron CLI return 0'


**CLI 'copy running-config tftp://10.2.0.2/config':

!!1253 bytes copied in 3.268 secs (383 bytes/sec)'

Jul  7 21:51:16.664: Major 4, Minor 7

Jul  7 21:51:16.664: Respond to end of CLI Process






Use show kron schedule command to see when will run again.