Cheatography
https://cheatography.com
General Configurations
Command |
Mode |
Function |
terminal history size
200 |
priv. EXEC |
changes how many commands the history buffer stores (for this session only) |
Dynamic Routing Protocol Configuration
Command |
Mode |
Function |
|
global |
enables protocol & enters router config mode |
|
router |
enables automatic network # summarization |
default-information originate
|
router |
advertises default route info |
|
router |
enables dynamic routing for the network (Directly connected nets only!) |
network [ip-address] area 0
|
router |
assigns network to area 0 |
|
router |
disables routing updates on that interface |
|
router |
sets protocol version |
DHCP Configuration
Command |
Mode |
ip dhcp excluded-address [first IP] [last ip]
|
global |
|
global |
network [network IP] [subnet mask]
|
(dhcp-config) |
default-router [gateway IP]
|
(dhcp-config) |
|
(dhcp-config) |
domain-name ccna-lab.com
|
(dhcp-config) |
|
(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 [first IP] [last IP] net [subnet mask]
|
ip nat pool name [first IP] [last IP] netmask [subnet mask]
|
defines the pool of public addresses to use |
ip nat in s l 10 pool name ov
|
ip nat inside source list [acl#] pool name overload
|
enables PAT & specifies which ACL is being translated to which NAT pool |
|
|
identifies inside interface (int config) |
|
|
identifies outside interface (int config) |
ip nat in s st 192.168.1.10 209.165.200.18
|
ip nat inside source static [private IP] [global IP]
|
configures static NAT mapping |
----- Show Commands ----- |
|
|
|
show ip nat translations
|
Trunking & Subinterfaces
|
|
Routing Table
Command |
Mode |
Function |
|
global |
loopback address configuration |
ip route
[network] [subnet] [exit-int|next-hop] ipv6 route [network/prefix] [exit-int|next-hop] |
global |
configs a static route |
ip route 0.0.0.0 0.0.0.0
[exit-int] ipv6 route ::/0 [exit-int] |
global |
sets default static route |
ip route 0.0.0.0 0.0.0.0
[next-hop] [AD] ipv6 route ::/0 [next-hop] [AD] |
global |
configs a floating static route |
New Show Commands
Short Command |
What It Displays |
|
running config for specified interface |
sh run |
[ begin| include| exclude| section] line vty |
filtered running-config output |
|
contents of history buffer (previously entered commands) |
|
dynamic routing protocol settings |
Refresher Commands: General
Short Command |
Complete Command |
Mode |
|
|
global |
|
login block-for 120 attempts 3 within 60
|
global |
|
security password min-length 8
|
global |
|
|
line |
Refresher Commands: Enabling SSH
Short Command |
Complete Command |
Mode |
|
ip domain-name CCNA-labs.com
|
global |
cry key gen rsa gen mod 1024
|
crypto key generate rsa general-keys modulus 1024
|
global |
|
username Bob secret cisco
|
global |
|
|
line |
|
|
line |
|
|
global |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Tamaranth