Cisco Device Configuration Commands (NET-126) Cheat Sheet
by River L. (Tamaranth) via cheatography.com/42882/cs/14413/
General Configurations NAT Configuration (cont)
Command Mode Function ip nat in s l 10 ip nat inside source list
terminal history size 200 priv. EXEC changes how many commands the pool name ov [acl#] pool name overload
history buffer stores (for this session
only)
ip nat in ip nat inside
Dynamic Routing Protocol Configuration
ip nat out ip nat outside
Command Mode Function
router [protocol] global enables protocol & enters router
ip nat in s st ip nat inside source stat
config mode
192.168.1.10 209.165.200.18 [private IP] [global IP]
auto-summary router enables automatic network #
summarization ----- Show Commands -----
default-information originate router advertises default route info sh ip nat s show ip nat statistics
network [ip-address] router enables dynamic routing for the sh ip nat t show ip nat translations
network
(Directly connected nets only!) Trunking & Subinterfaces
network [ip-address] area 0 router assigns network to area 0
Command
passive-interface g0/1 router disables routing updates on that
encapsulation dot1Q
interface
version [version] router sets protocol version
Routing Table
Command
DHCP Configuration
interface loopback 0
Command Mode
ip route [network] [subnet] [exit-int|next-hop]
ip dhcp excluded-address [first IP] [last ip] global
ipv6 route [network/prefix] [exit-int|next-hop]
ip dhcp pool R1G1 global
ip route 0.0.0.0 0.0.0.0 [exit-int]
network [network IP] [subnet mask] (dhcp-config) ipv6 route ::/0 [exit-int]
default-router [gateway IP] (dhcp-config) ip route 0.0.0.0 0.0.0.0 [next-hop] [AD]
dns-server [dns IP] (dhcp-config) ipv6 route ::/0 [next-hop] [AD]
domain-name ccna-lab.com (dhcp-config)
lease 2 (dhcp-config)
ip dhcp helper-address [dhcp server IP] interface (on relay router)
NAT Configuration
Short Command Full Command What It Does
ip nat pool name ip nat pool name defines the pool of public
[first IP] [last IP] [first IP] [last IP] addresses to use
net [subnet mask] netmask [subnet mask]
By River L. (Tamaranth) Published 4th February, 2018. Sponsored by CrosswordC
cheatography.com/tamaranth/ Last updated 8th April, 2018. Learn to solve cryptic crossw
Page 1 of 2. http://crosswordcheats.com
Cisco Device Configuration Commands (NET-126) Cheat Sheet
by River L. (Tamaranth) via cheatography.com/42882/cs/14413/
New Show Commands
Short Command What It Displays
sh run int g0/0 running config for
specified interface
sh run | [begin|include|exclude|section] line vty filtered running-config
output
sh history contents of history buffer
(previously entered
commands)
sh ip protocols dynamic routing protocol
settings
Refresher Commands: General
Short Command Complete Command Mode
no ip dom lo no ip domain-lookup global
login blo 120 a 3 w 60 login block-for 120 attempts 3 within 60 global
security pass min 8 security password min-length 8 global
exec-timeout 10 exec-timeout 10 line
Refresher Commands: Enabling SSH
Short Command Complete Command Mode
ip dom n CCNA-lab.com ip domain-name CCNA-labs.com global
cry key gen rsa gen mod 1024 crypto key generate rsa general- global
keys
modulus 1024
user Bob sec cisco username Bob secret cisco global
login lo login local line
trans in ssh transport input ssh line
ip ssh v 2 ip ssh version 2 global
By River L. (Tamaranth) Published 4th February, 2018. Sponsored by CrosswordCheats.com
cheatography.com/tamaranth/ Last updated 8th April, 2018. Learn to solve cryptic crosswords!
Page 2 of 2. http://crosswordcheats.com