D-Link 5000 Series Cli Reference Manual page 646

Layer 2/3 managed 10g/25g/40g/100g data center switches
Hide thumbs Also See for 5000 Series:
Table of Contents

Advertisement

5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
7-16
ip address dhcp
Enable 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 configuration command in
interface configuration mode.
No command releases a leased address and disable DHCPV4 on an interface. The no form of the ip
address dhcp client-id command removes the client-id option and also disables the DHCP client on the
in-band interface.
ip address dhcp [client-id]
no ip address dhcp [client-id]
Parameters
client-id
Default
The default is Disabled.
Command Mode
Interface Config
Example
In the following example, DHCPv4 is enabled on interface 0/1.
(routerl)#config
(routerl)(Config)#interface 0/1
(routerl)(Interface 0/1)#ip address dhcp
7-17
ip default-gateway
Manually configures a default gateway for the switch. Only one default gateway can be configured. If you
invoke this command multiple times, each command replaces the previous value.
No command removes the default gateway address from the configuration.
ip default-gateway ipaddr
no ip default-gateway ipaddr
Parameters
ipaddr
Enable the DHCP client to specify the unique client identifier (option 61).
Indicates the IPv4 address of an attached router.
640

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents