lspni

Purpose

Use the lspni command to list preferred network interface definitions.

See Also:

"Preferred Network Interface Commands" for related commands

Prerequisites

You must have the display administrative domain's configuration right to use the lspni command.

Syntax

lspni::=

lspn•i [ server-hostname ]...

Semantics

server-hostname ...

Specifies the name of the server whose network interfaces are to be listed. If you do not specify a host name, then obtool displays all hosts that have a PNI created with the mkpni command.

Output

Table 2-14 describes the output for the lspni command.

Table 2-14 lspni Output

Column Indicates

PNI #

Sequential number, starting at 1, identifying the Preferred Network Interface (PNI)

interface

IP address of the interface

clients

Names of clients using the interface


Example

Example 2-70 displays the preferred network interfaces for servers brhost2 and brhost3. Each server can be accessed by client stadv07.

Example 2-70 Listing Preferred Network Interfaces

ob> lspni
brhost2:
    PNI 1:
        interface:          126.1.1.2
        clients:            stadv07
brhost3:
    PNI 1:
        interface:          126.1.1.3
        clients:            stadv07