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.

DETACH LAN<br />

►►<br />

Notes:<br />

DETach<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

Usage Notes<br />

Examples<br />

LAN<br />

lanname<br />

OWNERid<br />

OWNERid<br />

Privilege Class: B, G<br />

Use DETACH LAN to eliminate a <strong>VM</strong> LAN segment from the <strong>CP</strong> system. This<br />

operation removes the designated LAN from the System LAN Table, disconnects<br />

any virtual adapters using the LAN, <strong>and</strong> releases system resources associated with<br />

the LAN. In general, this comm<strong>and</strong> must be issued by the owner of the LAN.<br />

The Class B form of the comm<strong>and</strong> allows the invoker to remove a LAN owned by<br />

another user. Only a Class B user can specify OWNERid SYSTEM (removing a<br />

SYSTEM LAN).<br />

lanname<br />

is the name of the <strong>VM</strong> LAN segment to be eliminated. Both lanname <strong>and</strong><br />

ownerid must be known to fully qualify a LAN.<br />

OWNERid *<br />

OWNERid ownerid<br />

OWNERid SYSTEM<br />

specifies the owner of the LAN. When OWNERid * is specified, it indicates the<br />

invoker is the owner of the LAN. This is the default when OWNERid is omitted.<br />

The Class G form of the comm<strong>and</strong> only accepts * or the user ID of the invoker.<br />

The Class B form of the comm<strong>and</strong> accepts another user ID (like OWNERid<br />

SYSTEM).<br />

1. Only the current owner of the LAN, or a Class B user, can DETACH the LAN.<br />

2. Any virtual network adapter that is connected to the LAN when it is detached is<br />

automatically uncoupled.<br />

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

*<br />

ownerid<br />

(1)<br />

SYSTEM<br />

1 Only Class B users can specify this oper<strong>and</strong>.<br />

To remove the user LAN named QDIO0 from the system, enter:<br />

cp detach lan qdio0<br />

LAN <strong>VM</strong>USERX QDIO0 is destroyed<br />

DETACH LAN<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!