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.

Usage Notes<br />

Examples<br />

Responses<br />

Messages<br />

External Security Manager (ESM) is in control of the LAN, it may override the<br />

<strong>CP</strong> access list. Existing connections to the LAN are not affected.<br />

ACCOUNTing ON<br />

ACCOUNTing OFF<br />

allows a Class B user to control whether accounting records are created for the<br />

LAN specified.<br />

1. If the <strong>VM</strong> LAN is defined with the UNRESTRICTED attribute, any user can<br />

connect a virtual adapter to that LAN. The <strong>CP</strong> access list has no meaning for an<br />

UNRESTRICTED LAN. This will be overridden if an External Security Manager<br />

(ESM) is in control of the Virtual Switch.<br />

The following examples apply when <strong>CP</strong>, not an ESM, is protecting the <strong>VM</strong> LAN:<br />

1. SET LAN - Class G:<br />

To modify a user LAN named TECHINFO by adding user REYNOLDS to the<br />

access list, enter:<br />

cp set lan techinfo grant reynolds<br />

comm<strong>and</strong> complete<br />

2. SET LAN - Class B:<br />

To modify a SYSTEM LAN named ADMIN by adding user MAINT to the access<br />

list, enter:<br />

cp set lan admin ownerid system grant maint<br />

comm<strong>and</strong> complete<br />

Note: This must be done by a user with Class B privileges since the LAN is not<br />

owned by the invoker.<br />

3. SET LAN - Class B:<br />

To begin generating account records for a SYSTEM LAN named ADMIN enter:<br />

cp set lan BKT614 accounting on<br />

comm<strong>and</strong> complete<br />

Note: This must be done by a user with Class B privileges since the<br />

ACCOUNTing option is specified.<br />

Response 1:<br />

comm<strong>and</strong> complete<br />

is the normal response from this comm<strong>and</strong>.<br />

H<strong>CP</strong>2783E LAN ownerid lanname does not exist<br />

H<strong>CP</strong>2795E You are not authorized to SET LAN<br />

lanname for OWNERID ownerid<br />

H<strong>CP</strong>2795E You are not authorized to override LAN<br />

ACCOUNTING<br />

SET LAN<br />

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

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

Saved successfully!

Ooh no, something went wrong!