Chapter 4 - CLI Flashcards
Command-Line Interface (CLI)
Command-line interface. An interface that enables the user to interact with the operating system by entering commands and optional arguments.
Telnet
The standard terminal-emulation application layer protocol in the TCP/ IP protocol stack. Telnet is used for remote terminal connection, enabling users to log in to remote systems and use resources as if they were connected to a local system. Telnet is defined in RFC 854.
Secure Shell (SSH)
TCP/ IP application layer protocol that supports terminal emulation between a client and server, using dynamic key exchange and encryption to keep the communications private.
Enable Mode
Part of the Cisco IOS CLI in which the user can use the most powerful and potentially disruptive commands on a router or switch, including the ability to then reach configuration mode and reconfigure the router.
User Mode
Mode of the user interface to a router or switch in which the user can type only nondisruptive EXEC commands.
Configuration Mode
Part of the Cisco IOS Software CLI in which the user can type configuration commands that are then added to the device’s currently used configuration file (running-config).
Start-Config File
Cisco IOS switches and routers, the name of the file that resides in NVRAM memory, holding the device’s configuration that will be loaded into RAM as the running-config file when the device is next reloaded or powered on.
Running-Config File
Cisco IOS switches and routers, the name of the file that resides in RAM, holding the device’s currently used configuration.
Configuration Commands
line console 0
Global command that changes the context to console configuration mode
Configuration Commands
login
Line (console and vty) configuration mode. Tells IOS to prompt for a password (no username)
Configuration Commands
password pass-value
Line (console and vty) configuration mode. Sets the password required on that line for login if the login command (with no other parameters) is also configured.
Configuration Commands
interface type port-number
Global command that changes the context to interface mode – for example, interface FastEthernet 0/1
Configuration Commands
hostname name
Global command that sets this switch’s hostname, which is the also used as the first part of the switch’s command prompt
Configuration Commands
exit
Moves back to the next higher mode in configuration mode.
Configuration Commands
end
Exits configuration mode and goes back to enable mode from any of the configuration sub modes.