5.8 DHCP Commands
5.8.1 DHCP Client Commands
5.8.1.1 Get dhcp client info
Description:
Use this command to get DHCP client information for clients, on the specified
interface, or for all the interfaces.
Command Syntax:
get dhcp client info [ifname <interface-name>]
Parameters:
Name
Ifname
<interface-namef>
Mode:
Super-User, User
Example:
$get dhcp client info ifname eth-0
Output:
If-name
Server
------------------------------------------------------------
eth-0
1.1.1.1
Output Fields:
FIELD
If-Name
Server
Status
220
Description
This specifies the interface name on which DHCP is running. If this
is not specified, then information for clients on all such interfaces will
be displayed.
Type : Optional
Valid values : eth-*, aggr-*
Status
Lease Start Date Lease Time (sec)
Bound
Thu Jan 01 00:00:38 1970 500
Description
This is an interface on which DHCP is running: It can be :
eth-*, aggr-*
This specifies the address of the DHCP server with whom
the client has obtained the IP address and other
configuratio.s
This specifies the current state of the client. It may be:Init,
IDL series User Guide