diff --git a/img/spanningtree/portroles.jpg b/img/spanningtree/portroles.jpg new file mode 100644 index 0000000..425a581 Binary files /dev/null and b/img/spanningtree/portroles.jpg differ diff --git a/main.tex b/main.tex index 45ff52f..fdd6fa0 100644 --- a/main.tex +++ b/main.tex @@ -19,6 +19,8 @@ \usepackage{lipsum} \usepackage{fancybox} \usepackage{varwidth} +\usepackage{enumitem} + % Define color \definecolor{codegreen}{rgb}{0,0.6,0} @@ -107,6 +109,9 @@ % Use the roman numeric system for pagenumbers \pagenumbering{roman} +\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm} +\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % BEGIN DOCUMENT % @@ -125,7 +130,8 @@ \tableofcontents % Define length between paragrahps -\setlength{\parskip}{1em} +\setlength{\parskip}{0.35em} + % Define lineheight \renewcommand{\baselinestretch}{1.15} @@ -337,15 +343,72 @@ Some other \underline{required} settings to be (equal across all ports) aware of \subsubsection{Example configuration} \lstinputlisting{code/channelbundling/example.cfg} -\newpage +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% BEGIN section: Spanning Tree % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newpage \section{Spanning Tree} -\subsection{STP} -\subsection{PVST} -\subsection{RPVST+} -\subsection{MTP} +Spanning Tree exists for the \textbf{sole} reason to save "your" network and all the broadcast storms an network engineer having a bad day can by mistake create! +STP comes from the above desire where redundancy was wanted but no protocol existed before STP to help in this regard. + +% Please add the following required packages to your document preamble: +% \usepackage{graphicx} +\begin{table}[h] + \centering + \caption{Spanning Tree standrds} + \label{stpstandards} + \resizebox{\columnwidth}{!}{% + \begin{tabular}{|l|l|l|l|l|} + \hline + \textbf{} & \textbf{Standard} & \textbf{Ressource Usage} & \multicolumn{2}{l|}{\textbf{Convergence}} \\ \hline + CST & 802.1D & Low & Slow & All vlans \\ \hline + PVST+ & Cisco & High & Slow & Per vlan \\ \hline + RSTP & 802.1w & So-so (Med.) & Fast & All vlans \\ \hline + RPVST+ & Cisco & On-the-double (V.High) & Fast & Per vlan \\ \hline + MST & 802.1s & Med. - High & Fast & Vlan list \\ \hline + \end{tabular}% + } +\end{table} + +\subsection{Port Roles} + +When a switch is enabled for Spanning Tree. One of the following roles will have been assumed by any port on the switch in question. + +\begin{itemize} + \item \textbf{Root port:} Only 1 port on any switch (non-counting the root bridge!). Is always the port with the lowest metric (aka. best path) to the root bridge. + \item \textbf{Designated port:} A designated port is the port on any segment closest to the root bridge and forwarding traffic. + \item \textbf{\textit{Non}-designated port:} Put in blocking mode and not currently forwarding traffic. + \item \textbf{Disabled port:} The port has been one-way-or-another shut down. +\end{itemize} + +\subsection{Standards} + +\subsubsection{STP} + +\subsubsection{PVST} + +\subsubsection{RPVST+} + +\subsubsection{MST} + +\subsection{Features} + +\begin{itemize} + \item PortFart + \item UplinkFast + \item BackboneFast + \item BPDU Guard + \item BPDU Filter + \item Root Guard + \item Loop Guard + \item Unidirectional Link Detection (UDLD) + \item FlexLinks +\end{itemize} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -372,7 +435,7 @@ Some other \underline{required} settings to be (equal across all ports) aware of % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\renewcommand{\listtablename}{Tables} +\renewcommand{\listtablename}{Tables {\footnotesize hidding} on the pages} \listoftables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%