oamInformation

oamInformation - the OAM PDU type Information.

SYNOPSIS

oamInformation sub-command options

DESCRIPTION

The oamInformation command implements the OAM PDU type Information.

The TLVs connected to this command include: Local Information, Remote Information, and oamOrganizationSpecificTlv.

STANDARD OPTIONS
currentTlvType

Read only. (default = oamInformationEndOfTlv)

Predefined options include:

Option

Value

Usage

oamInformationEndOfTlv

0x00

(default) End of TLV Marker

oamInformationLocalInfo

0x01

Local Information TLV

oamInformationRemoteInfo

0x02

Remote Information TLV

oamInformationOrgInfo

0xFE

Organization Specific TLV

COMMANDS

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

oamInformation addTlv tlvType

Adds a TLV to OAM Information PDU with TLV type (listed above in currentTlvType).

oamInformation delTlv tlvIndex

Deletes a TLV from OAM Information with specific Index.

oamInformation setTlv tlvIndex

Sets the configuration of the TLV with the specified Index.

oamInformation getTlv tlvIndex

Gets the configuration of the TLV with the specified Index.

oamInformation getFirstTlv

Gets the first TLV from the list of OAM Information PDUs.

oamInformation getNextTlv

Gets the next TLV from the list.

oamInformation clearAllTlvs

Clears all TLVs for the Information PDU.

EXAMPLES

See example code under oamHeader

SEE ALSO

oamHeader, oamLocalInformationTlv, oamRemoteInformationTlv, oamOrganizationSpecificTlv.