HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)

XPath OS 7.4.x command reference guide 171
Displays or sets the IP configuration for a Gigabit Ethernet (GbE) port.
Synopsis
portcfggige port [-i ipaddress] [-n netmask] [-g gateway]
[-p protocol] [-v version]
Availability
admin
Description
Use this command to allow display of the port’s GbE configuration or to change the configuration modes
of operation. If no optional operand is given, this command displays the currently configured value;
otherwise, it sets the specified attributes to the new value.
Operands
This command has the following required operand:
This command has the following optional operands:
Examples
To display the IP configuration of port 3:
To set the IP address of port 2 to 10.1.1.1, netmask to 255.255.255.0, and protocol to FCIP
version 1:
To set the IP address of port 2 to 10.1.1.1, netmask to 255.255.255.0, and protocol to iSCSI
version 13:
portCfgGige
port Specifies the port.
-i ipaddress Sets the IP address.
-n netmask Sets the netmask.
-g gateway Sets the default gateway for the GbE port.
-p protocol Sets the protocol; valid values are FCIP and iSCSI.
-v version Sets the version number of the protocol.
switch:admin> portcfggige 3
switch:admin> portcfggige 2 -i 10.1.1.1 -n 255.255.255.0 -p fcip -v 1
switch:admin> portcfggige 2 -i 10.1.1.1 -n 255.255.255.0 -p iscsi -v 13