CLI Commands Flashcards
Computer port to switch port specs (console)
8N1
9600 bps
No hardware flow control
8-bit ASCII
No parity bits
1 stop bit
Enter privileged mode
enable
Enter privileged mode
rebooting a switch
reload
to see current operating parameters
show running-config
turning on enable mode password
enable secret _____
getting into console specific configuration
line console 0
Asking for password in console mode
line console 0
login
password ________
for help with all commands in current mode
?
to get help with a specific command
command ?
(show ?)
(copy ? )
etc
Finding the lists of MAC addresses learned
show mac address-table dynamic
how to tell switch what to do and how to do it
configure terminal
from config back to enable
end
interface subcommand
interface
specific interface command
hostname (config-if)
interface fastEthernet 0/1 (for example)
configure a switch hostname
configure terminal
hostname Fred (example)
setting a console password
line console 0
password Hope (example)
setting speed of an interface
configure terminal
interface fastEthernet 0/1
speed 100
entering line mode
hostname (config-line)
configure terminal
line console 0
configure terminal
line vty 0 15
enter VLAN configuration
hostname (config-vlan)
vlan #
how to store work beyond reboot
copy running-config startup-config
start fresh in lab
write erase
erase NVRAM
erase startup-config
then reload or power off.
see current status of what’s going on with device
show running-config
leave the CLI
quit