To view the status of Ethernet 0 interface:
eth 0 status
To view the status of Ethernet 1 interface:
eth 1 status
For 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
OK
Syntax 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 0
For example:
dhcpcli release eth 0
OK
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
OK
To renew the DHCP obtained IP address on Eth 0:
dhcpcli renew eth 0
For 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
OK
To view the status of the DHCP client on all interfaces:
dhcpcli status
For 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
OK
DHCP server status commands:
DHCP server 0 status
dhcp 0 status
DHCP server 1 status
dhcp 0 status
For 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:
Sep 20, 2024