User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 661
6.2.2.4. ip address dhcp
This command enables the DHCPv4 client on an in-band interface so that it can acquire network information,
such as the IP address, subnet mask, and default gateway, from a network DHCP server. When DHCP is enabled
on the interface, the system automatically deletes all manually configured IPv4 addresses on the interface.
To enable the DHCPv4 client on an in-band interface and send DHCP client messages with the client identifier
option (DHCP Option 61), use the ip address dhcp client-id command in interface configuration mode.
Format ip address dhcp [{restart | client-id}]
no ip address dhcp [client-id]
Default Disable
Mode Interface Config
6.2.2.5. ip default-gateway
This command manually configures a global default gateway address. Only one default gateway can be
configured. If you invoke this commands several times, each command replaces the previous configuration.
Format ip default-gateway <ipaddr>
no ip default-gateway
Default None
Mode Global Config
Fields
Definition
[restart]
To restart the DHCPv4 client to acquire an IP Address from DHCP server.
[client-id]
To send the DHCPv4 messages with the DHCP client identifier.
no
This command releases a leased address and disables DHCPv4 on an interface.
Fields
Definition
<ipaddr>
A valid IPv4 address.
no
Remove the default gateway address from the configuration.