Various CLI commands when managing Cisco devices (Because I don’t do them enough to remember)
sh int status
#Show Version Information
sh int status
Backing up Cisco switch / router config to TFTP location:
- Install TFTP on server: http://tftpd32.jounin.net/tftpd32.html
- Login to device via Telnet (Using Putty if needed putty.org)
- Password: <Enter Password>
- SW001><Enter en Password>
- SW001>copy run tftp
- SW001>192.0.?.? <Specify I.P. Address / Don’t use name as DNS may not be configured>
- SW001><Press “Return”> – This will dump the config into the root configured on the TFTP
Factory Reset | ASA5505
- Attach Console Cable
- Load Putty, connect on “Console”
- Type ‘ena’ to go to enable mode. Enter the password, or just press enter if there is no password set.
- Type ‘config t’
- Type ‘config factory-default’
- Hit spacebar when the ‘more’ thing happens. You want to get back to the prompt that looks like: ‘ciscoasa(config)#’
- Type ‘reload save-config noconfirm’
- Make sure that the outside line is plugged into port zero, and your pc is plugged into any of the ports 1-7.
- The Cisco ASA has been reset to factory settings. DHCP is enabled on the cisco device, and it’s internal IP address is now 192.168.1.1!
- If you had an enable password set, you may need to enter that in the password box when you try to connect using the ASDM. Otherwise the default username and password is to leave both blank.
- Default Password: cisco
Output Config inc. ikev1 pre-shared-key | ASA5505
copy runnin-config tftp
<your TFTP IP>