Cisco Networking Fundamentals Flashcards
Intermediary devices / network devices
Devices used to transport data across the network.
Home routers are 4 devices in one:
- router
- switch
- wireless access point
- firewall
Cisco IOS
The Cisco Internetwork Operating System. A generic term for the collection of network operation systems used on Cisco networking devices. Cisco IOS is used for most Cisco devices.
Stored in a semi-permanent memory area called flash.
The kernel
The portion of the OS code that interacts directly with the computer hardware.
The shell
The portion of the OS that interfaces with the applications and the user. The kernel is between the shell and the hardware.
Major functions performed or enabled by Cisco routers:
- network security
- IP addressing of virtual and physical interfaces
- enabling network-specific configurations to optimize connectivity of their respective media
- routing
- enabling QoS
- network management
3 most common methods for accessing the CLI environment:
- console (cable)
- Telnet or SSH
- AUX port
Cisco IOS modes hierarchical structure:
Same for router or switch
- User executive mode - Router>
View-only mode - Privileged executive mode - Router#
- Global configuration mode - Router(config)#
Affects the whole device - other specific configuration modes
Like for a specific interface/engine/line
User EXEC mode
Allows a limited number of monitoring commands. View-only mode. Does not allows any commands that might change the device. Will need to set up a password.
Privileged EXEC mode
Allows configuration and management commands. Will need to set up a password. Must be here to access global configuration and all other modes.
Global configuration mode
The primary configuration mode. Must be here to get to the specific configuration modes.
CLI command to go from privileged EXEC to global configuration:
Switch# configure terminal
Interface mode
A specific configuration mode
To configure one of the network interfaces. (Fa0/0, S0/0/0)
Line mode
A specific configuration mode
To configure one of the physical or virtual lines (console, AUX, VTY)
To leave configuration mode completely and return to privileged EXEC:
end
To go from user exec to privileged exec:
enable
disable goes back to user exec
Entering “exit” in privileged exec:
Ends the console session.
CLI hot key: Ctrl-A
Moves to the beginning of the line.
CLI hot key: Ctrl-E
Moves to the end of the line.
CLI hot key: Ctrl-R
Redisplays a line.
CLI hot key: Ctrl-Z
Exits the configuration mode and goes back to privileged exec.
CLI hot key: Ctrl-C
Exits the configuration mode or aborts the current command. Cancels the current command and returns to privileged exec mode.
show interface
Displays statistics for all interfaces on the device. Add the slot/port number to see the stats for that particular one.
show startup-config
Displays the saved configuration located in NVRAM.
show running-config
Displays the contents of the currently running configuration file.
show version
Displays information about the currently loaded IOS version, along with hardware and device information.
IOS hostname
The name of the switch or router. Case sensitive. Must be in global configuration mode.
- start with a letter
- no spaces
- end with a letter or digit
- only letters, digits, and dashes
- less than 64 characters
Type: hostname whateverhostname
no hostname would remove the name of the device
enable password
Limits access to the privileged exec mode
enable secret
Encrypted, limits access to the privileged exec mode
console password
Limits devices access using the console connection. Must go into line configuration mode to set this password.
VTY password
Limits device access over Telnet. Must be in line configuration mode for that line to configure its password.
line console 0
Enters line configuration mode. Must be in global configuration mode first. The zero is the first (and usually only) console interface.
login
Use after setting a password so that it will ask for that password at login of that mode.
service-password-encryption
Prevents passwords from showing up as plaintext text when viewing the configuration files. Applies only to passwords in the configuration file, not as they are sent over the media.
banner motd
Message of the day banner. Follow this command with a space, a delimiting character, the message, another space, and then the delimiting character again.
copy running-config startup-config
Saves the running configuration file updates to the startup configuration file.
reload
In privileged exec
Restarts the device
Commands that will return the device to the default factory state:
erase startup-config
delete vlan.dat
(Must be in privileged exec)
Then reload the device and it will load the default startup configuration.