dhcpV4Tlv
dhcpV4Tlv - describe/view a single DHCP option
SYNOPSIS
dhcpV4Tlv sub-command options
DESCRIPTION
The dhcpV4Tlv command is used in three contexts:
- When a new TLV (type-length-value) is added to a dhcpV4Properties set. Values are taken from the options in this command.
- When an existing TLV is retrieved with dhcpV4Properties get*Tlv. The TLV values are visible in this command.
- When the negotiated DHCP options are retrieved with interfaceTable getDhcpV4DiscoveredInfo and the dhcpV4DiscoveredInfo command. The TLV values are visible in this command.
A TLV should include DHCP options defined in RFC 2132.
STANDARD OPTIONS
type
The type of the DHCP option. One of the values defined in RFC 2132. (default = 0)
value
A string consisting of hexadecimal characters. Each pair of characters defines a byte value. The length of the TLV is set from the length of the value string, divided by 2. (default = "")
COMMANDS
The dhcpV4Tlv command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
dhcpV4Tlv cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the dhcpV4Tlv command.
dhcpV4Tlv config option value
Modify the configuration options of the dhcpV4Tlv. If no option is specified, returns a list describing all of the available options (see STANDARD OPTIONS) for dhcpV4Tlv.
dhcpV4Tlv setDefault
Sets to IxTclHal default values for all configuration options.
EXAMPLES
See example under interfaceTable
SEE ALSO
interfaceTable, interfaceEntry, dhcpV4DiscoveredInfo, dhcpV4Properties