\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Theleran} \pdfinfo{ /Title (cisco-ios-cli.pdf) /Creator (Cheatography) /Author (Theleran) /Subject (Cisco IOS CLI Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{2107A3} \definecolor{LightBackground}{HTML}{F1EFF9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Cisco IOS CLI Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Theleran} via \textcolor{DarkBackground}{\uline{cheatography.com/77264/cs/18961/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Theleran \\ \uline{cheatography.com/theleran} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 27th February, 2019.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{3.192 cm} x{2.736 cm} x{1.672 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{{\bf{General}}}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} & \textasciicircum{}Displays As\textasciicircum{} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \textgreater{} {\bf{en}} & {\emph{Enter Privleged Exec Mode}} & {\bf{\#}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \# {\bf{config t}} & {\emph{Enter Global Config Mode}} & {\bf{(config)\#}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} (config) \# {\bf{int \{type\} \{number\}}} & {\emph{Enter Interface Config Mode}} & {\bf{(config-if)\#}} \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} (config) \# {\bf{vlan \{number\}}} & {\emph{Enter VLAN Config Mode}} & {\bf{(config-vlan)\#}} \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} (config) \# {\bf{line con 0}} & Enter Console Line Config Mode & {\bf{(config-line)\#}} \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} (config) \# {\bf{line vty 0 15 }} & Enter VTY Line Config Mode & {\bf{(config-line)\#}} \tn % Row Count 18 (+ 3) % Row 7 \SetRowColor{white} (config) \# {\bf{no ip dom lo}} & {\emph{Stops Router Domain Lookup}} & \tn % Row Count 20 (+ 2) % Row 8 \SetRowColor{LightBackground} (config) \# {\bf{undebug all}} & {\emph{Stops all Debugs}} & \tn % Row Count 22 (+ 2) % Row 9 \SetRowColor{white} \# {\bf{clock set \{time\} \{date\}}} & {\emph{Sets manual Time/Date}} & \tn % Row Count 24 (+ 2) % Row 10 \SetRowColor{LightBackground} \# {\bf{show file systems}} & {\emph{Lists available file systems}} & \tn % Row Count 27 (+ 3) % Row 11 \SetRowColor{white} \# {\bf{exit}} & {\emph{Exits current mode/level}} & \tn % Row Count 29 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{{\bf{Housekeeping}}}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \# {\bf{ho \{name\}}} & {\emph{Set name of device}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} (config) \# {\bf{ena sec \{password\}}} & {\emph{Set encypted password for Priv Exec Mode}} \tn % Row Count 6 (+ 3) % Row 3 \SetRowColor{white} (config) \# {\bf{ser pass}} & {\emph{Encrypts All Passwords}} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} (config) \# {\bf{banner motd \#\{Banner\}\#}} & {\emph{Creates Message banner}} \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} (config) \# {\bf{security pass min \{number\}}} & {\emph{Sets min password length}} \tn % Row Count 13 (+ 3) % Row 6 \SetRowColor{LightBackground} (config) \# {\bf{login block-for \{time\} attempts \{attempts\} within \{time\}}} & {\emph{Login failure wait time set}} \tn % Row Count 17 (+ 4) % Row 7 \SetRowColor{white} (config-line) \# {\bf{pass \{password\}}} & {\emph{Sets password for Console Line}} \tn % Row Count 19 (+ 2) % Row 8 \SetRowColor{LightBackground} (config-line) \# {\bf{login}} & {\emph{Makes passwords active, use after every password config}} \tn % Row Count 22 (+ 3) % Row 9 \SetRowColor{white} (config-line) \# {\bf{exec-timeout \{time\}}} & {\emph{Sets login timeout}} \tn % Row Count 24 (+ 2) % Row 10 \SetRowColor{LightBackground} (config-if) \# {\bf{shut}} | {\bf{no shut}} & {\emph{Enables | Disables interface}} \tn % Row Count 26 (+ 2) % Row 11 \SetRowColor{white} (config-if) \#{\bf{des \{description\}}} & {\emph{Sets description of interface}} \tn % Row Count 28 (+ 2) % Row 12 \SetRowColor{LightBackground} \# {\bf{cop r s}} & {\emph{Copies Running Config to the NVRAM}} \tn % Row Count 30 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.24 cm} x{3.76 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{SSH Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \# {\bf{ip domain-name \{Abxyz.com\}}} & {\emph{Sets Domain Name}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} (config) \# {\bf{cry key gen rsa general-keys mod 1024}} & {\emph{Configs complexity of keys}} \tn % Row Count 6 (+ 3) % Row 3 \SetRowColor{white} (config) \# {\bf{username \{name\} secret \{password\}}} & {\emph{Sets a UN \& encrypted Pass}} \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} (config) \# {\bf{line vty 0 15}} & {\emph{Configs which VTY lines to use}} \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} (config-line) \# {\bf{login local}} & {\emph{Sets LOGIN}} \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} (config-line) \# {\bf{transport input ssh}} & {\emph{*Defines transport potocol to SSH}} \tn % Row Count 15 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{IP Routing Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \# {\bf{ip route}} {\emph{network-address}} {\emph{subnet-mask}} \{{\emph{ip-address}} | {\emph{exit-intf}} \} & Static Route Command \tn % Row Count 6 (+ 5) % Row 2 \SetRowColor{LightBackground} (config) \# {\bf{ip route}} 0.0.0.0 0.0.0.0 \{{\emph{ip-address}} | {\emph{exit-intf}} \} & Default Static Route Command \tn % Row Count 10 (+ 4) % Row 3 \SetRowColor{white} (config) \# {\bf{ip route}} {\emph{network-address}} {\emph{subnet-mask}} \{{\emph{admin-distance}} \} & Floating Static Route Command (Admin distance default value is 1) \tn % Row Count 14 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{VLAN Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \# {\bf{vlan \{vlan-id\}}} & {\emph{Create a VLAN}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} (config-vlan) \# {\bf{name \{vlan-name\}}} & {\emph{Specify a unique name to identify the VLAN}} \tn % Row Count 6 (+ 3) % Row 3 \SetRowColor{white} (config-vlan) \# {\bf{end}} & {\emph{Return to the privileged EXEC mode}} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} (config) \# {\bf{interface \{interface\_id\}}} & {\emph{Enter interface configuration mode}} \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} (config-if) \# {\bf{switchport mode access}} & Set the port to access mode. \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} (config-if) \# {\bf{switchport access vlan}} {\emph{vlan\_id }} & Assign the port to a VLAN. \tn % Row Count 15 (+ 3) % Row 7 \SetRowColor{white} (config-if) \# {\bf{end}} & Return to the privileged EXEC mode. \tn % Row Count 17 (+ 2) % Row 8 \SetRowColor{LightBackground} (config) \#{\bf{show vlan brief}} & Display the contents of the vlan.dat file \tn % Row Count 20 (+ 3) % Row 9 \SetRowColor{white} (config-if) \# {\bf{mls qos trust}} {\emph{{[}{\bf{cos}} | device cisco-phone | dscp | ip-precedence{]}}} & Set the trusted state of an interface \tn % Row Count 25 (+ 5) % Row 10 \SetRowColor{LightBackground} (config-if) \# {\bf{switchport voice vlan}} {\emph{vlan-\#}} & Assign a voice VLAN to a port \tn % Row Count 28 (+ 3) % Row 11 \SetRowColor{white} (config-if) \# {\bf{switchport mode trunk}} & Configure a switch port on one end of a trunk link \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{VLAN Config (cont)}} \tn % Row 12 \SetRowColor{LightBackground} (config-if) \# {\bf{switchport trunk native}} {\emph{vlan \#}} & Configure native VLAN \tn % Row Count 3 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{For a Catalyst switch, the {\bf{erase startup-config}} command must accompany the \{(config) \#{\bf{delete vlan.dat}}\} command prior to reload to restore the switch to its factory default condition.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{PAT Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config)\# ip nat pool NAT-POOL-OVERLOAD 209.165.200.241 209.165.200.250 netmask 255.255.255.224 & Define a pool of public IPv4 addresses 209.165.200.241 to 209.165.200.250 with pool name NAT-POOL-OVERLOAD. \tn % Row Count 7 (+ 6) % Row 2 \SetRowColor{LightBackground} (config)\# access-list 3 permit 10.0.0.0 0.255.255.255 & Configure ACL 3 to permit devices from 10.0.0.0/8 network to be translated by NAT. \tn % Row Count 12 (+ 5) % Row 3 \SetRowColor{white} (config)\# ip nat inside source list 3 pool NAT-POOL-OVERLOAD overload & Bind NAT-POOL-OVERLOAD with ACL 3. \tn % Row Count 16 (+ 4) % Row 4 \SetRowColor{LightBackground} (config)\# interface Serial0/0/0 R2(config-if)\# ip nat inside & Configure the proper inside NAT interface. \tn % Row Count 20 (+ 4) % Row 5 \SetRowColor{white} R2(config)\# interface Serial0/1/0 R2(config-if)\# ip nat outside & Configure the proper outside NAT interface. \tn % Row Count 24 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{CDP Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \# show cdp & Display the status of CDP on R1. \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} R1\# configure terminal R1(config)\# cdp run R1(config)\# interface s0/0/0 R1(config-if)\# no cdp enable R1(config-if)\# end & Enter Global ConfigurEnable CDP globally on R1. Disable CDP on interface S0/0/0. Use end command to exit Global Configuration mode. \tn % Row Count 10 (+ 7) % Row 3 \SetRowColor{white} \# show cdp neighbors & Display the list of CDP neighbors on R1. \tn % Row Count 12 (+ 2) % Row 4 \SetRowColor{LightBackground} \# show cdp neighbors detail & Display more details from the list of CDP neighbors on R1. \tn % Row Count 15 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Clock \& NTP Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \# show clock detail & Display the clock \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} (config)\# clock timezone PST -8 R1(config)\# Clock summer-time PDT recurring & Set the clock time zone to PST (Pacific Standard Time), which is 8 hours later than GMT (-8). Set PDT (Pacific Daylight Time) to summer time recurring. \tn % Row Count 10 (+ 8) % Row 3 \SetRowColor{white} (config)\# ntp server 209.165.200.225 & Configure R1 to use an external public NTP server with an IP address of 209.165.200.225. \tn % Row Count 15 (+ 5) % Row 4 \SetRowColor{LightBackground} \# show ntp associations & Verify that R1 is associated with the NTP server at IP address 209.165.200.225. \tn % Row Count 19 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{LLDP Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \# show lldp & Display the status of LLDP \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} (config)\# lldp run R1(config)\# interface s0/0/0 R1(config-if)\# no lldp transmit & Enable LLDP globally on R1. Disable LLDP on interface S0/0/0. \tn % Row Count 7 (+ 4) % Row 3 \SetRowColor{white} \# show lldp neighbors & Display the list of LLDP neighbors \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} \# show lldp neighbors detail & Display more details from the list of LLDP neighbors \tn % Row Count 12 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Shortcuts}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Keys\textasciicircum{} & \textasciicircum{}Action\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Tab}} & {\emph{Completes current abbrv command}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Up Arrow}} & {\emph{Cycles thru previously used commands}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{?}} & {\emph{Access HELP}} \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{Ctrl+Shift+6}} & {\emph{Interupt}} \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} {\bf{Ctrl+C}} & {\emph{Exits Config}} \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{Ctrl+Z}} & {\emph{Applies command, returns to Priv Exec}} \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.52 cm} x{4.48 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Display / Show Commands}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \# {\bf{sho run}} & Displays Running Configs. \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \# {\bf{sho access-l}} & Displays all ACL's. \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \# {\bf{sho access-l \{name/number\}}} & Displays only denoted ACL. \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} \# {\bf{sho ipv6 int}} & Displays interfaces on IPv6 \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} \# {\bf{sho ip route}} & Displays all routes attached to router \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} \# {\bf{sho ip route static}} & Displays all static routes attached to router \tn % Row Count 14 (+ 3) % Row 7 \SetRowColor{white} \#{\bf{Sho ip route}} {\emph{network}} & Displays routes only associated with that network \tn % Row Count 17 (+ 3) % Row 8 \SetRowColor{LightBackground} show ip nat translations & nat \tn % Row Count 19 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.8 cm} x{3.2 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{{\bf{Access Control Lists}}}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \# {\bf{access-list \_ \{ deny | permit | remark \} \{source+wildcard\} }} & Create ACL. \tn % Row Count 5 (+ 4) % Row 2 \SetRowColor{LightBackground} (config) \# {\bf{ip access-list standard \{name\}}} & Create Named ACL. \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} (config-if) \# {\bf{ip access-group \{ access-list-number | access-list-name \} \{ in | out \}}} & Attach ACL to an Interface. \tn % Row Count 11 (+ 4) % Row 4 \SetRowColor{LightBackground} (config-line) \# {\bf{access-class \{number\} \{ in | out \}}} & ACL for VTY. \tn % Row Count 14 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\emph{Wildcard Determined by 255.255.255.255-Subnet mask (ex \seqsplit{255.255.255.255-255.255.255.128=} Wildcard of 0.0.0.127)}} \newline {\emph{Shortcuts; {\bf{host}} = Wilcard of 255.255.255.255 {\bf{any}} = Address \& WIldcard of 0.0.0.0 0.0.0.0}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.16 cm} x{3.84 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{DHCPv4 Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \#{\bf{ip dhcp excluded-address \{low ip range\} \{high ip range\} | \{single ip\}}} & {\emph{Excludes ip ranges, or single IP's.}} \tn % Row Count 6 (+ 5) % Row 2 \SetRowColor{LightBackground} (config) \# {\bf{ip dhcp pool \{name\}}} & {\emph{Creates named DHCP pool}} \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} (dhcp-config) \#{\bf{net \{ipv4net\} \{subnet\}}} & {\emph{Define Range of Addresses}} \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} (dhcp-config) \#{\bf{default-r \{gateway\}}} & {\emph{Sets Default Gateway}} \tn % Row Count 13 (+ 2) % Row 5 \SetRowColor{white} (dhcp-config) \#{\bf{dns-s \{DNS\}}} & {\emph{Sets DNS}} \tn % Row Count 15 (+ 2) % Row 6 \SetRowColor{LightBackground} (dhcp-config) \#{\bf{domain-n \{Axyz.com\}}} & {\emph{Sets Domain}} \tn % Row Count 17 (+ 2) % Row 7 \SetRowColor{white} (config) \#{\bf{ip helper-address \{ipv4net\}}} & {\emph{Sets DHCP Relay}} \tn % Row Count 20 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.48 cm} x{3.52 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{DHCPv6 Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config-if) \# {\bf{ipv6 unicast-routing}} & {\emph{Enable IPv6}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} (config-if) \# {\bf{ipv6 dhcp pool \{name\}}} & {\emph{Name Pool}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} (config-if) \# {\bf{address prefix \{prefix length\} lifetime \{infinite | time\}}} & {\emph{Statefull Only}} \tn % Row Count 9 (+ 4) % Row 4 \SetRowColor{LightBackground} (config-if) \# {\bf{dns-s \{IPv6DNS\}}} & {\emph{Set IPv6 DNS}} \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} (config-if) \# {\bf{domain-n \{Axyz.com\}}} & {\emph{Set Domain}} \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} (config-if) \# {\bf{ipv6 dhcp server \{name\}}} & {\emph{Set Server Name}} \tn % Row Count 15 (+ 2) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{ {\emph{See Note Below for Final CMD}} }}} \tn % Row Count 16 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 16 (+ 0) % Row 9 \SetRowColor{white} (config-if) \# {\bf{ipv6 dhcp relay destination \{ipv6net\}}} & {\emph{Sets Router as a DHCPv6 Relay}} \tn % Row Count 19 (+ 3) % Row 10 \SetRowColor{LightBackground} \# {\bf{debug ipv6 dhcp detail}} & {\emph{Displays debug details}} \tn % Row Count 21 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\emph{SLAAC}} (config-if) \# {\bf{no ipv6 nd managed-config-flag}} (config-if) \# {\bf{no ipv6 nd other-config-flag}} Note: No other config required for SLAAC. \newline {\emph{Stateless DHCPv6}} (config-inf) \# {\bf{ipv6 nd other-config-flag}} \newline {\emph{Statefull DHCPv6}} (config-inf) \# {\bf{ipv6 nd managed-config-flag}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{RIP Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{(config) \# {\bf{router rip}}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{(config-router) \#{\bf{version 2}}} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} (config-router) \# {\bf{no auto-summary}} & modify the default RIPv2 behavior of automatic summarization \tn % Row Count 6 (+ 3) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{(config) \#{\bf{show ip protocols}}} \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{(config) \#{\bf{network}} {\emph{ip-address}}} \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} (config) \#{\bf{passive-interface}} & prevent the transmission of routing updates through a router interface, but still allow that network to be advertised to other routers. \tn % Row Count 15 (+ 7) % Row 7 \SetRowColor{white} (config-router) \#{\bf{ip route 0.0.0.0 0.0.0.0 }} & propagate a default route in RIP \tn % Row Count 18 (+ 3) % Row 8 \SetRowColor{LightBackground} (config-router) \#{\bf{default-information originate}} & This instructs R1 to originate default information, by propagating the static default route in RIP updates. \tn % Row Count 24 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{NAT Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config)\# ip nat inside source static 192.168.11.99 209.165.201.5 & {\emph{Configure the static translation with an inside local address of 192.168.11.99 and an inside global address of 209.165.201.5.}} \tn % Row Count 8 (+ 7) % Row 2 \SetRowColor{LightBackground} (config)\# interface Serial0/0/0 , (config-if)\# ip nat inside & {\emph{Configure the proper inside NAT interface.}} \tn % Row Count 11 (+ 3) % Row 3 \SetRowColor{white} R2(config)\# interface Serial0/1/0 , (config-if)\# ip nat outside & {\emph{Configure the proper outside NAT interface.}} \tn % Row Count 15 (+ 4) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 15 (+ 0) % Row 5 \SetRowColor{white} (config)\# ip nat pool PUBLIC-POOL 209.165.200.241 209.165.200.250 netmask 255.255.255.224 & Define a pool of public IPv4 addresses 209.165.200.241 to 209.165.200.250 with pool name PUBLIC-POOL. \tn % Row Count 21 (+ 6) % Row 6 \SetRowColor{LightBackground} R2(config)\# access-list 2 permit 192.168.10.0 0.0.0.255 & Configure ACL 2 to permit devices from 192.168.10.0/24 network to be translated by NAT. \tn % Row Count 26 (+ 5) % Row 7 \SetRowColor{white} R2(config)\# ip nat inside source list 2 pool PUBLIC-POOL & Bind PUBLIC-POOL with ACL 2. \tn % Row Count 29 (+ 3) % Row 8 \SetRowColor{LightBackground} R2(config)\# interface Serial0/0/0 R2(config-if)\# ip nat inside & Configure the proper inside NAT interface. \tn % Row Count 33 (+ 4) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{NAT Config (cont)}} \tn % Row 9 \SetRowColor{LightBackground} R2(config)\# interface Serial0/1/0 R2(config-if)\# ip nat outside & Configure the proper outside NAT interface. \tn % Row Count 4 (+ 4) % Row 10 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{ip nat translation timeout} \tn % Row Count 5 (+ 1) % Row 11 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{clear ip nat translation *} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\textasciicircum{}Top is Static Config\textasciicircum{} \newline \textasciicircum{}Bottom is Dynamic Config\textasciicircum{}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{SysLog Config}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{}Command\textasciicircum{} & \textasciicircum{}Description\textasciicircum{} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} (config) \# {\bf{ logging \{address\}}} & {\emph{Configure the destination hostname or IPv4 address of the syslog.}} \tn % Row Count 5 (+ 4) % Row 2 \SetRowColor{LightBackground} (config) \# {\bf{logging trap \{level\}}} & {\emph{Control the level of messages that will be sent}} \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} (config)\# logging source-interface \{interface\} & {\emph{Logging Source}} \tn % Row Count 11 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}