IOS Fundamentals

IOS Fundamentals

 

Modes

Prompt Level
> User EXEC
# Privileged EXEC
(config)# Global Config
(config-if)# Interface Config
ROMMMON> ROM Monitor

Keyboard Shortcuts

Shortcut Action
? display help
[Enter] single line down
[Space] page down
[Tab] complete cmd
Ctrl+a move start of line
Ctrl+e move end of line
exit exit one level
Ctrl+z or end exit all levels

Show Commands

Show Commands
show clock
show history
show interfaces
show ip interface brief
show ip route
show line
show mac-address table
show protocols
show running-configuration

Configuration

Command
configure terminal
enable
service password-encryption
hostname <hostname>
enable password <password>
enable secret <secret password>
username <user> privilege 15 secret 0 <password>
clock timezone <xST -#>
clock summer-time <xDT> recurring
clock set <h:m:s mmm dd yyyy>
interface GigabitEthernet0/0
    ip address <ip> <netmask>
    no shut
ip route <dst> <mask> <next>
line console 0
    password <password>
    login
line vty 0 4
    password <password>
    login
    exec-timeout <min> <sec>
banner motd|exec|login “message”
logging enable