\hypertarget{classIfMgrVifSetVlanId}{
\section{IfMgrVifSetVlanId Class Reference}
\label{classIfMgrVifSetVlanId}\index{IfMgrVifSetVlanId@{IfMgrVifSetVlanId}}
}


\hyperlink{classCommand}{Command} to set \hyperlink{protocolthe-p}{the} VLAN ID to a virtual interface.  




{\ttfamily \#include $<$ifmgr\_\-cmds.hh$>$}

Inheritance diagram for IfMgrVifSetVlanId:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{classIfMgrVifSetVlanId}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrVifSetVlanId_a562e43fd83433cbeece499b863ceaca8}{
{\bfseries IfMgrVifSetVlanId} (const string \&ifname, const string \&vifname, uint16\_\-t vlan\_\-id)}
\label{classIfMgrVifSetVlanId_a562e43fd83433cbeece499b863ceaca8}

\item 
\hypertarget{classIfMgrVifSetVlanId_aea1be4ffdcd1bb8b3ee13abfe51c6534}{
uint16\_\-t {\bfseries vlan\_\-id} () const }
\label{classIfMgrVifSetVlanId_aea1be4ffdcd1bb8b3ee13abfe51c6534}

\item 
bool \hyperlink{classIfMgrVifSetVlanId_a7e4ae175c135400b88e361004b20d0f7}{execute} (\hyperlink{classIfMgrIfTree}{IfMgrIfTree} \&tree) const 
\begin{DoxyCompactList}\small\item\em Execute \hyperlink{classCommand}{Command} to interface tree. \item\end{DoxyCompactList}\item 
bool \hyperlink{classIfMgrVifSetVlanId_af4301e98cfa39355b8156f2e44285c90}{forward} (\hyperlink{classXrlSender}{XrlSender} \&sender, const string \&xrl\_\-target, const IfMgrXrlSendCB \&xscb) const 
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{classCommand}{Command} as an \hyperlink{classXrl}{Xrl} call to a remote target. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrVifSetVlanId_a5de3b1ad44b4562d27b99b625e270c6e}{
string \hyperlink{classIfMgrVifSetVlanId_a5de3b1ad44b4562d27b99b625e270c6e}{str} () const }
\label{classIfMgrVifSetVlanId_a5de3b1ad44b4562d27b99b625e270c6e}

\begin{DoxyCompactList}\small\item\em Render command as string. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrVifSetVlanId_a3c77cdb85bbaf28755fb63a518f60826}{
uint16\_\-t {\bfseries \_\-vlan\_\-id}}
\label{classIfMgrVifSetVlanId_a3c77cdb85bbaf28755fb63a518f60826}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classCommand}{Command} to set \hyperlink{protocolthe-p}{the} VLAN ID to a virtual interface. 

\subsection{Member Function Documentation}
\hypertarget{classIfMgrVifSetVlanId_a7e4ae175c135400b88e361004b20d0f7}{
\index{IfMgrVifSetVlanId@{IfMgrVifSetVlanId}!execute@{execute}}
\index{execute@{execute}!IfMgrVifSetVlanId@{IfMgrVifSetVlanId}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrVifSetVlanId::execute (
\begin{DoxyParamCaption}
\item[{{\bf IfMgrIfTree} \&}]{tree}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrVifSetVlanId_a7e4ae175c135400b88e361004b20d0f7}


Execute \hyperlink{classCommand}{Command} to interface tree. 

\begin{DoxyReturn}{Returns}
true on success, false on failure. 
\end{DoxyReturn}


Implements \hyperlink{classIfMgrCommandBase_a46a666d7c10bdc6f057c883464024fb3}{IfMgrCommandBase}.

\hypertarget{classIfMgrVifSetVlanId_af4301e98cfa39355b8156f2e44285c90}{
\index{IfMgrVifSetVlanId@{IfMgrVifSetVlanId}!forward@{forward}}
\index{forward@{forward}!IfMgrVifSetVlanId@{IfMgrVifSetVlanId}}
\subsubsection[{forward}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrVifSetVlanId::forward (
\begin{DoxyParamCaption}
\item[{{\bf XrlSender} \&}]{sender, }
\item[{const string \&}]{xrl\_\-target, }
\item[{const IfMgrXrlSendCB \&}]{xscb}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrVifSetVlanId_af4301e98cfa39355b8156f2e44285c90}


Forward \hyperlink{classCommand}{Command} as an \hyperlink{classXrl}{Xrl} call to a remote target. 


\begin{DoxyParams}{Parameters}
{\em sender} & xrl router to use as \hyperlink{protocolthe-p}{the} command sender. \\
\hline
{\em xrl\_\-target} & \hyperlink{protocolthe-p}{the} target to direct \hyperlink{protocolthe-p}{the} command to. \\
\hline
{\em xscb} & callback to invoke with \hyperlink{classXrl}{Xrl} result.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true on success, false on failure. 
\end{DoxyReturn}


Implements \hyperlink{classIfMgrCommandBase_a3a4578efe6bdc5ec5b92c60eee8e55c3}{IfMgrCommandBase}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/libfeaclient/ifmgr\_\-cmds.hh\end{DoxyCompactItemize}
