Cisco CLI Flashcards
What is the running-config ?
The current active configuration file on the device. As you enter commands into the CLI, you edit the active configuration
What is the start-up config ?
The configuration loaded upon the restart of the device
How to enter priviledged EXEC mode ?
type “enable” in CLI
Router#
How to enter global configuration mode ?
type “configure terminal” in CLI
Router(config)#
How to create a password on Cisco device ?
type “enable password ____” in CLI while in configuration mode
or
type “enable secret ____” in CLI while in configuration mode
(more secure and takes precedence over enable password)
How to display running and starting configuration ?
type “show ____-config” in EXEC mode.
show running-config
show startup-config
How to save configuration ?
Type into CLI
1 “write”
2 “write memory”
3 “copy running-config startup-config”
How to encrypt passwords ?
service password-encryption
(Encrypts current and future passwords. Uses Cisco proprietary type 7 encryption. Not secure can be cracked)
enable secret _____
(more secure. Uses MD5 encryption, harder to crack. Passwords are always encrypted)
How to remove a command ?
type “no” in front of command you want to remove (global config mode)
You use the […] keyword to execute privileged EXEC commands in global configuration mode.
do
How to change hostname of Cisco device ?
Use the ‘hostname’ command in global configuration mode
How to view mac address table ?
show mac address-table
How to clear mac address table ?
clear mac address-table dynamic
clear mac address-table dynamic interface (mac or port)
How to view interface info on router ?
show ip interface breif
How to configure interface on router ?
interface (interface)