Useful Cisco Commands

To create a new user with admin access on a Cisco Switch:

username {accountname} privilege 15 secret {Passwordhere}


To view Mac Table:

 show mac address-table


To check flash contents (if a stack, flash1 for Switch1, flash2 for Switch 2 and so forth)

dir flash:


To Copy running config to TFPT server

copy tftp: flash:


To check CPU Usage Graphs and other details

show process cpu history

show process cpu sorted | ex 0.00


To check memory

show process memory sorted