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.

Examples<br />

TYPE QDIO<br />

restricts the responses to <strong>VM</strong> LAN segments of the specified type.<br />

ACTive<br />

ACTivity<br />

When the ACTive keyword is specified, active connections are described in the<br />

response for each LAN. Each active connection represents a simulated Network<br />

Interface Card (NIC) that has been coupled to the <strong>VM</strong> LAN. The following<br />

information is included for each connection:<br />

v Identity of the virtual adapter (owner <strong>and</strong> virtual device number)<br />

v The list of VLAN IDs each is authorized to use.<br />

v IP Addresses registered to the adapter.<br />

ACCesslist<br />

When the ACCesslist keyword is specified, the current access list is displayed<br />

for each LAN. For a RESTRICTED LAN, this is the list of all users who are<br />

authorized to connect to this LAN with a simulated network adapter.<br />

Note: This is the list authorized through the use of the SET LAN comm<strong>and</strong><br />

using the GRANT <strong>and</strong> REVOKE oper<strong>and</strong>s. If the Guest LAN is protected<br />

by an External Security Manager (ESM), ESM interfaces must be used<br />

to determine the true authorization list.<br />

DETails<br />

When the DETails keyword is specified, all available detail is displayed for each<br />

LAN. This is similar to specifying ACTIVE, except the display includes users<br />

that are coupled, but not active.<br />

VLAN vlanid<br />

When the VLAN keyword is specified, the information displayed is restricted to<br />

connections that have the specified vlanid active. VLAN ANY displays all<br />

connections regardless of any VLAN settings. VLAN NONE displays<br />

connections that have not enabled VLAN support.<br />

1. QUERY LAN<br />

List information about a specific Guest LAN.<br />

cp query lan subnta<br />

LAN SYSTEM SUBNTA Type: QDIO Connected: 11 Maxconn: INFINITE<br />

PERSISTENT UNRESTRICTED IP Accounting: ON<br />

2. QUERY LAN ACTive:<br />

The following example shows that LAN SUBNTA has 3 coupled adapters, <strong>and</strong><br />

describes the adapters connected to the Guest LAN.<br />

cp query lan subnta active<br />

LAN SYSTEM SUBNTA Type: QDIO Connected: 3 Maxconn: INFINITE<br />

PERSISTENT UNRESTRICTED IP Accounting: ON<br />

Adapter Owner: LAPLACE1 NIC: 1FC0 Name: LaPlace1<br />

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

TX Packets: 320 Discarded: 6 Errors: 0<br />

RX Bytes: 30212 TX Bytes: 21181<br />

Device: 1FC2 Unit: 002 Role: DATA<br />

Options: Broadcast Multicast IPv6 IPv4 VLAN<br />

Unicast IP Addresses:<br />

9.60.59.59 MAC: 02-00-00-00-00-05<br />

FE80::200:0:100:5 MAC: 02-00-00-00-00-05<br />

Multicast IP Addresses:<br />

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

FF02::1 MAC: 33-33-00-00-00-01<br />

FF02::1:FF00:5 MAC: 33-33-FF-00-00-05<br />

QUERY LAN<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 837

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

Saved successfully!

Ooh no, something went wrong!