27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

QUERY NIC<br />

Responses<br />

894 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

cp q nic 2000 det<br />

Adapter 2000 Type: QDIO Name: T<strong>CP</strong>IP20 Devices: 3<br />

Port 0 MAC: 02-00-00-00-00-13 LAN: SYSTEM SUBNTA<br />

RX Packets: 33521 Discarded: 0 Errors: 0<br />

TX Packets: 24955 Discarded: 0 Errors: 0<br />

RX Bytes: 34225670 TX Bytes: 33713275<br />

Connection Name: z/<strong>VM</strong>0000 State: Session Established<br />

Device: 2000 Unit: 000 Role: CTL-READ<br />

Device: 2001 Unit: 001 Role: CTL-WRITE<br />

Device: 2002 Unit: 002 Role: DATA<br />

VLAN: 0002 Assigned by user<br />

Router: Primary IPv4 VLAN 0002<br />

Options: Broadcast Multicast IPv4 VLAN<br />

Unicast IP Addresses:<br />

9.60.59.32 MAC: 02-00-00-00-00-13<br />

Multicast IP Addresses:<br />

224.0.0.1 MAC: 01-00-5E-00-00-01<br />

224.0.0.9 MAC: 01-00-5E-00-00-09<br />

This response describes a QDIO adapter at 2000 which is connected to a <strong>VM</strong><br />

LAN, <strong>and</strong> provides detailed information about each active connection group.<br />

The QUERY NIC response includes optional lines. The general format is:<br />

Adapter vdev Type: type Name: portname Devices: devs<br />

Port 0 MAC: macaddr LAN: ownerid lanname MFS: mfsize<br />

RX packets: rxpackets Discarded: nnn Errors: nnn<br />

TX packets: txpackets Discarded: nnn Errors: nnn<br />

RX bytes: rxbytes TX bytes: txbytes<br />

Connection Name: groupid State: description<br />

Device: vdev Unit: nnn Role: role<br />

VLAN: nnnn status<br />

Router: type ipversion vlan<br />

Options: options<br />

Unicast IP Addresses:<br />

ipaddr MAC: macaddr <br />

ipaddr MAC: macaddr <br />

Multicast IP Addresses:<br />

mpaddr MAC: macaddr <br />

mpaddr MAC: macaddr <br />

Device: (repeated for each device in the group)<br />

...<br />

Connection Name: ...<br />

Unassigned Devices:<br />

Device: vdev Unit: nnn Role: Unassigned<br />

Device: (repeated for each unassigned device)<br />

Adapter<br />

vdev is the base virtual device address.<br />

Type<br />

type is the adapter type (QDIO or HIPERS).<br />

Name<br />

portname is the adapter (or port) name assigned by your communications<br />

software. The value “UNASSIGNED” is displayed if your software does not<br />

assign a value.<br />

Devices<br />

devs is the number of devices that form this adapter.<br />

LAN<br />

ownerid lanname uniquely identifies the coupled <strong>VM</strong> LAN (or displays “*<br />

internal” for an uncoupled adapter).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!