1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-29 19:37:53 +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}
\item external router,
\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}
\item \textbf{Ways to do it:}
\begin{enumerate}
@ -17,3 +18,34 @@ There are different ways to go \tsq{bout} Inter-vlan routing and doing it.
\item (...)
\end{enumerate}
\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,
showtabs=false,
tabsize=4,
abovecaptionskip=5em,
aboveskip=3em,
abovecaptionskip=3em,
aboveskip=1em,
belowcaptionskip=5em,
belowskip=3em,
upquote=true,