shownetworkport

The shownetworkport command displays detailed properties of an individual network port ID.

Read syntax diagramSkip visual syntax diagram shownetworkport  -dev  storage_image_ID  port_ID  " - "

Parameters

-dev storage_image_ID
(Optional) The storage image ID, which consists of manufacturer, machine type, and serial number. The storage image ID is required if you do not specify a fully qualified port ID, do not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter will temporarily override any defined value for devid for the current command.
port_ID | -
(Required) Displays I/O ports that match the specified IDs. This parameter accepts a fully qualified port ID, which includes the storage image ID, or a shortened version without the storage image ID when the -dev parameter is specified.
A port ID is prefixed with letter I and consists of four hexadecimal characters with the binary bit definition of trre eeee aaaa pppp (value is separated for readability), where:
  • t = port type (1= network port)
  • rr = reserved bits and set to zero
  • eeeee = enclosure number (value specified is 18 - 1F)
  • aaaa = adapter number
  • pppp = port number
If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.

Example: Displaying detailed properties of an individual network port ID

dscli> shownetworkport -fullid -dev IBM.2107-1300321 I9801
Output
ID IP Address Subnet Mask Gateway Primary DNS
IBM.2107-
1300321
/I9801
192.168.5.5 255.255.255.5 192.168.5.5 192.168.5.55
Secondary
DNS
State Server Speed Type Location
192.168.5.55 Online 00 1 Gb/sec
Ethernet-
Copper
U7879.001.
03AA6D0-
P0-C0-T0

Output definitions

ID
Port ID.
IP Address
TCP/IP address for the designated port.
Subnet Mask
TCP/IP subnet mask for the designated port.
Gateway
Gateway TCP/IP address for the designated port.
Primary DNS
Primary DNS TCP/IP address for the designated port.
Secondary DNS
Secondary DNS TCP/IP address for the designated port.
State
State of the network ports. One of the following values can be displayed in this field:
online
Network port is enabled.
offline
Network port is disabled.
resuming
Network port is in the process of becoming enabled.
quiescing
Network port is in the process of becoming disabled.
fenced
Network port is configured but there is a problem and the port cannot be used.
Server
Server that the network port is attached to.
Speed
Network port interface speed.
Type
Network port interface type.
Location
Network port location in the format Utttt.mmm.ppsssss-Pn-Cn-Tn where
  • Utttt.mmm.ppsssss identifies the location of the processor node.
  • Pn identifies the planer number.
  • Cn identifies the card number.
  • Tn identifies the port number.