IT Infrastructure Manager

Useful Cisco Commands

Useful Cisco commands

1. attempting SSH to another device in Cisco devices

ssh -l (ID) (IP)

2. Changing previlige password (enable password)

conf t
enable secret (your password)

3. Changing SSH password

conf t
username (ID) secret (Password)

4. Checking device interface ports

show interface status

5. Checking interface status per ports

show ip interface brief

6. show routing tables in L3 Switches or Router devices

sh run | i route

or just simply

show ip route

7. Finding physical port number by MAC address

show mac address-table | i <Mac Address>

8. Finding your neighbor network devices

show cdp neighbor