Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, April 2009)
364 Fabric OS Command Reference
53-1001186-01
ipAddrSet
2
ipAddrSet
Sets the Ethernet and FC IP addresses.
Synopsis ipaddrset [-ipv6 ] [--add x:x:x:x:x:x:x/n | --delete]
ipaddrset [-cp cp_number | -chassis ] [-ipv6 ] [--add x:x:x:x:x:x:x/n | --delete]
ipaddrset [-slot slot_umber] [-eth0 | -eth1] [--add x.x.x.x/n | --delete]
ipaddrset [-slot slot_number] -gate [--add x.x.x.x | --delete]
ipaddrset -ls FID --add IPv4_address/prefix
ipaddrset -ls FID --delete
ipaddrset -ipv6 [-auto | -noauto]
ipaddrset [-cp cp_number | -chassis]
Description Use this command to configure the IP addresses on a switch, a control processor (CP), a blade
processor (BP), or a standalone application processor (AP). On platforms that support Logical
Fabrics, this command configures the IPv4 Fibre Channel addresses for the logical fabric IPFC
network interface. The IPFC (IP over Fibre Channel) protocol allows switches to send IP traffic over
Fibre Channel rather than through Ethernet connections.
This command supports an interactive legacy mode and a command line interface. Use the
command line interface to configure IPv6 addresses, to enable or disable stateless IPv6 auto
configuration, to assign a Fibre Channel IPv4 address and prefix to a logical switch IPFC network
interface, and to configure a service port on the CP blade of a Brocade DCX. When run interactively
in legacy mode, this command sets the Ethernet IPv4 address, subnet mask, and Gateway on a
switch or a chassis.
Command usage depends on the type of IP address and on the platform on which the command is
run. Some of the platform- and IP address-specific features of the command are outlined below.
For complete details, refer to the Fabric OS Administrator Guide.
Configuring IP Addresses using the command line interface
• The command accepts the -ipv6 command line syntax with the --add or--delete option on all
platforms that support IPv6 addresses. The --add option configures a single static IPv6
address and prefix for the specified managed entity (chassis, CP, or AP). The --delete option
deletes a static IPv6 address and prefix for the specified managed entity. On modular
platforms, the command can be executed only on the active CP.
- When using the command line syntax to add or delete IPv6 addresses, the managed entity
is identified only on modular platforms. To set the CP IPv6 address, use the -cp option; to
set the IP address for the entire chassis, use the -chassis option.
- When using the command line syntax to add or delete IPv6 addresses on standalone
platforms, the implied entity is the single managed entity supported by the platform and
must be left unspecified.
- Additionally, the -eth0, -eth1, and -gate command line options are available with the
--add or --delete option on platforms with blade processors to set the BP Ethernet or
Gateway addresses. On a chassis with a blade processor the values for the blade in slot
slot_number can be set from the command line using the -slot option. The -slot option is
not accepted in standalone application processors with a hidden blade, such as the
AP7600.