0% found this document useful (0 votes)
98 views

Cisco Device Configuration Commands (NET-126) Cheat Sheet: by Via

This document provides a cheat sheet of Cisco device configuration commands organized into the following sections: general configurations, dynamic routing protocol configuration, DHCP configuration, NAT configuration, trunking and subinterfaces, routing table, new show commands, and refresher commands. It lists commands, their modes, and brief descriptions.

Uploaded by

heroh909
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views

Cisco Device Configuration Commands (NET-126) Cheat Sheet: by Via

This document provides a cheat sheet of Cisco device configuration commands organized into the following sections: general configurations, dynamic routing protocol configuration, DHCP configuration, NAT configuration, trunking and subinterfaces, routing table, new show commands, and refresher commands. It lists commands, their modes, and brief descriptions.

Uploaded by

heroh909
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Cisco Device Configuration Commands (NET-126) Cheat Sheet

by River L. (Tamaranth) via cheatography.com/42882/cs/14413/

General Config​ura​tions NAT Config​uration (cont)

Comm​and Mode Func​tion 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 Config​uration


ip nat out ip nat outside
Comm​and Mode Func​tion

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]
aut​o-s​umm​ary router enables automatic network #
summar​ization ----- Show Commands -----

default-information originate router advertises default route info sh ip nat s show ip nat statis​tics

network [ip-address] router enables dynamic routing for the sh ip nat t show ip nat transl​ati​ons
network
(Directly connected nets only!) Trunking & Subint​erfaces
network [ip-address] area 0 router assigns network to area 0
Comm​and
passive-interface g0/1 router disables routing updates on that
enc​aps​ulation dot1Q
interface

ver​sion [version] router sets protocol version


Routing Table

Comm​and
DHCP Config​uration
interface loopback 0
Comm​and 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]
net​work [network IP] [subnet mask] (dhcp-​config) ipv6 route ::/0 [exit-int]
def​aul​t-r​outer [gateway IP] (dhcp-config) ip route 0.0.0.0 0.0.0.0 [next-hop] [AD]
dns​-se​rver [dns IP] (dhcp-​config) ipv6 route ::/0 [next-hop] [AD]

dom​ain​-name ccna-l​ab.com (dhcp-​config)

lease 2 (dhcp-​config)

ip dhcp helper​-ad​dress [dhcp server IP] interface (on relay router)

NAT Config​uration

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 runnin​g-c​onfig


output

sh history contents of history buffer


(previ​ously entered
commands)

sh ip protoc​ols dynamic routing protocol


settings

Refresher Commands: General

Short Command Complete Command Mode

no ip dom lo no ip domain​-lo​okup 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

exe​c-t​imeout 10 exec-​timeout 10 line

Refresher Commands: Enabling SSH

Short Command Complete Command Mode

ip dom n CCNA-lab.com ip domain​-name CCNA-l​abs.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

You might also like