Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
VtpProcess Class Reference

VtpProcess handles and manipulates the VTP process. More...

Inheritance diagram for VtpProcess:
Process

Public Member Functions

void setDomainName (string)
 Sets the VTP domain name. More...
 
string getDomainName ()
 Returns the VTP domain name. More...
 
void setMode (VtpMode)
 Sets the VTP mode. More...
 
VtpMode getMode ()
 Returns the VTP mode. More...
 
void setVersion (byte)
 Sets the VTP version. More...
 
byte getVersion ()
 Returns the VTP version. More...
 
void setPassword (string)
 Sets the VTP password. More...
 
string getPassword ()
 Returns the VTP password. More...
 
int getConfigRevision ()
 Returns the configuration revision number. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Detailed Description

VtpProcess handles and manipulates the VTP process.

Member Function Documentation

◆ getConfigRevision()

int VtpProcess::getConfigRevision ( )

Returns the configuration revision number.

Returns
int, the configuration revision number.

◆ getDomainName()

string VtpProcess::getDomainName ( )

Returns the VTP domain name.

Returns
string, the domain name.

◆ getMode()

VtpMode VtpProcess::getMode ( )

Returns the VTP mode.

Returns
enum<VtpMode>, the VTP mode. VTP modes: eVtpServer = 0, eVtpClient = 1, eVtpTransparent = 2

◆ getPassword()

string VtpProcess::getPassword ( )

Returns the VTP password.

Parameters
string,theVTP version.

◆ getVersion()

byte VtpProcess::getVersion ( )

Returns the VTP version.

Returns
byte, the VTP version.

◆ setDomainName()

void VtpProcess::setDomainName ( string  )

Sets the VTP domain name.

Parameters
domainName,thedomain name.

◆ setMode()

void VtpProcess::setMode ( VtpMode  )

Sets the VTP mode.

Parameters
type,theVTP mode. VTP modes: eVtpServer = 0, eVtpClient = 1, eVtpTransparent = 2

◆ setPassword()

void VtpProcess::setPassword ( string  )

Sets the VTP password.

Parameters
password,theVTP version.

◆ setVersion()

void VtpProcess::setVersion ( byte  )

Sets the VTP version.

Parameters
version,theVTP version.

The documentation for this class was generated from the following file: