HP Fabric Clustering System HP-UX Administrator's Guide, March 2008

Checking the IPoIB Interface Status To check the current status of the IPoIB interface.
Syntax and example: ifconfig lan9000
Output Example:
lan9000: flags=842<BROADCAST,RUNNING,MULTICAST>
inet 192.32.32.255 netmask ffffff00 broadcast 192.32.32.255
Enable the IPoIB Interface To enable the IPoIB interface.
Syntax: ifconfig <ipoib_interface> [address] [netmask] up
Example: ifconfig lan9000 192.32.32.255 up
There is no direct output from this command.
To confirm that the interface is UP, run the ifconfig lan9000 command again
Output Example:
lan9000: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
inet 192.32.32.255 netmask ffffff00 broadcast 192.32.32.255
Disable the IPoIB Interface To disable the IPoIB interface.
Syntax: ifconfig <ipoib_interface> [address] [netmask] down
Example: ifconfig lan9000 192.32.32.255 down
There is no direct output from this command.
To confirm that the interface is DOWN, run the ifconfig lan9000 command again
Output Example:
lan9000: flags=842<BROADCAST,RUNNING,MULTICAST>
inet 192.32.32.255 netmask ffffff00 broadcast 192.32.32.255
lanadmin Commands
Listing All IPoIB Interfaces (HP-UX 11i v2 and 11i v3 ) To list all IPoIB interfaces.
Syntax and Example: lanadmin -x [if_info] | link_info | all_if_info ]
<ipoib_ppa>
Displaying IPoIB Interface Information Description: This command prints IPoIB interface
information for a given ipoib_ppa, or interface.
Syntax: lanadmin -xif_info [ipoib_ppa]
Syntax Example: lanadmin -x if_info 9000
Output Example:
Interface PPA Number = 9000
Partition Key = 0xffff
Q Key = 0x0000000b
MAC Addr = 0x0000040cfe8000000000000000000000ca025001
Displaying IPoIB Interface Link-Level Information Description: This command prints IPoIB port
level information for a given ipoib_ppa.
Syntax: lanadmin -x link_info [ipoib_ppa]
Syntax Example: lanadmin -x link_info 9000
Output Example:
Interface PPA Number = 9000
with total (up+down) num of links = 1
Link[0]: HCA = ib0, Port = 1, State = UP
Link[0]: HCA's Hardware Path = 0/5/1/0/0/0
Link[0]: QPN = 0x00040c, GID = 0xfe8000000000000000000000ca025001, LID = 0x000a
Displaying all Available IPoIB Interfaces Description: This command prints all IPoIB interfaces
with some detailed information.
68 Administration and Management