Reference Guide

Brocade Fabric OS Command Reference 425
53-1004112-02
ipAddrSet
To set the CP Ethernet IPv4 address, use the -cp option; to set the Ethernet IP address for the entire chassis,
use the -chassis option. When setting the chassis IP address, the command prompts for the Ethernet IP
address and Ethernet subnet mask. When setting the CP Ethernet IP address, the command prompts for the
host name, Ethernet IP address, Ethernet subnet mask, and Gateway IP address. Valid switch and CP
numbers depend on the platform on which the command is run. The command must be executed on the
active CP.
On most standalone platforms (with the exception of the AP7600), ipAddrSet runs interactively if invoked
without operands. The command prompts for the Ethernet IP address, Ethernet subnet mask, and Gateway IP
address. In addition, the command prompts for a specification of whether the Dynamic Host Control Protocol
(DHCP) should be used to acquire the Ethernet IP address, Ethernet subnet mask and Gateway IP address.
Valid entries are "On" to enable DHCP and "Off" to disable it. When DHCP is enabled, any user-configured
Ethernet IP address, Ethernet subnet mask or Gateway IP address is ignored.
Notes The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
If the IP address is changed while there is an Ethernet connection, connectivity may be lost. The reason for this is
explained in detail in the Fabric OS Administrator's Guide. If this happens, take one of the following actions to
recover the interface:
Unplug the network cable, wait 5 seconds, and then plug it back in.
Perform a High Availability (HA) failover routine or hareboot for fixed port switches.
Power down the switch and then power it back up again.
Re-establish new Telnet or SSH sessions for the disconnected session after IP address change.
Operands When used in command line mode, the following operands are supported:
-Ipv6
Specifies IP address type as static IPv6 including prefix as needed.
--add x:x:x:x:x:x:x/n
Sets the specified IPv6 address.
--delete [x:x:x:x:x:x:x/n]
Deletes the specified IPv6 address. If no address is specified, any existing IPv6 addresses
and prefixes are deleted from the specified or implied entity.
-cp cp_number
Specifies the CP on a chassis. Valid values are 0 or 1.
-chassis
Specifies the IPv6 address and prefix of a chassis.
On platforms with blade processors, the following additional command line options are
supported with the --add or --delete options:
-eth0 | -eth1
Specifies the local IPv4 address of the blade processor. A prefix is required.
-gate
Specifies the IPv4 address of the blade processor (BP) Gateway (no prefix).