Cisco Commands: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 12: Line 12:
Show running config (the one stored in ram and is currently in use)
Show running config (the one stored in ram and is currently in use)
  show running-config
  show running-config
Copy the in-use config to the startup config so that it will be used on the next boot
copy running-config startup-config
Apply weak encryption to all unencrypted passwords. This only changes what is displayed in the config file, any password typed through a network cable is still transmitted in plain text.
service password-encryption





Revision as of 23:55, 26 August 2025


These are commands for cisco IOS devices (switches, routers, etc)


Elevate to root user

enable

Enter global configuration mode

configure terminal

Show startup config (the one stored in nvram for next boot)

show startup-config

Show running config (the one stored in ram and is currently in use)

show running-config

Copy the in-use config to the startup config so that it will be used on the next boot

copy running-config startup-config

Apply weak encryption to all unencrypted passwords. This only changes what is displayed in the config file, any password typed through a network cable is still transmitted in plain text.

service password-encryption



Global configuration commands


Change the machine's hostname (does not require a reboot)

hostname