Reference Guide

The following example enables DHCP for IPv4 interactively.
switch:admin> ipaddrset
DHCP [Off]:on
IP address is being changed...
Done.
The following example enables DHCP for IPv4 using a single command.
switch:admin> ipaddrset -ipv4 -add -dhcp ON
switch:admin> ipaddrshow
SWITCH
Ethernet IP Address: 10.20.134.219
Ethernet Subnetmask: 255.255.240.0
Gateway IP Address: 10.20.128.1
DHCP: On
Disabling DHCP for IPv4 in fixed-port devices
When you disable DHCP, the previously configured static Ethernet IP address, the subnet mask, and the default gateway addresses are
restored as active configuration.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ipAddrSet command.
ipaddrset
NOTE
Alternatively, you can disable DHCP for IPv4 by entering ipaddrset -ipv4 -add -dhcp OFF as a single command. If
you do so, you do not need to complete the following steps.
3. When you are prompted for DHCP [On], disable it by entering off.
4. You can confirm that the change has been made using the ipAddrShow command.
The following example disables DHCP for IPv4 interactively.
switch:admin> ipaddrset
DHCP [On]:off
IP address is being changed...
Done.
The following example disables DHCP for IPv4 using a single command.
switch:admin> ipaddrset -ipv4 -add -dhcp OFF
switch:admin> ipaddrshow
SWITCH
Ethernet IP Address: 10.20.134.219
Ethernet Subnetmask: 255.255.240.0
Gateway IP Address: 10.20.128.1
DHCP: Off
Enabling DHCP for IPv4 in Directors
To enable DHCP for IPv4 on Brocade DCX 8510 and X6 Directors, follow these steps.
1. Run the ipAddrSet -chassis command.
switch:admin> ipaddrset -chassis
DHCP [Off]:on
Performing Basic Configuration Tasks
Brocade Fabric OS Administration Guide, 8.0.1
52 53-1004111-02