Configuring Switches Flashcards
enable
Changes to privileged user mode/ enable mode
enable secret [password]
Sets password for enable mode
config t
configure terminal
Changes to config mode, must first be in enable mode
hostname [example]
Changes hostname of device
line console 0
Global command that changes the context to console configuration mode
line vty [1st-vty last-vty]
Global command that changes the context to vty (telnet) configuration mode for the range of vty lines listed in the command.
login
Used in line (console and vty) configuration mode. Tells IOS to prompt for a password (no username)
password [password]
Used in line (console and vty) configuration mode. Sets the password required if the login command (with no other parameters) is configured.
interface [type port-number]
Global command that changes the context to interface configure mode (eg. FastEthernet 0/1)
exit
Moves back to the next higher mode in a configuration mode
end
Exits configuration mode and goes back to enable mode from any of the configuration submodes
no debug all
undebug all
Enable mode EXEC command to disable all currently enabled debugs.
terminal monitor
EXEC command that tells Cisco IOS to send a copy of all syslog messages, including debug messages, to Telnet or SSH user who issues this command.
reload
Enable mode EXEC command that reboots the switch or router.
Copy [from-location to-location]
Enable mode EXEC command that copies files from the one file location to another. Locations include the startup config and running config in RAM, files TFTP and RCP servers, and flash memory.
copy running-config startup-config
Enable mode EXEC command that saves the active config, replacing the startup config file used when the switch initializes.
copy startup-config running-config
Enable mode EXEC command that merges the startup config file with the currently active config file in RAM
show running-config
Lists the contents of the running config file
write erase
erase startup-config
Enable mode EXEC commands that erase the startup config file
quit
EXEC command that disconnects the user from the CLI session
show startup-config
Lists the contents of the startup config (initial config) file