Disabling dhcp for ipv4 – Dell POWEREDGE M1000E User Manual

Page 67

Advertising
background image

Fabric OS Administrator’s Guide

67

53-1002745-02

The switch Ethernet interface

2

5. You can confirm that the change has been made using the ipAddrShow command.

Example of enabling DHCP for IPv4 interactively:

switch:admin> ipaddrset
Ethernet IP Address [10.1.2.3]:
Ethernet Subnetmask [255.255.255.0]:
Fibre Channel IP Address [220.220.220.2]:
Fibre Channel Subnetmask [255.255.0.0]:
Gateway IP Address [10.1.2.1]:
DHCP [Off]:on
switch:admin>

Example of enabling 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
switch:admin>

Disabling DHCP for IPv4

When you disable DHCP, enter the static Ethernet IP address and subnet mask of the switch and
default gateway address. Otherwise, the Ethernet settings may conflict with other addresses
assigned by the DHCP server on the network.

Use the following procedure to disable DHCP for IPv4:

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. Enter the network information using IPv4 dotted-decimal notation.

NOTE

If a static Ethernet address is not available when you disable DHCP, enter 0.0.0.0 at the
Ethernet IP address prompt.

4. You can skip the Fibre Channel prompts by pressing Enter.

5. When you are prompted for DHCP[On], disable it by entering off.

6. You can confirm that the change has been made using the ipAddrShow command.

Example of disabling DHCP for IPv4 interactively:

switch:admin> ipaddrset
Ethernet IP Address [10.1.2.3]:
Ethernet Subnetmask [255.255.255.0]:
Gateway IP Address [10.1.2.1]:

Advertising