beautypg.com

Disabling dhcp for ipv4 – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 51

background image

3. If already set up, you can skip the Ethernet IP address, Ethernet subnet mask, Fibre Channel IP

address, and Fibre Channel subnet mask prompts by pressing Enter . Otherwise, enter the network
information in dotted-decimal notation for the IPv4 address.

4. Enable DHCP by entering on .
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

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

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.

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]:

Disabling DHCP for IPv4

Fabric OS Administrators Guide

51

53-1003130-01