1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-09-27 16:09:40 +00:00

Merge branch 'chapter/spanningtree' into develop

* chapter/spanningtree:
  Finished up on spanning tree. Continueing with Inter Vlan routing
  Added content to CHANGELOG.md
  spanningtree.tex: Common Troubleshooting
  Updated chapter/section/spanningtree.tex
  New lst custom language cisco
  structure.tex: New lst style plaintxt
  commands.tex: New lstenvironment txt
This commit is contained in:
chhan11 2017-05-31 15:27:35 +02:00
commit e26642ebc5
6 changed files with 113 additions and 6 deletions

View file

@ -0,0 +1,17 @@
# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Added
### Changed
## [0.1.0-lw] - 2017-05-30
### Added
- Initial version
- Section: Spanning Tree
[Unreleased]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.1.0-lw...HEAD

View file

@ -1,6 +1,7 @@
\chapter{Layer-2-to-Layer-3}
\input{chapter/section/intervlanrouting}
\chapter{Protocols Layer 3}
\input{chapter/section/routednetwork}
\newpage

View file

@ -0,0 +1 @@
\section{Vlan-to-vlan routing}

View file

@ -377,9 +377,28 @@ It is the network admins job to propagate an even configuration to all switches
\fig{spanningtree/mstregions2}{mstregions2}{MST Regions vlans mapped to different instances.}
\begin{lstlisting}[language=TeX,numbers=none,frame=trBL,frameround=fttt,backgroundcolor=\color{white}]
\pagebreak % avoids column break for the following text
\begin{txt}
|<-------- bridge id ----------->|
+----------+-----------+---------+
| Bridge | Extended | MAC |
| priority | system ID | Address |
+----------+-----------+---------+
\end{lstlisting}
/\
||
MST inst. no. carried in
Ext. Syst. ID Area
\end{txt}
\subsection{Common Troubleshooting}
\begin{itemize}
\item Duplex mismatch: Mismatch half/full duplex.
\item Unidirectional link failure
\item Frame corruption: Physical interfaces can be defective/with errors.
\item Resource errors: High compute usage in the Control Plane. {\scriptsize Remember the Spanning Tree Process in fx. Cisco Catalyst switches is handled in software.}
\item PortFast configuration error: Can lead to bridging loops when mis-wiring happens together with logical port configuration errors.
\end{itemize}

View file

@ -47,4 +47,13 @@
}
\newcommand{\itemtitle}[2]{\textbf{#1:}\\%
{\footnotesize #2}}
{\footnotesize #2}}
% Enviroment @var txt
% changes code styling to: in frame, white bg.
\lstnewenvironment{txt}{\lstset{style=plaintxt}}{}
% Enviroment @var cisco
\lstnewenvironment{cisco}{\lstset{style=cisco}}{}

View file

@ -34,6 +34,9 @@
\usepackage{fourier}
\usepackage{array}
\usepackage{makecell}
\usepackage{inconsolata}
\usepackage{blindtext}
\usepackage{expdlist}
\bibliographystyle{unsrtnat} %styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles
@ -108,6 +111,63 @@
}
\lstdefinestyle{plaintxt}{
language=TeX,
numbers=none,
frame=trBL,
frameround=fttt,
backgroundcolor=\color{white},
boxpos=c,
}
\lstdefinelanguage{cisco}{
keywords={
end,
hostname,
Interface int,
ip,
line,
login,
network,
no,
router,
sh,
show,
shut,
shutdown,
version,
vlan,
vrf,
},
keywordstyle=\color{blue}\bfseries,
ndkeywords={
addr,
address,
aux,
bgp,
con,
console,
dhcp,
eigrp,
g,
GigabitEthernet,
isis,
ospf,
ospfv3,
pool,
rip,
vty,
},
ndkeywordstyle=\color{darkgray}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{!},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{red}\ttfamily,
}
\geometry{a4paper,margin=2cm}
\setlength{\columnsep}{1.5cm} %space between columns
\setlength{\headheight}{15pt}