dhcpV4DiscoveredInfo
dhcpV4DiscoveredInfo - view discovered DHCP information
SYNOPSIS
dhcpV4DiscoveredInfo sub-command options
DESCRIPTION
The dhcpV4DiscoveredInfo command is used retrieve the DHCP negotiated values. The IP address, gateway address, prefix length and renewal timer are all visible in STANDARD OPTIONS; all other options are available as TLVs obtained by using getFirstTlv, getNextTlv and getTlv.
STANDARD OPTIONS
gatewayIpAddress
Read-only. The gateway address from the DHCP server.
ipAddress
Read-only. The IP address from the DHCP server.
prefixLength
Read-only. The prefix/mask length for the network, from the DHCP server.
leaseDuration
Read-only. The lease timer set by the DHCP server.
COMMANDS
The dhcpV4DiscoveredInfo command is invoked with the following sub-commands. If no sub-command is used, returns a list of all sub-commands available.
dhcpV4DiscoveredInfo cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the dhcpV4DiscoveredInfo command.
dhcpV4DiscoveredInfo getFirstTlv
The first TLV is retrieved. The values are available in the dhcpV4Tlv command. Specific errors are:
- There are no entries in the list.
dhcpV4DiscoveredInfo getNextTlv
The next TLV is retrieved. The values are available in the dhcpV4Tlv command. Specific errors are:
- There are no more entries in the list.
dhcpV4DiscoveredInfo getTlv index
The TLV at the specified index is retrieved. The index of the first entry is 1. The values are available in the dhcpV4Tlv command. Specific errors are:
- The index'd entry does not exist in the list.
- Invalid index.
- There are no entries in the list.
EXAMPLES
See example under interfaceTable