Cisco Useful Commands

General

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 time.windows.com
Encrypt passwords                                                  service password-encryption

ADSL

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

SSH

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

Firewall

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

DHCP

Show DHCP info Sh ip dhcp bind

VPN

Check VPN status show cry isa sa
show cry ipsec sa

VPN

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

 


Leave a Reply

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