Friday, October 30, 2015

Password recovery for Cisco 1800 router

To recover your password, follow these steps:

1. Attach a terminal or PC with terminal emulation to the console port of the router. Use these terminal settings:
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control
2. Use the power switch to turn off the router, and then turn it back on.
3. Press Break on the terminal keyboard within 60 seconds of the power-up to put the router into ROMMON.
4. Type confreg 0x2142 at the rommon 1> prompt to boot from Flash without loading the configuration.
5. Type reset at the rommon 2> prompt.
6. The router reboots, but ignores its saved configuration.
7. Type no after each setup question, or press Ctrl-C to skip the initial setup procedure.
8. Type enable at the Router> prompt.
9. You are taken to the enable mode, and the Router# prompt appears. Important: Type configure memory or copy startup-config running-config to copy the nonvolatile RAM (NVRAM) into memory."Do not type configure terminal."
10. Type write terminal or show running-config .
11. The show running-config and write terminal commands show the configuration of the router. In this configuration you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown.
Also, you can see the passwords (enable password, enable secret, vty, console passwords, and so on), either in encrypted or unencrypted format.
The unencrypted passwords can be re-used, the encrypted ones will have to be changed with new passwords.
12. Type configure terminal and make the changes.
13. The prompt is now hostname(config)#.For example, type enable secret to change the enable secret password.
14. Issue the no shutdown command on every interface that is used.
show ip interface brief
configure terminal
interface FastEthernet0/0
no shutdown(repeat for other interface cards)
15. copy running-config startup-config16. config-register 0x2102
show version
Go to the bottom of the output
Configuration register is 0x2142 (will be 0x2102 at next reload)
17. Restart the router
Tips:To change the password use the following commands
For console
line console 0
login (Tells the IOS that a password prompt is desired at the consolepassword love)

For auxially port
line aux 0
loginpassword love

For Telnetline
vty 0 4
login
password love

Thursday, October 22, 2015

Command to take log of ping command


ping  google.com >> c:\Test.txt -t

Block mac address In Network

MAC Address-Based Traffic Blocking

On Router

Router(config)# mac address-table static 0050.3e8d.6400 vlan 12 drop

On Cisco Switch

 Switch(conf)#mac address-table static 3408.0499.981c  vlan X drop

Thursday, October 1, 2015

Window Firewall command

wf.msc

To start Firewall
  • NetSh Advfirewall set allprofiles state on
To stop  Firewall

  • NetSh Advfirewall set allprofiles state off

Thursday, August 6, 2015

hOW TO TAKE DHCP SCOPE BACKUP


command for taking backups
netsh dhcp server export C:\dhcp.txt all
netsh dhcp server import C:\dhcp.txt all

Exports and Imports ALL Scopes. You can export a single scope by replacing the ALL keyword with the name of the scope, like

netsh dhcp server import C:\dhcp.txt 10.10.10.0

Monday, May 11, 2015

Problem In Network

Application does not work since lInk is up and working fine

only data through  http port is not send and recieve 


Solution Increase  MTU Size on Router Interface