HP StorageWorks 4/64 Brocade OS Command Reference Manual Supporting Fabric OS - Page 309
ipAddrSet, Ethernet subnetmask, Fibre Channel IP address, Fibre Channel subnetmask and gateway IP
View all HP StorageWorks 4/64 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 309 highlights
ipAddrSet 2 ipAddrSet Synopsis Description Sets the IP address details for a switch, a control processor (CP), an intelligent blade, or a standalone application processor (AP). ipaddrset ipaddrset [-cp number | -sw number] ipaddrset [-ipv6 ] [--add x:x:x:x:x:x:x/n | --delete] ipaddrset [-cp number | -sw number] [-ipv6 ] [--add x:x:x:x:x:x:x/n | --delete] ipaddrset [-slot number] [-eth0 | -eth1] [--add x.x.x.x/n | --delete] ipaddrset [-slot number] -gate [--add x.x.x.x | --delete] Use this command to set the IP addresses on a switch, a CP, a BP, or a standalone AP. The command supports an interactive mode, which supports only IPv4 addresses, and an alternate interface for managing IP Address details, including IPv6 addresses, via command line options. 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. To set IP Addresses interactively (IPv4 only): 1. On a chassis-based system, if no option is provided, the command prints the usage. To set the CP IPv4 address use the -cp option; to set the switch IP address use the -sw option. When setting the switch, the command prompts for the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address, and Fibre Channel subnetmask. When setting the CP, the command prompts for the host name, Ethernet IP address, Ethernet subnetmask, 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. 2. On most standalone platforms (with the exception of the AP7600), ipAddrSet will run interactively if invoked without operands. The command prompts for the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address, Fibre Channel subnetmask and gateway IP address. In addition, the command prompts for a specification of whether DHCP should be used to acquire the Ethernet IP address, Ethernet subnetmask and Gateway IP address. Valid entries are "On" to enable DHCP and "Off" to disable it. When DHCP is enabled, any user-entered Ethernet IP address, Ethernet subnetmask or Gateway IP address is ignored. NOTE The interactive mode does not support IPv6 addresses To set 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 (switch, CP, BP, or AP). The --delete option deletes a static IPv6 address and prefix for the specified managed entity. On a chassis-based platform, the command can be executed only on the active CP. Fabric OS Command Reference 283 53-1000599-01