\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{Cheetos} \pdfinfo{ /Title (cisco-ios-r-s-commands.pdf) /Creator (Cheatography) /Author (Cheetos) /Subject (Cisco IOS R\&S Commands 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}{3F009E} \definecolor{LightBackground}{HTML}{F3EFF8} \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 R\&S Commands Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Cheetos} via \textcolor{DarkBackground}{\uline{cheatography.com/55619/cs/14782/}}} \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}Cheetos \\ \uline{cheatography.com/cheetos} \\ \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 28th February, 2018.\\ 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{tabularx}{17.67cm}{x{4.5549 cm} x{6.2419 cm} x{6.0732 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{Core Modes}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{User}} & `N/A` & Default landing space \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Privileged}} {\emph{(from User)}} & `\{ enable \}` & Turn on privileged commands. \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} {\bf{Global}} {\emph{(from Privileged)}} & `\{ configure terminal \}` & Configure from the terminal. \tn % Row Count 10 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{Interface}} {\emph{(from Global)}} & `\{ interface \textless{}interface\textgreater{} \textless{}\#/\#\textgreater{} \}` & Select an interface to configure. \tn % Row Count 13 (+ 3) % Row 5 \SetRowColor{white} & `\{ interface range \textless{}interface\textgreater{} \textless{}\#/\#-\#\textgreater{} \}` & Select a range of interfaces to configure. \tn % Row Count 16 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{Line}} {\emph{(from Global)}} & `\{ line console \textless{}\#\textgreater{} \}` & Configure primary terminal line. \tn % Row Count 19 (+ 3) % Row 7 \SetRowColor{white} & `\{ line vty \textless{}\#\textgreater{} \textless{}\#\textgreater{} \}` & Configure virtual terminal line. \tn % Row Count 22 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{3.374 cm} x{6.0732 cm} x{7.4228 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{Base Configuration}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Global}} & * `\{ no ip domain-lookup \}` & Configure no IP DNS hostname translation. \tn % Row Count 4 (+ 3) % Row 2 \SetRowColor{LightBackground} & `\{ hostname \textless{}name\textgreater{} \}` & Configure system's network name. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} & `\{ banner motd \& \textless{}message\textgreater{} \& \}` & Configure a login MOTD banner. \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} & `\{ enable secret \textless{}password\textgreater{} \}` & Configure privileged level encrypted password. \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} & `\{ service \seqsplit{password-encryption} \}` & Encrypt system passwords. \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{Interface}} & `\{ ip address \textless{}ip\textgreater{} \textless{}subnet\textgreater{} \}` & Configure IP address of an interface. \tn % Row Count 18 (+ 3) % Row 7 \SetRowColor{white} & `\{ no shutdown \}` & Configure interface port status up. \tn % Row Count 21 (+ 3) % Row 8 \SetRowColor{LightBackground} {\bf{Line - Console}} & * `\{ logging synchronous \}` & Configure synchronised message output. \tn % Row Count 24 (+ 3) % Row 9 \SetRowColor{white} & `\{ password \textless{}password\textgreater{} \}` & Configure password. \tn % Row Count 26 (+ 2) % Row 10 \SetRowColor{LightBackground} & `\{ login \}` & Enable password checking. \tn % Row Count 28 (+ 2) % Row 11 \SetRowColor{white} {\bf{Line - VTY}} & `\{ password \textless{}password\textgreater{} \}` & Configure password. \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{3.374 cm} x{6.0732 cm} x{7.4228 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{Base Configuration (cont)}} \tn % Row 12 \SetRowColor{LightBackground} & `\{ login \}` & Enable password checking. \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{* Optional or alternative command(s).} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{4.2175 cm} x{6.2419 cm} x{6.4106 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{Show Commands}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Device \& Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Universal - Privileged}} & `\{ show access-lists \}` & Display access lists \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} & `\{ show arp \}` & Display ARP table. \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} & `\{ show cdp \}` & Display CDP info. \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} & `\{ show clock \}` & Display system clock. \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} & `\{ show dhcp \}` & Display DHCP status. \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} & `\{ show flash \}` & Display flash file system info. \tn % Row Count 16 (+ 3) % Row 7 \SetRowColor{white} & `\{ show history \}` & Display session command history. \tn % Row Count 19 (+ 3) % Row 8 \SetRowColor{LightBackground} & `\{ show interfaces \}` & Display interface status and config. \tn % Row Count 22 (+ 3) % Row 9 \SetRowColor{white} & `\{ show ip interface brief \}` & Display brief summary of IP status and config. \tn % Row Count 26 (+ 4) % Row 10 \SetRowColor{LightBackground} & `\{ show ip dhcp \textless{}...\textgreater{} \}` & Display items in the DHCP database. \tn % Row Count 29 (+ 3) % Row 11 \SetRowColor{white} & `\{ show logging \}` & Display the contents of logging buffers. \tn % Row Count 32 (+ 3) \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{4.2175 cm} x{6.2419 cm} x{6.4106 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{Show Commands (cont)}} \tn % Row 12 \SetRowColor{LightBackground} & `\{ show port-security interface \textless{}interface\textgreater{} \textless{}\#/\#\textgreater{} \}` & Display port security config. \tn % Row Count 4 (+ 4) % Row 13 \SetRowColor{white} & `\{ show \seqsplit{running-config} \}` & Display running config. \tn % Row Count 6 (+ 2) % Row 14 \SetRowColor{LightBackground} & `\{ show sessions \}` & Display info about Telnet connections. \tn % Row Count 9 (+ 3) % Row 15 \SetRowColor{white} & `\{ show \seqsplit{startup-config} \}` & Display start-up config. \tn % Row Count 11 (+ 2) % Row 16 \SetRowColor{LightBackground} & `\{ show ssh \}` & Display status of SSH server connections. \tn % Row Count 14 (+ 3) % Row 17 \SetRowColor{white} & `\{ show users \}` & Display info about virtual terminal lines. \tn % Row Count 17 (+ 3) % Row 18 \SetRowColor{LightBackground} & `\{ show version \}` & Display system hardware and software status. \tn % Row Count 20 (+ 3) % Row 19 \SetRowColor{white} {\bf{Router - Privileged}} & `\{ show ip route \}` & Display IP routing table. \tn % Row Count 23 (+ 3) % Row 20 \SetRowColor{LightBackground} & `\{ show ip nat \}` & Display IP NAT info. \tn % Row Count 25 (+ 2) % Row 21 \SetRowColor{white} & `\{ show ip \textless{}bgp/eigrp/ospf/rip\textgreater{} \}` & Display info on selected protocol. \tn % Row Count 28 (+ 3) % Row 22 \SetRowColor{LightBackground} & `\{ show protocols \}` & Display active network routing protocols. \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{4.2175 cm} x{6.2419 cm} x{6.4106 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{Show Commands (cont)}} \tn % Row 23 \SetRowColor{LightBackground} {\bf{Switch - Privileged}} & `\{ show dtp \}` & Display DTP info. \tn % Row Count 3 (+ 3) % Row 24 \SetRowColor{white} & `\{ show etherchannel \}` & Display etherchannel info. \tn % Row Count 5 (+ 2) % Row 25 \SetRowColor{LightBackground} & `\{ show mac \}` & Display MAC config. \tn % Row Count 7 (+ 2) % Row 26 \SetRowColor{white} & `\{ show \seqsplit{mac-address-table} \}` & Display MAC forwarding table. \tn % Row Count 9 (+ 2) % Row 27 \SetRowColor{LightBackground} & `\{ show vlan \}` & Display VTP VLAN status. \tn % Row Count 11 (+ 2) % Row 28 \SetRowColor{white} & `\{ show vtp \}` & Display VTP info. \tn % Row Count 13 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{To enable typing of privileged level commands in any mode, use `\{ do \textless{}e.g. show command\textgreater{} \}`.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{5.2297 cm} x{5.3984 cm} x{6.2419 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Clear Device Configurations}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Device \& Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Universal - Privileged}} & `\{ erase \seqsplit{startup-config} \}` & Erase contents of config memory. \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} & `\{ write erase \}` & Erase NV memory. \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} {\bf{Switch - Privileged}} & `\{ delete flash:vlan dat \}` & Delete the VLAN database. \tn % Row Count 10 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.5305 cm} x{7.0854 cm} x{7.2541 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure ACLs}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & * `\{ access-list \textless{}\#\textgreater{} \textless{}permit/deny\textgreater{} \textless{}ip\textgreater{} \textless{}wc mask\textgreater{} \}` & Add an ACL entry. \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} & `\{ ip access-list \textless{}type\textgreater{} \textless{}acl\_name\textgreater{} \}` & Configure named ACL. \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} & `\{ \textless{}permit/deny\textgreater{} \textless{}ip\textgreater{} \textless{}wc mask\textgreater{} \}` & Specify packets to forward/reject. \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} & `\{ exit \}` & Return to Global mode. \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{3}{x{17.67cm}}{} \tn % Row Count 14 (+ 0) % Row 6 \SetRowColor{LightBackground} & * `\{ interface \textless{}interface\textgreater{} \textless{}\#/\#\textgreater{} \}` & \tn % Row Count 17 (+ 3) % Row 7 \SetRowColor{white} & * `\{ interface range \textless{}interface\textgreater{} \textless{}\#/\#-\#\textgreater{} \}` & \tn % Row Count 20 (+ 3) % Row 8 \SetRowColor{LightBackground} {\bf{Interface}} & `\{ ip access-group \textless{}acl\_name\textgreater{} \textless{}in/out\textgreater{} \}` & Assign specified ACL to interface inbound/outbound traffic. \tn % Row Count 24 (+ 4) % Row 9 \SetRowColor{white} \mymulticolumn{3}{x{17.67cm}}{} \tn % Row Count 24 (+ 0) % Row 10 \SetRowColor{LightBackground} & `\{ line \textless{}line\textgreater{} \textless{}\#\textgreater{} \textless{}\#\textgreater{} \}` & \tn % Row Count 26 (+ 2) % Row 11 \SetRowColor{white} {\bf{Line - VTY}} & `\{ access-class \textless{}ACL\_name\textgreater{} \textless{}in/out\textgreater{} \}` & Assign specified ACL to line inbound/outbound traffic. \tn % Row Count 30 (+ 4) \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.5305 cm} x{7.0854 cm} x{7.2541 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure ACLs (cont)}} \tn % Row 12 \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{} \tn % Row Count 0 (+ 0) % Row 13 \SetRowColor{white} {\bf{Global}} & `\{ ip access-list resequence \textless{}acl\_name\textgreater{} \textless{}start\_\#\textgreater{} \textless{}increment\_\#\textgreater{} \}` & Configure ACL resequence. \tn % Row Count 5 (+ 5) % Row 14 \SetRowColor{LightBackground} & `\{ \textless{}entry\_\#\textgreater{} \}` & \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{* Optional or alternative command(s).} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.5305 cm} x{10.4594 cm} x{3.8801 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure Default Route}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ ip route 0.0.0.0 0.0.0.0 \textless{}isp\_default\_gateway\textgreater{} \}` & \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} & `\{ ip default-network \textless{}isp\_default\_gateway\textgreater{} \}` & \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.3618 cm} x{7.2541 cm} x{7.2541 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure DHCP}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ ip dhcp excluded-address \textless{}low ip\textgreater{} \textless{}high ip\textgreater{} \}` & Configure prevent DHCP from assigning certain addresses. \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} & `\{ ip dhcp pool \textless{}pool name\textgreater{} \}` & Configure DHCP address pools. \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} & `\{ network \textless{}ip\textgreater{} \textless{}subnet\textgreater{} \}` & Specify network to provide DHCP service for. \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} & `\{ default-router \textless{}gateway ip\textgreater{} \}` & Configure default router (gateway). \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} & `\{ dns-server \textless{}dns ip\textgreater{} \}` & Configure DNS servers. \tn % Row Count 16 (+ 2) % Row 6 \SetRowColor{LightBackground} & `\{ exit \}` & \tn % Row Count 17 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{3}{x{17.67cm}}{} \tn % Row Count 17 (+ 0) % Row 8 \SetRowColor{LightBackground} & `\{ interface \textless{}interface\textgreater{} \textless{}\#/\#\textgreater{} \}` & \tn % Row Count 19 (+ 2) % Row 9 \SetRowColor{white} {\bf{Interface}} & `\{ ip helper-address \textless{}dhcp\_server\_ip\textgreater{} \}` & Configure DHCP relay. \tn % Row Count 22 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{The IP address range 169.254.\#.\# indicates Microsoft Automatic Private Addressing, which indicates a possible DHCP problem. \newline To release a DHCP assigned IP address, type `\{ ipconfig /release \}` command in Windows CLI. \newline To renew a DHCP assigned IP address, type `\{ ipconfig /renew \}` command in Windows CLI.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.6992 cm} x{8.2663 cm} x{5.9045 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure IPv6}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ ipv6 unicast-routing \}` & Enable IPv6 unicast routing. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Interface}} & `\{ ipv6 address \textless{}global\_prefix:subnet\_id:interface\_id/mask\textgreater{} \}` & Configure IPv6 address. \tn % Row Count 8 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.8679 cm} x{6.4106 cm} x{7.5915 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure L3 Switching}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ ip routing \}` & Enable routing on the switch. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} & `\{ interface vlan \textless{}\#\textgreater{} \}` & Select catalyst VLAN. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{Interface}} & `\{ ip address \textless{}ip\textgreater{} \textless{}subnet\textgreater{}\}` & Configure IP address of VLAN. \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} & `\{ no shutdown \}` & Configure interface port status up. \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{p{1.727 cm} p{1.727 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure NAT}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{17.67cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.3618 cm} x{7.2541 cm} x{7.2541 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure Port Security}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ interface \textless{}interface\textgreater{} \textless{}\#/\#\textgreater{} \}` & \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} & * `\{ interface range \textless{}interface\textgreater{} \textless{}\#/\#-\#\textgreater{} \}` & \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} {\bf{Interface}} & `\{ switchport mode access \}` & Configure interface port to access mode. \tn % Row Count 10 (+ 3) % Row 4 \SetRowColor{LightBackground} & `\{ switchport port-security \}` & Enable interface port security. \tn % Row Count 12 (+ 2) % Row 5 \SetRowColor{white} & `\{ switchport port-security mac-address \textless{}?\textgreater{} \}` & Configure secure mac addresses. \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} & `\{ switchport port-security maximum \textless{}?\textgreater{} \}` & Configure maximum secure addresses. \tn % Row Count 18 (+ 3) % Row 7 \SetRowColor{white} & `\{ switchport port-security violation \textless{}?\textgreater{} \}` & Configure security violation mode. \tn % Row Count 21 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{* Optional or alternative command(s).} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.6992 cm} x{6.9167 cm} x{7.2541 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure RIPv2}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ router \textless{}protocol\textgreater{} \}` & Configure routing protocol. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} & `\{ version \textless{}\#\textgreater{} \}` & Configure version. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} & `\{ network \textless{}network ip\textgreater{} \}` & Specify network. \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} & * `\{ no auto-summary \}` & Disable auto-summary. \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{* Optional or alternative command(s).} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{3.7114 cm} x{6.5793 cm} x{6.5793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure ROAS}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Device \& Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} {\bf{Router - Global}} & `\{ interface \textless{}interface\textgreater{} \textless{}\#/\#.\#\textgreater{} \}` & \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{Router - Interface}} & `\{ encapsulation dot1q \textless{}vlan \#\textgreater{} \}` & Configure IEEE 802.1Q. \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} & `\{ ip address \textless{}ip\textgreater{} \textless{}subnet\textgreater{} \}` & Configure IP address. \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{Switch - Global}} & `\{ interface \textless{}interface\textgreater{} \textless{}\#/\#\textgreater{} \}` & \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} {\bf{Switch - Interface}} & `\{ switchport trunk encapsulation dot1q \}` & Configure trunking \seqsplit{characteristics}. {\emph{(older models)}} \tn % Row Count 18 (+ 4) % Row 6 \SetRowColor{LightBackground} & `\{ switchport mode trunk \}` & Configure trunking mode of the interface. \tn % Row Count 21 (+ 3) % Row 7 \SetRowColor{white} & `\{ switchport nonegotiate \}` & Configure disable engagement in negotiation protocol. \tn % Row Count 25 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{Good practice to correlate VLAN- and sub-interface numbers. \newline The VLAN will have the first address on the sub-interface network. \newline VLAN members to use sub-interface IP address as default gateway.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.6992 cm} x{7.4228 cm} x{6.748 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure SSH}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ ip domain-name \textless{}domain\textgreater{} \}` & Define default domain. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} & `\{ crypto key generate rsa \}` & Generate RSA crypto key. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} & `\{ username \textless{}user\textgreater{} secret \textless{}password\textgreater{} \}` & Establish User Name authentication. \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{Line - VTY}} & `\{ login local \}` & Enable local password checking. \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} & `\{ transport input \textless{}protocols\textgreater{} \}` & Define transport protocols for line. \tn % Row Count 15 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{1.8557 cm} x{7.7602 cm} x{7.2541 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure Static Route}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ ip route \textless{}destination\textgreater{} \textless{}subnet\textgreater{} \textless{}gateway\textgreater{} \textless{}ad\_\#\textgreater{} \}` & Configure static route and assign AD. \tn % Row Count 5 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.1931 cm} x{6.748 cm} x{7.9289 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure Switch Management Interface}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ interface \textless{}vlan\textgreater{} \textless{}\#\textgreater{} \}` & Select native VLAN. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} & `\{ ip address \textless{}ip\textgreater{} \textless{}subnet\textgreater{} \}` & Configure IP address of VLAN. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} & `\{ no shutdown \}` & Configure interface port status up. \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{17.67cm}{x{2.5305 cm} x{6.4106 cm} x{7.9289 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{17.67cm}}{\bf\textcolor{white}{How To: Configure VLANs}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Mode}} & {\bf{Syntax}} & {\bf{Description}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Global}} & `\{ vlan \textless{}\#\textgreater{} \}` & Create VLAN. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} & `\{ name \textless{}name\textgreater{} \}` & Configure VLAN name. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{Interface}} & `\{ description \textless{}description\textgreater{} \}` & Configure interface description. \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} & `\{ switchport mode access \}` & Configure interface port to access only one VLAN \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} & `\{ switchport access vlan \textless{}\#\textgreater{} \}` & Allocate interface port to VLAN. \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} & `\{ no shutdown \}` & Configure interface port status up. \tn % Row Count 17 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{17.67cm}}{Good practice to correlate VLAN- and interface numbers.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \end{document}