oamVariableResponse
oamVariableResponse - the OAM PDU type Variable Response allows returning the results of querying MIB variables.
SYNOPSIS
oamVariableResponse sub-command options
DESCRIPTION
The oamVariableResponse command implements the OAM PDU type Variable Response. It is used to return the results of queries of MIB variables, using data structures called Variable Containers. Each returned Variable Container resides within a single Variable Response OAM PDU. If a Variable Container does not fit within a Variable Response OAM PDU, an error code is returned.
In returning requested variables, an OAM client generates at least one and perhaps additional Variable Response OAM PDUs per received Variable Request OAM PDU.
The TLV connected to this command is oamVariableResponseTlv.
STANDARD OPTIONS
currentTlvType
Read only. (default = oamVariableResponseEndOfTlv)
Predefined options include:
Option |
Value |
Usage |
---|---|---|
oamVariableResponseEndOfTlv |
0x00 |
(default) End of TLV Marker |
oamVariableResponse |
0x01 |
Variable Response |
COMMANDS
The oamVariableResponse command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
oamVariableResponse addTlv tlvType
Adds a TLV to OAM Variable Response PDU with TLV type (see currentTlvType, above).
oamVariableResponse delTlv tlvIndex
Deletes a TLV from OAM Variable Response with specific Index.
oamVariableResponse setTlv tlvIndex
Sets the configuration of the TLV with the specified Index.
oamVariableResponse getTlv tlvIndex
Gets the configuration of the TLV with the specified Index.
oamVariableResponse getFirstTlv
Gets the first TLV from the list of OAM Variable Response PDUs.
oamVariableResponse getNextTlv
Gets the next TLV from the list.
oamVariableResponse clearAllTlvs
Clears all TLVs for the Variable Response PDU.
EXAMPLES
See example code under oamHeader.