Cisco Useful Commands


Find mac/ip address and the ports they connect to Sh mac-address-table
Backup cisco config via FTP copy running-config ftp://<username>:<password>@<ftp server>/<filename>
Set time server Ntp server
Encrypt passwords                                                  service password-encryption


Get ADSL info (lists firmware ver) show dsl int atm0
ADSL debugging debug pppoe events
debug pppoe errors
debug atm events
debug atm errors
debug ppp auth


Generate SSH certificate crypto key generate rsa
Allow SSH connections SSH <remote IP> <mask> <interface>


Setup port forward (e.g.) ip nat inside source static tcp 3389 interface Dialer0 3389


Show DHCP info Sh ip dhcp bind


Check VPN status show cry isa sa
show cry ipsec sa


Setup default gatewqay ip default-gateway A.B.C.D


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.