CCNA1 - H2/H6: Cheat Sheet
CCNA1 - H2/H6: Cheat Sheet
2.1.1.1 OS / IOS
2.1.2.1 console (serial) / ssh / telnet
2.1.2.2 putty (teraterm / mobxterm / …)
config mode:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#
interface config:
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#
command <space> ?
Router>ping ?
WORD Ping destination address or hostname
ip IP echo
ipv6 IPv6 echo
halfcommand <TAB>
Router(config)#int <tab>
Router(config)#interface
Building configuration...
Current configuration : 728 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
ip cef
no ipv6 cef
!
license udi pid CISCO1941/K9 sn FTX15240C3E
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
line con 0
password cisco
login
!
line aux 0
!
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
2.2.2.3. encrypt passwords
R1(config)#service password-encryptionser
vice password-encryption
R1(config)#end
R1#show run
...
line con 0
password 7 0822455D0A16
login
!
line aux 0
!
line vty 0 4
password 7 0822455D0A16
login
line vty 5 15
password 7 0822455D0A16
login
...
R1#dir
Directory of flash0:/
R1#dir nvram
Directory of nvram:/
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console