Cheatography
https://cheatography.com
General ConfigurationsCommand | Mode | Function | terminal history size 200
| priv. EXEC | changes how many commands the history buffer stores (for this session only) |
Dynamic Routing Protocol ConfigurationCommand | Mode | Function | router [protocol]
| global | enables protocol & enters router config mode | auto-summary
| router | enables automatic network # summarization | default-information originate
| router | advertises default route info | network [ip-address]
| router | enables dynamic routing for the network (Directly connected nets only!) | network [ip-address] area 0
| router | assigns network to area 0 | passive-interface g0/1
| router | disables routing updates on that interface | version [version]
| router | sets protocol version |
DHCP ConfigurationCommand | Mode | ip dhcp excluded-address [first IP] [last ip]
| global | ip dhcp pool R1G1
| global | network [network IP] [subnet mask]
| (dhcp-config) | default-router [gateway IP]
| (dhcp-config) | dns-server [dns IP]
| (dhcp-config) | domain-name ccna-lab.com
| (dhcp-config) | lease 2
| (dhcp-config) | ip dhcp helper-address [dhcp server IP]
| interface (on relay router) |
NAT ConfigurationShort 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 | ip nat in
| ip nat inside
| identifies inside interface (int config) | ip nat out
| ip nat outside
| 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 ----- | sh ip nat s
| show ip nat statistics
| sh ip nat t
| show ip nat translations
|
Trunking & SubinterfacesCommand | Mode | encapsulation dot1Q
|
| | Routing TableCommand | Mode | Function | interface loopback 0
| 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 CommandsShort 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: GeneralShort 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 SSHShort 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-keys modulus 1024
| global | 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 |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Tamaranth