|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
FrameRelayProcess handles and manipulates the Frame Relay process. More...
Public Member Functions | |
| void | setLmiType (LmiType) |
| Sets the LMI type for this Frame Relay process. More... | |
| void | setEncapType (FrameRelayEncapType) |
| Sets the encapsulation type for this Frame Relay process. More... | |
| FrameRelayEncapType | getEncapType () |
| Returns the encapsulation type of this Frame Relay process. More... | |
| LmiType | getLmiType () |
| Returns the encapsulation type of this Frame Relay process. More... | |
| bool | addMapEntry (ip, int, bool, FrameRelayEncapType, string) |
| Adds a map entry to the specified port. More... | |
| bool | addIntDlciEntry (string, int) |
| Adds a interface-DLCI entry the specified port. More... | |
| bool | deleteMapEntry (string, ip) |
| Removes the map entry from the specified port. More... | |
| bool | deleteIntDlciEntry (string, int) |
| Removes the interface-DLCI entry from the specified port. More... | |
| FrameRelayMapEntry | getMapEntryAt (int, string) |
| Returns the map entry at the specified index on the specified port. More... | |
| short | getIntDlciEntryAt (int, string) |
| Returns the interface-DLCI number at the specified index on the specified port. More... | |
| short | getLmiDlciEntryAt (int) |
| Returns LMI DLCI at the specified index. More... | |
| bool | getLmiDlciStatusEntryAt (int) |
| Returns true if the LMI DLCI at the specified index is active, otherwise false. More... | |
| int | getMapEntryCount (string) |
| Returns the number of map entries. More... | |
| int | getIntDlciEntryCount (string) |
| Returns the number of interface-DLCI entries. More... | |
| int | getLmiDlciEntryCount () |
| Returns the number of LMI DLCI entries. More... | |
| Port | getIntDlciToPort (int) |
| Returns the port of the specified interface-DLCI. More... | |
| void | clearInvArpEntries () |
| Clears the inverse ARP entries. More... | |
| DlciTable | getDlciTable () |
| Returns the DLCI table. More... | |
Public Member Functions inherited from PortKeepAliveProcess | |
| void | setKeepAliveOn (bool) |
| bool | isKeepAliveOn () |
| Returns true if keepalive is enabled, otherwise false. More... | |
| void | setKeepAliveInterval (int) |
| Sets the keepalive interval. More... | |
| int | getKeepAliveInterval () |
| Returns the keepalive interval. More... | |
Public Member Functions inherited from Process | |
| Device | getOwnerDevice () |
| Returns the device for this process. More... | |
FrameRelayProcess handles and manipulates the Frame Relay process.
| bool FrameRelayProcess::addIntDlciEntry | ( | string | , |
| int | |||
| ) |
Adds a interface-DLCI entry the specified port.
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| dlci,the | DLCI number. |
| bool FrameRelayProcess::addMapEntry | ( | ip | , |
| int | , | ||
| bool | , | ||
| FrameRelayEncapType | , | ||
| string | |||
| ) |
Adds a map entry to the specified port.
| ipAddress,the | IP address to map. |
| dlci,the | DLCI number. |
| bBroadcast,true | forwards broadcasts to this address, false does not forward broadcasts. |
| encapType,the | encapsulation type of this Frame Relay process. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2 |
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| void FrameRelayProcess::clearInvArpEntries | ( | ) |
Clears the inverse ARP entries.
| bool FrameRelayProcess::deleteIntDlciEntry | ( | string | , |
| int | |||
| ) |
Removes the interface-DLCI entry from the specified port.
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| dlci,the | DLCI number. |
| bool FrameRelayProcess::deleteMapEntry | ( | string | , |
| ip | |||
| ) |
Removes the map entry from the specified port.
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| ipAddress,the | IP address of the map. |
| DlciTable FrameRelayProcess::getDlciTable | ( | ) |
| FrameRelayEncapType FrameRelayProcess::getEncapType | ( | ) |
Returns the encapsulation type of this Frame Relay process.
| short FrameRelayProcess::getIntDlciEntryAt | ( | int | , |
| string | |||
| ) |
Returns the interface-DLCI number at the specified index on the specified port.
| index,the | index of the interface-DLCI of interest. |
| portName | portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| int FrameRelayProcess::getIntDlciEntryCount | ( | string | ) |
Returns the number of interface-DLCI entries.
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| Port FrameRelayProcess::getIntDlciToPort | ( | int | ) |
| short FrameRelayProcess::getLmiDlciEntryAt | ( | int | ) |
Returns LMI DLCI at the specified index.
| index,the | index of the LMI DLCI of interest. |
| int FrameRelayProcess::getLmiDlciEntryCount | ( | ) |
Returns the number of LMI DLCI entries.
| bool FrameRelayProcess::getLmiDlciStatusEntryAt | ( | int | ) |
Returns true if the LMI DLCI at the specified index is active, otherwise false.
| index,the | index of the LMI DLCI of interest. |
| LmiType FrameRelayProcess::getLmiType | ( | ) |
Returns the encapsulation type of this Frame Relay process.
| FrameRelayMapEntry FrameRelayProcess::getMapEntryAt | ( | int | , |
| string | |||
| ) |
Returns the map entry at the specified index on the specified port.
| index,the | index of the map entry of interest. |
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| int FrameRelayProcess::getMapEntryCount | ( | string | ) |
Returns the number of map entries.
| portName,portName | can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 |
| void FrameRelayProcess::setEncapType | ( | FrameRelayEncapType | ) |
Sets the encapsulation type for this Frame Relay process.
| encapType,the | encapsulation type. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2 |
| void FrameRelayProcess::setLmiType | ( | LmiType | ) |
Sets the LMI type for this Frame Relay process.
| lmiType,the | LMI type. LMI types: eLmiAnsi = 0, eLmiCisco = 1, eLmiQ933a = 2 |