Skip to main content

The basics of Cisco administration

1. Cisco operating modes

User mode (User EXEC): basic access, limited to observation.

Privileged mode (Privileged EXEC): access to configuration and diagnostic commands.

To access: enable or en

Global configuration mode: modification of the system configuration.

To access: configure terminal or conf t

 

2. Basic configuration commands

hostname <name>Set hostname

line console 0

password <password>

login

Enables console authentication.
no ip domaine lookupDisables DNS lookup, avoids delays when a command error occurs.
enable password <password>Password for privileged access
enable secret <password>Password for privileged access, encrypted and therefore more secure.

 

3. Backing up and restoring the configuration

copy running-config startup-configSaves the configuration to NVRAM memory (upon reboot)
write memory or wrSaves the configuration to NVRAM memory (upon reboot)
show running-configCurrent configuration
show startup-configConfiguration upon reboot
show versionOS version and system information
show interfacesNetwork interface status

 

4. Backup/Restore with a TFTP server

The device will ask you for the server's IP address and the file name.

copy running-config tftp:Backup to a TFTP server
copy tftp: running-configRestoring from a TFTP server