show crypto isakmp
show vpn-sessiondb summary
clear crypto isakmp sa
ZEC: | t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM |
LTC: | LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d |
BTC: | 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz |
show crypto isakmp
show vpn-sessiondb summary
clear crypto isakmp sa
ZEC: | t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM |
LTC: | LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d |
BTC: | 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz |
Simple steps to replace a peer IP on a cisco.
First pull up the config of the cisco with the passwords in-case its the same password:
more system:running-config
Once done notice the points where the current IP is. For this example it would be.
crypto map Public_map 4 set peer X.X.X.X tunnel-group X.X.X.X type ipsec-l2l tunnel-group X.X.X.X ipsec-attributes pre-shared-key somekeyorpasswordwhatever
We want to prepare the rules we will add in advance
crypto map Public_map 4 set peer Y.Y.Y.Y tunnel-group Y.Y.Y.Y type ipsec-l2l tunnel-group Y.Y.Y.Y ipsec-attributes pre-shared-key somekeyorpasswordwhatever
now type the following to remove the other settings:
no crypto map Public_map 4 set peer X.X.X.X clear configure tunnel-group X.X.X.X
This will remove the current settings, now add the rules we prepared previously
crypto map Public_map 4 set peer Y.Y.Y.Y tunnel-group Y.Y.Y.Y type ipsec-l2l tunnel-group Y.Y.Y.Y ipsec-attributes pre-shared-key somekeyorpasswordwhatever
Now have the peer try and connect, to view tunnels run the following command:
sh isa saif you found this helpful feel free to donate to:
ZEC: | t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM |
LTC: | LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d |
BTC: | 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz |
Reset the asa password on a cisco:
username admin pass 32brawreP7aif you found this helpful feel free to donate to:
ZEC: | t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM |
LTC: | LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d |
BTC: | 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz |
How to reset a Cisco Password :
rommon #0>
confreg
(when prompted answer no)
confreg 0x41
This will cause the cisco to ignore its saved config
boot
ciscoasa
enable
, at the password prompt just press the “enter” key.
copy startup-config running-config
. It will ask “Destination filename [running-config]”, just press enter.
enable password yournewpassword
. Where yournewpassword is the new password you are creating.
config-register 0x01
copy run start
it will then say “ource filename [running-config]” press enter to continue.
reload
. It will ask: “System config has been modified. Save? [Y]es/[N]o:” type “yes”.
Once its done reloading you should be able to use the new password.
if you found this helpful feel free to donate to:ZEC: | t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM |
LTC: | LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d |
BTC: | 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz |
### ### COPY PASTE ### ### confreg no confreg 0x41 # boot # ### ### LET THE DEVICE BOOT ### ### # enable wr mem # conf t config-register 0x01 reload yes # # ### ### END ### ###if you found this helpful feel free to donate to:
ZEC: | t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM |
LTC: | LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d |
BTC: | 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz |