oamVariableRequest
oamVariableRequest - the OAM PDU type Variable Request allows querying MIB variables.
SYNOPSIS
oamVariableRequest sub-command options
DESCRIPTION
The oamVariableRequest command implements the OAM PDU type Variable Request.
It is used to query MIB variables, using data structures called Variable Descriptors. An OAM client may request one or more variables in each Variable Request OAM PDU.
The TLV connected to this command is oamVariableRequestTlv.
STANDARD OPTIONS
currentTlvType
Read only. (default = oamVariableRequestEndOfTlv)
Predefined options include:
Option |
Value |
Usage |
---|---|---|
oamVariableRequestEndOfTlv |
0x00 |
(default) End of TLV Marker |
oamVariableRequest |
0x01 |
Variable Request |
COMMANDS
The oamVariableRequest command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
oamVariableRequest setDefault
Sets to IxTclHal default values for all configuration options.
oamVariableRequest addTlv tlvType
Adds a TLV to OAM Variable Request PDU with TLV type (see currentTlvType, above).
oamVariableRequest delTlv tlvIndex
Deletes a TLV from OAM Variable Request with specific Index.
oamVariableRequest setTlv tlvIndex
Sets the configuration of the TLV with the specified Index.
oamVariableRequest getTlv tlvIndex
Gets the configuration of the TLV with the specified Index.
oamVariableRequest getFirstTlv
Gets the first TLV from the list of OAM Variable Request PDUs.
oamVariableRequest getNextTlv
Gets the next TLV from the list.
oamVariableRequest clearAllTlvs
Clears all TLVs for the Variable Request PDU.
EXAMPLES
See example code under oamHeader.