To view the status of Ethernet 0 interface:
eth 0 statusTo view the status of Ethernet 1 interface:
eth 1 statusFor example:
eth 0 status
Activation Status: Active
Connection Status: Connected
Link: 100Base-T Full-Duplex
Physical Port: ETH 0
MAC: 00 04 2D 03 9F 70
IP Address: 192.168.0.14
Mask: 255.255.255.0
DNS Server: 192.168.51.1
Secondary DNS Server: 8.8.8.8
Gateway: 192.168.0.1
DHCP Server: 192.168.0.1
Lease Remaining (mins): 1439
OKSyntax for working with the DHCP client:
dhcpcli renew|release|discover <ifname> <ifnum>Where <
ifname> is the interface name, in this example 'eth' is used.
Where <
ifnum> is the interface number, in this example '0' is used.
To release the DHCP obtained IP address on Eth 0:
dhcpcli release eth 0For example:
dhcpcli release eth 0OK
eth 0 status
Activation Status: Inactive
Connection Status: Connected
Link: 100Base-T Full-Duplex
Physical Port: ETH 0
MAC: 00 04 2D 03 9F 70
IP Address: 0.0.0.0
Mask: 0.0.0.0
Gateway: 0.0.0.0
DHCP Server: 0.0.0.0
Lease Remaining (mins): 0
OKTo renew the DHCP obtained IP address on Eth 0:
dhcpcli renew eth 0For example:
dhcpcli renew eth 0
eth 0 status
Activation Status: Active
Connection Status: Connected
Link: 100Base-T Full-Duplex
Physical Port: ETH 0
MAC: 00 04 2D 03 9F 70
IP Address: 192.168.0.16
Mask: 255.255.255.0
DNS Server: 192.168.51.1
Secondary DNS Server: 8.8.8.8
Gateway: 192.168.0.1
DHCP Server: 192.168.0.1
Lease Remaining (mins): 1439
OKTo view the status of the DHCP client on all interfaces:
dhcpcli statusFor example:
dhcpcli status
DHCP client status on ETH 0
ipaddr : 192.168.0.16
mask : 255.255.255.0
gateway : 192.168.0.1
dns_server : 192.168.51.1
secondary dns_server : 8.8.8.8
dhcp_server : 192.168.0.1
lease remaining : 1435 mins
DHCP client status on ETH 1
ipaddr : 0.0.0.0
mask : 0.0.0.0
gateway : 0.0.0.0
dhcp_server : 0.0.0.0
lease remaining : 0 mins
OKDHCP server status commands:DHCP server 0 status
dhcp 0 statusDHCP server 1 status
dhcp 0 statusFor example:
dhcp 0 status
Entry: IP [192.168.0.16], hostname [WR21], MAC [00:04:2D:01:2F:22], expiry 454 (mins)
OK
Last updated:
Mar 21, 2019