1/33
Basic Cisco IOS commands
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
?
Shows available commands
enable
Enter privileged EXEC mode.
show running-config
Displays current active configuration
show startup-config
Displays config saved in NVRAMs
show ip interface brief
Quick summary of interfaces, IPs, and status.
copy running-config startup-config
Save current config to NVRAM.
configure terminal
enter global config mode
hostname S1
Change device name to S1
enable secret cisco
Set encrypted privileged mode password to cisco.
service password-encryption
Encrypt all plain-text passwords.
line console 0
Configure console line.
Set console password to alson.
password alson
Enable login with password.
login
line vty 0 4
Configure Telnet/SSH (virtual lines).
exec-timeout 2
Auto-logout after idle time (ex. 2 mins)
interface g0/0
Enter interface mode (GigabitEthernet 0/0)
ip address 192.168.4.2 255.255.255.0
Assign IP from 192.168.4.2 to 255.255.255.0
no shutdown
Enable the interface
description hello
Add description to interface (hello)
router rip
Enable RIP routing protocol
network 192.168.1.1
Advertise a network 192.168.1.1
ping <ip>
Test connectivity
traceroute (example)
Trace the path packets take
show version
IOS version, hardware info, uptime
show running-config
Current config
show interfaces
Detailed interface info
banner motd # Your message here #
message of the day Your message here