Compare commits
16 Commits
8d2e3f4bbe
...
907e7016c8
Author | SHA1 | Date |
---|---|---|
ch | 907e7016c8 | |
ch | 20c4b26fba | |
ch | b24d7c7151 | |
ch | 2b2efb1a7c | |
ch | f3917baa5f | |
ch | d6c4e0f68d | |
ch | 6ff12941d2 | |
ch | 64302cad2c | |
ch | 65a89551b4 | |
ch | bb23b79407 | |
ch | c36a5bec8e | |
ch | a239d34b07 | |
ch | 97696127fd | |
ch | 84a198601c | |
ch | 324f57eef7 | |
netravnen | 81f7312f1e |
|
@ -11,4 +11,5 @@
|
|||
latexmkrc
|
||||
/main.*
|
||||
/*.log
|
||||
.vscode
|
||||
.vscode
|
||||
.venv
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
#
|
||||
# To skip hooks on single commit, use --no-verify
|
||||
#
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = main.tex
|
||||
|
||||
\newacronym{adsl}{ADSL}{Asymmetric Digital Subscriber Line}
|
||||
\newacronym{aodv}{AODV}{Adhoc On-Demand Distance Vector Routing}
|
||||
\newacronym{ap}{AP}{Access Point}
|
||||
|
@ -99,6 +104,7 @@
|
|||
\newacronym{lan}{LAN}{Local Area Network}
|
||||
\newacronym{lldp}{LLDP}{Link Layer Discovery Protocol}
|
||||
\newacronym{mac}{MAC}{Media Access Control address}
|
||||
\newacronym{mbh}{MBH}{Mobile Backhaul}
|
||||
\newacronym{mec}{MEC}{Multichannel Ether-channel}
|
||||
\newacronym{med}{MED}{Multi-Exit Discriminator}
|
||||
\newacronym{metdst}{MET-DST}{Middle European Time Daylight Saving Time}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{Base Configuration}
|
||||
|
||||
\section{Cisco Lab}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter[DHCP]{Dynamic Host Control Protocol}
|
||||
|
||||
\section[DHCP Process]{Dynamic Host Control Protocol Process}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter[Internet]{The Internet {\footnotesize "Post cold-war modern times"}}
|
||||
|
||||
The internet is a fundamental communication technology for today's modern society. The thing that started as the \Gls{arpanet}\cite{wiki:ARPANET} back in the late nineteen sixties has evolved to become the core of today's globalization on Earth.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter[IP]{Internet Protocol}
|
||||
|
||||
\section[IPv6]{Internet Protocol v6}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{L2 to L3}
|
||||
|
||||
\section{Vlan-to-vlan routing}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{Layer 2}
|
||||
|
||||
\section{Switch Network}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{Layer 3}
|
||||
|
||||
\section{Routed Network}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{Linux}
|
||||
|
||||
\section{Kernel Upgrades}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{Campus Network}
|
||||
|
||||
\section{Discover Nodes}
|
||||
|
@ -254,9 +259,9 @@ aaa authentication attempts login 1
|
|||
aaa authentication login default group TACACS local-case
|
||||
aaa authentication login console local-case
|
||||
aaa authentication enable default group TACACS enable
|
||||
aaa authorization exec default group TACACS local
|
||||
aaa authorization commands 0 default group TACACS local
|
||||
aaa authorization commands 15 default group TACACS local
|
||||
aaa authorization exec default group TACACS local
|
||||
aaa authorization commands 0 default group TACACS local
|
||||
aaa authorization commands 15 default group TACACS local
|
||||
aaa accounting exec default
|
||||
action-type start-stop
|
||||
group tacacs+
|
||||
|
@ -303,7 +308,7 @@ Cisco switches allow by default only the following 3 protos until the client is
|
|||
\item The \textbf{authentication server}
|
||||
\end{itemize}
|
||||
|
||||
\fig{8021X/portauth}{portauth}{802.1X Port Auth}
|
||||
\fig{8021x/portauth}{portauth}{802.1X Port Auth}
|
||||
|
||||
802.1X can be enabled on a Cisco switch globally by \cliline{dot1x system-auth-control} and \textit{then} enabled on the switch port{\footnotesize (s)} by \cliline{aaa authentication dot1x}.
|
||||
|
||||
|
@ -492,10 +497,10 @@ Go all the way and do consider if Supervisor Redundancy is a necessary requireme
|
|||
|
||||
\subsection[VSS]{Virtual Switch Stacking}
|
||||
|
||||
Activating switch stacking means you get a single control plane for all
|
||||
switches in a \gls{vss} stack. The stack master switch gets to have the active
|
||||
control plane. With help of \gls{sso} \& \gls{nsf} data + switch fabric is kept
|
||||
in sync between stack members. This way no communication is lost when failures
|
||||
Activating switch stacking means you get a single control plane for all
|
||||
switches in a \gls{vss} stack. The stack master switch gets to have the active
|
||||
control plane. With help of \gls{sso} \& \gls{nsf} data + switch fabric is kept
|
||||
in sync between stack members. This way no communication is lost when failures
|
||||
\textbf{do} happen at some point.
|
||||
|
||||
\fig{vss/vss2}{vss2}{How the access layer sees a \gls{vss}}
|
||||
|
@ -586,7 +591,7 @@ Remember use of \textbf{pre-emption} when configuring the \gls{hsrp} routers wit
|
|||
|
||||
\subsubsection[Blncd]{Load Sharing}
|
||||
|
||||
When configuring
|
||||
When configuring
|
||||
|
||||
\newpage
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter[NTP]{Network Time Protocol}
|
||||
|
||||
\gls{ntp} is the source of all evil and \gls{sla}. A network wide source of time configuration for all network nodes, servers, clients etc. is necessary.
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{VoIP}
|
|
@ -1 +1,6 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = ../main.tex
|
||||
|
||||
\chapter{Wireless}
|
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = main.tex
|
||||
|
||||
\DTMsavenow{now}
|
||||
|
||||
\date{{\footnotesize Last release \theversion\\%
|
||||
|
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 211 KiB After Width: | Height: | Size: 211 KiB |
5
main.tex
5
main.tex
|
@ -1,3 +1,8 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = main.tex
|
||||
|
||||
% Declare Document Class
|
||||
\documentclass[a4paper,12pt,twoside,twocolumn,landscape]{book}
|
||||
\include{structure} % Load structure cfg for document
|
||||
|
|
|
@ -1,51 +1,51 @@
|
|||
% !TeX TS-program =
|
||||
% !TeX spellcheck = en_DK
|
||||
% !TeX encoding = UTF-8
|
||||
% !TeX root = main.tex
|
||||
|
||||
% Latex Packages
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{geometry}
|
||||
\usepackage{listings}
|
||||
\usepackage{color} % makes custom color codes available.
|
||||
\usepackage[usenames,dvipsnames,svgnames]{xcolor} % makes custom color codes available.
|
||||
\usepackage{graphicx}
|
||||
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib} % used with layout for bibliography section.
|
||||
\usepackage{float}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{wrapfig}
|
||||
\usepackage{array}
|
||||
\usepackage{fancybox} % styling of boxes.
|
||||
\usepackage{varwidth}
|
||||
\usepackage{enumitem} % makes available changes to lists.
|
||||
\usepackage{titlepic}
|
||||
\usepackage[nottoc]{tocbibind}
|
||||
\usepackage{url} % cmd \url.
|
||||
\usepackage[showisoZ]{datetime2} % more options for time formatting.
|
||||
\usepackage{transparent}
|
||||
\usepackage{soul}
|
||||
\usepackage{caption}
|
||||
\usepackage{tikzsymbols} % http://ctan.math.utah.edu/ctan/tex-archive/graphics/pgf/contrib/tikzsymbols/tikzsymbols.pdf
|
||||
\usepackage{textcomp}
|
||||
\usepackage{parskip}
|
||||
\usepackage{fourier}
|
||||
\usepackage{array}
|
||||
\usepackage{makecell}
|
||||
\usepackage{inconsolata}
|
||||
\usepackage{blindtext}
|
||||
\usepackage{expdlist}
|
||||
\usepackage{epigraph} % used to style quotes
|
||||
\usepackage{titling} % makes available \thetitle \theauthor \thedate
|
||||
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
|
||||
\usepackage{chngcntr}
|
||||
\usepackage[toc]{multitoc}
|
||||
\usepackage{dblfnote} % https://tex.stackexchange.com/a/8180
|
||||
\usepackage[unicode=false,
|
||||
colorlinks=true,
|
||||
linkcolor=darkgray,
|
||||
citecolor=darkgray,
|
||||
filecolor=darkgray,
|
||||
urlcolor=darkgray]{hyperref} % https://en.wikibooks.org/wiki/LaTeX/Hyperlinks
|
||||
\usepackage{amsmath,amssymb} % math things.
|
||||
\usepackage{array}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{blindtext}
|
||||
\usepackage{caption}
|
||||
\usepackage{chngcntr}
|
||||
\usepackage{color} % makes custom color codes available.
|
||||
\usepackage[showisoZ]{datetime2} % more options for time formatting.
|
||||
\usepackage{dblfnote} % https://tex.stackexchange.com/a/8180
|
||||
\usepackage{enumitem} % makes available changes to lists.
|
||||
\usepackage{epigraph} % used to style quotes
|
||||
\usepackage{expdlist}
|
||||
\usepackage{fancybox} % styling of boxes.
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{float}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{fourier}
|
||||
\usepackage{geometry}
|
||||
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
|
||||
\usepackage{glossaries-extra}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[unicode=false,colorlinks=true,linkcolor=darkgray,citecolor=darkgray,filecolor=darkgray,urlcolor=darkgray]{hyperref} % https://en.wikibooks.org/wiki/LaTeX/Hyperlinks
|
||||
\usepackage{inconsolata}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{lipsum}
|
||||
\usepackage{listings}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{makecell}
|
||||
\usepackage[toc]{multitoc}
|
||||
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib} % used with layout for bibliography section.
|
||||
\usepackage{parskip}
|
||||
\usepackage{soul}
|
||||
\usepackage{textcomp}
|
||||
\usepackage[usenames,dvipsnames,svgnames]{xcolor} % makes custom color codes available. MUST for some reason be above tikzsymbols.
|
||||
\usepackage{tikzsymbols} % http://ctan.math.utah.edu/ctan/tex-archive/graphics/pgf/contrib/tikzsymbols/tikzsymbols.pdf
|
||||
\usepackage{titlepic}
|
||||
\usepackage{titling} % makes available \thetitle \theauthor \thedate
|
||||
\usepackage[nottoc]{tocbibind}
|
||||
\usepackage{transparent}
|
||||
\usepackage{url} % cmd \url.
|
||||
\usepackage{varwidth}
|
||||
\usepackage{wrapfig}
|
||||
|
||||
|
||||
\renewcommand*{\multicolumntoc}{3} % https://tex.stackexchange.com/a/6455
|
||||
|
@ -83,7 +83,7 @@
|
|||
% You are not expected to understand this.
|
||||
\renewcommand*{\sectionmark}[1]{ \markright{\thesection\ ##1} }%
|
||||
\renewcommand*{\chaptermark}[1]{ \markboth{\chaptername\ \thechapter: ##1}{} }%
|
||||
% Increase the length of the header such that the folios
|
||||
% Increase the length of the header such that the folios
|
||||
% (typography jargon for page numbers) move into the margin
|
||||
\fancyhfoffset[LE]{6mm}% slightly less than 0.25in
|
||||
\fancyhfoffset[RO]{6mm}%
|
||||
|
@ -183,7 +183,7 @@
|
|||
captionpos=t,
|
||||
showstringspaces=false,
|
||||
breaklines=true,
|
||||
breakatwhitespace=true,
|
||||
breakatwhitespace=true,
|
||||
}
|
||||
|
||||
|
||||
|
@ -270,7 +270,7 @@
|
|||
% https://tex.stackexchange.com/a/141975
|
||||
\let\origfootnote\footnote % font size of footnotes; changes \footnotesize command only inside footnotes!
|
||||
\renewcommand{\footnote}[1]{%
|
||||
\renewcommand\footnotesize\scriptsize % here there is scriptsize in footnotes (example)
|
||||
\renewcommand\footnotesize\scriptsize % here there is scriptsize in footnotes (example)
|
||||
\origfootnote{#1}}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue