rprTlvWeight

rprTlvWeight - set up a TLV Weight item for use in an RPR topology message

SYNOPSIS

rprTlvWeight sub-command options

DESCRIPTION

The rprTlvWeight command is used to set up the content of an RPR Weight TLV for use in an RPR topology message. This TLV is added to a topology message by use of the rprTopology addTlv rprWeight command.

A weight TLV may be retrieved from the topology TLV list by calling rprTopology getFirstTlv/getNextTlv, checking for type = rprWeight and then inspecting the options in this command.

STANDARD OPTIONS

TLV Common Options

dataLength

Read-only. The 10-bit length of the data fields.

reserved1

Read-only. The 6-bit Reserved1 field is set to 0 and ignored by receiving nodes.

reserved2

Read-only. The 6-bit Reserved2 field is set to 0 and ignored by receiving nodes.

type

Read-only. The 10-bit TLV type field, set to rprWeight (1).

Weight TLV Specific Options

weightRinglet0

The weight values of the Ringlet 0 node, to be used in fairness calculations. (default = 0)

weightRinglet1

The weight values of the Ringlet 1 node, to be used in fairness calculations. (default = 0)

COMMANDS

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

rprTlvWeight cget option

Returns the current value of the configuration option given by option. Option may have any of the values accepted by the rprTlvWeight command.

rprTlvWeight config option value

Modify the configuration options of the port. If no option is specified, returns a list describing all of the available options (see STANDARD OPTIONS) for port. If option is specified with no value, then the commands returns a list of values available for this option.

rprTlvWeight setDefault

Sets to IxTclHal default values for all configuration options.

EXAMPLES

See examples under rprFairness.

SEE ALSO

rprFairness, rprOam, rprProtection, rprRingControl, rprTlvBandwidthPair, rprTlvIndividualBandwidth, rprTlvNeighborAddress, rprTlvStationName, rprTlvTotalBandwidth, rprTlvVendorSpecific, rprTopology.