oamVariableResponseTlv

oamVariableResponseTlv - implements one type of OAM Variable Response PDU.

SYNOPSIS

oamVariableResponseTlv sub-command options

DESCRIPTION

The oamVariableResponseTlv command implements one type of OAM Variable Response PDU.

STANDARD OPTIONS

 

branch

The one-octet branch field for the specific attribute, package or object being returned. (default = 0x07)

Note: Only attributes are supported in the current implementation.

If an object or package is referenced, only the attributes within the object or package shall be found within the Variable Container.

leaf

The two-octet leaf field for the specific attribute, package or object being returned. (default = '00 02')

enableIndication

true/false

When true, the variable indicationValue is present and there is no value field.

When false, the variable width represents the length of the value field in octets. (default = false)

indicationValue

Variable indication. (default = 0x04) See width, below.

width

The width of the value. If enableIndication is true, then width can be from 0 to 128. (default = 4)

This field either contains the actual width of the attribute or an indicationValue providing information as to the reason this particular attribute could not be returned.

When bit 7 = 1, bits 6:0 represent an indicationValue. There is no value field when bit 7 = 1.

When bit 7 = 0, bits 6:0 represent the length of the value field in octets. An encoding of 0x00 equals 128 octets. All other encodings represent actual lengths.

value

If enableIndication is true, then this can be the value of width size hex number.

(default = '00 00 00 00')

If the width field contains a width value, the fourth field is the value field, which contains the attribute. This field may be up to 128 octets in length. Octets of the attribute are ordered most significant first, followed by each successive octet.

If the width field contains an indicationValue, the value field does not exist.

COMMANDS

The oamVariableResponseTlv command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.

oamVariableResponseTlv setDefault

Sets to IxTclHal default values for all configuration options.

EXAMPLES

See example code under oamHeader.

SEE ALSO

oamHeader, oamVariableResponse.