mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-26 19:27:57 +00:00
Merge branch 'develop' into 'master'
Merge develop into master See merge request !1
This commit is contained in:
commit
b18d1689fc
17
CHANGELOG.md
17
CHANGELOG.md
|
@ -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
|
21
README.md
Normal file
21
README.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
## Write about
|
||||||
|
- [ ] NTP
|
||||||
|
- [ ] SNTP
|
||||||
|
- [ ] TACACS+
|
||||||
|
- [ ] RADIUS
|
||||||
|
- [ ] INTER VLAN ROUTING
|
||||||
|
- [ ] BGP
|
||||||
|
- [ ] ISIS
|
||||||
|
- [ ] EIGRP
|
||||||
|
- [ ] OSPF
|
||||||
|
- [ ] RIP
|
||||||
|
- [ ] PREFIX FILTERS
|
||||||
|
- [ ] ASN's
|
||||||
|
|
||||||
|
## _Mostly_ done
|
||||||
|
- [X] Spanning tree
|
||||||
|
|
||||||
|
## Considered done
|
||||||
|
- [ ] ...
|
|
@ -1,6 +1,7 @@
|
||||||
|
\chapter{Layer-2-to-Layer-3}
|
||||||
|
|
||||||
|
\input{chapter/section/intervlanrouting}
|
||||||
|
|
||||||
\chapter{Protocols Layer 3}
|
\chapter{Protocols Layer 3}
|
||||||
|
|
||||||
\input{chapter/section/routednetwork}
|
\input{chapter/section/routednetwork}
|
||||||
|
|
||||||
\newpage
|
|
||||||
|
|
||||||
|
|
1
chapter/section/intervlanrouting.tex
Normal file
1
chapter/section/intervlanrouting.tex
Normal file
|
@ -0,0 +1 @@
|
||||||
|
\section{Vlan-to-vlan routing}
|
|
@ -119,6 +119,16 @@ Any network node with switchports and STP + BPDU enabled sends out BPDU packets
|
||||||
\subsubsection{Root Bridge}
|
\subsubsection{Root Bridge}
|
||||||
Using a \textbf{R}oot \textbf{B}rigde as the reference point for the STP instance and calculation of root/designated/non-designated ports.\\This election process uses a pre-configured bridge priority (ranges from $0$ to $2^{16}$) (defaults to $2^{15}$). If a tie in priority is found the switch in possession of the lowest mac address wins the root bridge election.
|
Using a \textbf{R}oot \textbf{B}rigde as the reference point for the STP instance and calculation of root/designated/non-designated ports.\\This election process uses a pre-configured bridge priority (ranges from $0$ to $2^{16}$) (defaults to $2^{15}$). If a tie in priority is found the switch in possession of the lowest mac address wins the root bridge election.
|
||||||
|
|
||||||
|
\begin{txt}
|
||||||
|
|<-------- bridge id 8 bytes --->|
|
||||||
|
|
||||||
|
+----------+---------------------+
|
||||||
|
| Bridge | MAC |
|
||||||
|
| priority | Address |
|
||||||
|
+----------+---------------------+
|
||||||
|
|
||||||
|
|< 2 byte >|<----- 6 bytes ----->|
|
||||||
|
\end{txt}
|
||||||
|
|
||||||
\subsubsection{Port Cost}
|
\subsubsection{Port Cost}
|
||||||
|
|
||||||
|
@ -377,9 +387,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.}
|
\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 |
|
| Bridge | Extended | MAC |
|
||||||
| priority | system ID | Address |
|
| 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}
|
||||||
|
|
11
commands.tex
11
commands.tex
|
@ -47,4 +47,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\itemtitle}[2]{\textbf{#1:}\\%
|
\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}}{}
|
|
@ -34,6 +34,9 @@
|
||||||
\usepackage{fourier}
|
\usepackage{fourier}
|
||||||
\usepackage{array}
|
\usepackage{array}
|
||||||
\usepackage{makecell}
|
\usepackage{makecell}
|
||||||
|
\usepackage{inconsolata}
|
||||||
|
\usepackage{blindtext}
|
||||||
|
\usepackage{expdlist}
|
||||||
|
|
||||||
|
|
||||||
\bibliographystyle{unsrtnat} %styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles
|
\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}
|
\geometry{a4paper,margin=2cm}
|
||||||
\setlength{\columnsep}{1.5cm} %space between columns
|
\setlength{\columnsep}{1.5cm} %space between columns
|
||||||
\setlength{\headheight}{15pt}
|
\setlength{\headheight}{15pt}
|
||||||
|
|
Loading…
Reference in a new issue