1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-26 19:27:57 +00:00

Updated with interface conf examples

This commit is contained in:
chhan11 2017-05-31 22:31:14 +02:00
parent 1749b62bd4
commit 163e8f5ea4
2 changed files with 35 additions and 3 deletions

View file

@ -9,7 +9,8 @@ There are different ways to go \tsq{bout} Inter-vlan routing and doing it.
\begin{enumerate} \begin{enumerate}
\item external router, \item external router,
\item switch virtual interfaces\footnote{\texttt{Switches interface -> Vlan interfaces}}, \item switch virtual interfaces\footnote{\texttt{Switches interface -> Vlan interfaces}},
\item routed ports\footnote{\texttt{Routed interface -> Subinterfaces}}. \item routed ports\footnote{\texttt{Routed interface -> Subinterfaces}},
\item bridge virtual interface\footnote{\texttt{L3 bridging interface}}
\end{enumerate} \end{enumerate}
\item \textbf{Ways to do it:} \item \textbf{Ways to do it:}
\begin{enumerate} \begin{enumerate}
@ -17,3 +18,34 @@ There are different ways to go \tsq{bout} Inter-vlan routing and doing it.
\item (...) \item (...)
\end{enumerate} \end{enumerate}
\end{itemize} \end{itemize}
\pagebreak
\subsection{Interface configs}
\subsubsection{Routed interfaces}
\begin{txt}
interface GigabitEthernet 0/1.10
encapsulation dot1q 10
ip address 192.168.0.1 255.255.255.128
!
interface GigabitEthernet 0/1.20
encapsulation dot1q 20
ip address 192.168.0.129 255.255.255.128
\end{txt}
\subsubsection{Switches interfaces}
\begin{txt}
interface Vlan10
ip address 192.168.1.1 255.255.255.128
!
interface Vlan20
ip address 192.168.1.129 255.255.255.128
!
interface GigabitEthernet 0/2
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20
\end{txt}

View file

@ -103,8 +103,8 @@
showstringspaces=false, showstringspaces=false,
showtabs=false, showtabs=false,
tabsize=4, tabsize=4,
abovecaptionskip=5em, abovecaptionskip=3em,
aboveskip=3em, aboveskip=1em,
belowcaptionskip=5em, belowcaptionskip=5em,
belowskip=3em, belowskip=3em,
upquote=true, upquote=true,