Cisco IOS Quick Reference Cheat Sheet 2.1
CISCO IOS QUICK REFERENCE CHEAT SHEET 2.1 ..............1 PRIVILEGE LEVEL ACCOUNT ........................................................2
SWITCH: BASICS .......................................................................2
ROUTER MODES ...................................................................... 1
SWITCH: PORT SECURITY ...........................................................2
QUICK START .......................................................................... 1
SWITCH: VLAN ........................................................................3
RESTRICT ACCESS TO ROUTER .................................................... 1
SWITCH: CONFIGURE PORT AS A TRUNK PORT ...............................3
PERFORM PASSWORD ENCRYPTION SERVICE................................. 1
SWITCH: VTP (VERSION 1) ........................................................3
SETUP SSH AND DISABLE TELNET ............................................... 1
INTER-VLAN ROUTING .............................................................3
DOING THE DO COMMAND ........................................................ 1
RIP ........................................................................................3
CONFIGURATIONS: VIEW, SAVE, ERASE ....................................... 1
BGP.......................................................................................3
SDM BASIC SETUP FOR HTTP, HTTPS ........................................... 1
EIGRP....................................................................................3
CONFIGURE AN INTERFACE ........................................................ 2
OSPF: ....................................................................................3
CONNECTIVITY ......................................................................... 2
ACCESS LIST: ............................................................................4
TELNET ................................................................................... 2
SEND LOGGING TO SYSLOG SERVER...............................................4
DEFAULT AND STATIC ROUTES.................................................... 2
SET CLOCK...............................................................................4
DHCP SERVER ........................................................................ 2
NAT / PAT ............................................................................ 2
Router Modes Perform Password Encryption Service
R> (User-mode prompt) R(config)# service password-encryption
R# (Privileged-mode prompt) Setup SSH and Disable Telnet
R(config)# ip domain-name [R1.MrCambron.com]
R(config)# (Global configuration mode) R(config)# crypto key generate rsa general-keys modulus
R(config-if)# (Interface mode) [1024]
R(config-subif)# (Sub interface mode) R(config)# ip ssh time-out [180]
R(config-line)# (Line mode) R(config)# ip ssh authentication-retries [2]
R(config-router)# (Router configuration mode) R(config)# line vty 0 4
Quick Start R(config-line)# transport input ssh
R> enable Doing the do Command
R# config terminal (No need to be in R#)
R(config)# hostname [Router1] R(config)# do show run
R(config)# exit R(config)# do show int fa0/0
R# R(config)# do ping [172.16.0.1]
R# ? (Help with commands) Configurations: View, Save, Erase
Restrict Access to Router R# show running-config
Privileged-mode R# show startup-config
R(config)# enable password [password] (Plain Text) R# copy run start (Copies run as startup-config)
R(config)# enable secret [password] (Hashed) R# write
User-mode R# erase start
(Select a line) R# reload (Reboots the router)
R(config)# line console 0 SDM Basic Setup for http, https
R(config)# line vty 0 4 R(config)# int fa0/0
R(config)# line aux 0 R(config-if)# ip address [10.10.10.1] [255.255.255.248]
R(config-if)# no shutdown
R(config)# password [password] R(config)# ip http server
R(config)# login R(config)# ip http secure-server
R(config)# exec-timeout [10] [0] (M, S) R(config)# ip http authentication local
Cisco IOS Quick Reference Cheat Sheet 2.1 1 of 4
CISCO IOS QUICK REFERENCE CHEAT SHEET 2.1 ..............1 PRIVILEGE LEVEL ACCOUNT ........................................................2
SWITCH: BASICS .......................................................................2
ROUTER MODES ...................................................................... 1
SWITCH: PORT SECURITY ...........................................................2
QUICK START .......................................................................... 1
SWITCH: VLAN ........................................................................3
RESTRICT ACCESS TO ROUTER .................................................... 1
SWITCH: CONFIGURE PORT AS A TRUNK PORT ...............................3
PERFORM PASSWORD ENCRYPTION SERVICE................................. 1
SWITCH: VTP (VERSION 1) ........................................................3
SETUP SSH AND DISABLE TELNET ............................................... 1
INTER-VLAN ROUTING .............................................................3
DOING THE DO COMMAND ........................................................ 1
RIP ........................................................................................3
CONFIGURATIONS: VIEW, SAVE, ERASE ....................................... 1
BGP.......................................................................................3
SDM BASIC SETUP FOR HTTP, HTTPS ........................................... 1
EIGRP....................................................................................3
CONFIGURE AN INTERFACE ........................................................ 2
OSPF: ....................................................................................3
CONNECTIVITY ......................................................................... 2
ACCESS LIST: ............................................................................4
TELNET ................................................................................... 2
SEND LOGGING TO SYSLOG SERVER...............................................4
DEFAULT AND STATIC ROUTES.................................................... 2
SET CLOCK...............................................................................4
DHCP SERVER ........................................................................ 2
NAT / PAT ............................................................................ 2
Router Modes Perform Password Encryption Service
R> (User-mode prompt) R(config)# service password-encryption
R# (Privileged-mode prompt) Setup SSH and Disable Telnet
R(config)# ip domain-name [R1.MrCambron.com]
R(config)# (Global configuration mode) R(config)# crypto key generate rsa general-keys modulus
R(config-if)# (Interface mode) [1024]
R(config-subif)# (Sub interface mode) R(config)# ip ssh time-out [180]
R(config-line)# (Line mode) R(config)# ip ssh authentication-retries [2]
R(config-router)# (Router configuration mode) R(config)# line vty 0 4
Quick Start R(config-line)# transport input ssh
R> enable Doing the do Command
R# config terminal (No need to be in R#)
R(config)# hostname [Router1] R(config)# do show run
R(config)# exit R(config)# do show int fa0/0
R# R(config)# do ping [172.16.0.1]
R# ? (Help with commands) Configurations: View, Save, Erase
Restrict Access to Router R# show running-config
Privileged-mode R# show startup-config
R(config)# enable password [password] (Plain Text) R# copy run start (Copies run as startup-config)
R(config)# enable secret [password] (Hashed) R# write
User-mode R# erase start
(Select a line) R# reload (Reboots the router)
R(config)# line console 0 SDM Basic Setup for http, https
R(config)# line vty 0 4 R(config)# int fa0/0
R(config)# line aux 0 R(config-if)# ip address [10.10.10.1] [255.255.255.248]
R(config-if)# no shutdown
R(config)# password [password] R(config)# ip http server
R(config)# login R(config)# ip http secure-server
R(config)# exec-timeout [10] [0] (M, S) R(config)# ip http authentication local
Cisco IOS Quick Reference Cheat Sheet 2.1 1 of 4