Search This Blog & Internet

Wednesday, November 30, 2011

LMS4.0 Error Message : Error in communicating with DCR Server. DCR Server may be down. Please start the DCR Server and then refresh the page.

When you go to Inventory in order to visualize/add/remove the devices, you may receive the error message:

Error in communicating with DCR Server. DCR Server may be down. Please start the DCR Server and then refresh the page.

Solution:

Tuesday, November 22, 2011

Completely clear a Cisco switch configuration

When you issue the "wr erase" command in order to clear the configuration of a Cisco router, the config.text file will be erased from the flash. Then when you reboot the switch, there will be no configuration. But the Vlans will not be erased from flash because "wr erase" does not delete the vlan.dat file. So if you need to delete the Vlans as well, you need to delete the vlan.dat file manually!

There is an easier but "dangerous" way to get rid of both configuration and Vlans in a Cisco switch by holding the "mode" button for 10 seconds. The LEDs on switch will flash, the files config.text and vlan.dat will be renamed to config.text.renamed and vlan.dat.renamed and the switch will reboot with no configuration and no vlan!

Friday, September 16, 2011

Cisco ASA Firewall pre-shared key in plain text

If you issue a "show running-config" on a Cisco ASA Firewall or PIX, the pre-shared keys are all hidden by the asterisks. In order to visualize the pre-shared keys, you need to issue the following command in privileged mode:

ASA# more system:running-config

Hope this trick helps...

Friday, September 9, 2011

%% Non-volatile configuration memory is being accessed, Try again later

If you get the error message,
%% Non-volatile configuration memory is being accessed, Try again later

while executing "show startup-config", is because another user is connected to the same router and has issued "show conf" but hasn't still completed.

You can find out who the connected user is by issuing "show users" or "who" command.

Wednesday, September 7, 2011

Certified CCNP Finally...

Yesterday I passed the final exam of CCNP certification, TSHOOT and certified CCNP finally.
The exam was much easier than what I was thinking. There was a logical troubleshooting behind every trouble ticket. I can't give much information about the exam because of Cisco regulatory but I highly recommend to check this website and practice enough before taking the exam:

http://www.cisco.com/web/learning/le3/le2/le37/le10/tshoot_demo.html

This website gives you a very good idea on what you should expect in the exam.

Best of luck to everyone...

Wednesday, July 27, 2011

"%Error opening tftp://255.255.255.255/network config" Error Message

You may get the following error messages while your Cisco device is booting up:

%Error opening tftp://255.255.255.255/network-confg (Socket error)
%Error opening tftp://255.255.255.255/cisconet.cfg (Socket error)
%Error opening tftp://255.255.255.255/router-confg (Socket error)

This is due to a default service configuration option included in the IOS which is trying to access a TFTP server in order to download its configuration file.


In order to fix this issue, issue the following command in global configuration mode:
Router (config)#no service config

Tuesday, July 12, 2011

How to check DCR through CLI

Go to the server, open CMD and issue the command:

dcrcli -u <lms user ID>

Then type your password.

The command "lsids all" will give you all the devices which exist in DCR. You can also search a device by its IP address or name.

Beside lsids, there are a lot of other operations that you can do such as add, delete and modify the existing devices.

If you need help, just type "-help" and it will give you a brief explanation of each command.

Wednesday, June 1, 2011

Cisco Phone - Registration Rejected : security error

During the installation of new Cisco phones, I received the message "Registration Rejected : security error" as soon as I connected the phone. The phone was not yet configured in the Call Manager and was on Auto Registration. There was enough extension in the pool as well.
The way that I fixed the issue was adding the phone manually into the Call Manager. Then resetting the phone and it started working.

Wednesday, April 27, 2011

TCL within CiscoWorks

I wrote the following script which shut down the unused interfaces (status "down") on Catalyst 2960. When I copied and pasted the script via SSH, it was working fine without any error message, but when I executed it via CiscoWorks (RME 4.3.1) the job failed with the following error message:

tclsh
Switch(tcl)#
for {set x 0} {$x<24} {incr x} {
missing  close-brace
Switch(tcl)#
set etat [string range [lrange [exec sh ip int  brief | i FastEthernet0/$x] 4 4] 0 4 ]
can't read "x": no such variable 
Switch(tcl)#
if { [string equal $etat "down"] } {
missing close-brace 
Switch(tcl)#
puts [ios_config "Interface FastEthernet0/$x"  "shut"]
can't read "x": no such variable
Switch(tcl)#
}
invalid  command name "}"
}
^
% Invalid input detected at '^' marker.

Switch(tcl)#
}
invalid command name "}"
}
^
% Invalid  input detected at '^' marker.

Tuesday, April 19, 2011

Upload IOS from ROMMon mode

Here is the steps to follow when you want to upload an IOS to your Cisco router from ROMMon mode:

You need to run the TFTP server on your PC. Connect your PC to LAN port of your router, configure your PC with the IP address which is assigned to the TFTP server (192.168.16.19 in this example) and type the following commands:

CUBAC “database update error”

While adding the Speed Dial  numbers to your CUBAC version 3.1, you may get “database update error” error message. On Cisco website  the solution is disabling the Antivirus. If by disabling the Antivirus it still gives you the same error message, you only need to reboot your Auto Attendant Console server. The reboot will fix the issue.