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.

PORTType TRUNK<br />

defines the type of connections that are established by the userid to be a trunk<br />

port. The guest is VLAN aware <strong>and</strong> sends <strong>and</strong> receives only tagged traffic for<br />

those VLANs to which the guest is authorized. If the guest is also authorized to<br />

the defvid, untagged traffic sent or received by the guest is associated with the<br />

default VLAN ID of the virtual switch.<br />

VLAN vlanid<br />

identifies the VLAN ID to be used to restrict traffic across the adapter userid<br />

connected to switchname. When VLAN is used with GRANT, userid is<br />

authorized to connect to the virtual switch <strong>and</strong> vlanid is used as a filter.<br />

Specifying GRANT with one or more VLAN IDs adds to the set of VLAN IDs<br />

associated with userid. A limit of four vlanids can be associated with userid in<br />

the <strong>CP</strong> access list.<br />

vlanid is a number from 1 to 4094.<br />

SET VSWITCH<br />

If VLAN vlanid is not specified, the default VLAN for the userid is the default<br />

VLAN ID as specified on the DEFINE VSWITCH comm<strong>and</strong> or statement.<br />

If an External Security Manager (ESM) is in control of the virtual switch, it may<br />

override the <strong>CP</strong> access list.<br />

REVOKE userid<br />

specifies userid is removed from the <strong>CP</strong> access list for this virtual switch. This<br />

prevents user userid from connecting an adapter to virtual switch switchname.<br />

Existing connections to the virtual switch are not affected. If an External<br />

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

<strong>CP</strong> access list.<br />

PORTname portname<br />

is a 1- to 8-character name that identifies the OSA Express adapter. You can<br />

specify a maximum of 3 port names. Multiple port names are used when<br />

different port names are needed for the multiple rdevs specified on the RDEV<br />

oper<strong>and</strong>. See Usage Note 5 on page 1423 for more information.<br />

RDEV rdev<br />

is a real device address to be used to connect the virtual switch to a QDIO<br />

OSA Express device. Specify each real device number as a 1- to 4-digit<br />

hexadecimal number. You can specify a maximum of 3 real device numbers. If<br />

you specify more than one device number, each must be separated from the<br />

others by at least one blank.<br />

Each real device address represents a trio of devices. For example, specifying<br />

RDEV 111 222 333 means that the first devices, 111-113, are used to provide<br />

the connection to the real hardware LAN segment. If there is a problem with the<br />

connection, devices 222-224 are used next to provide the connection, <strong>and</strong> if<br />

those devices fail to connect, devices 333-335 are used. This feature provides<br />

dynamic recovery for OSA Express device failures.<br />

RDEV NONE means that the virtual switch should not be connected to the real<br />

LAN segment.<br />

CONnect<br />

indicates that the device identified by the RDEV keyword must be activated,<br />

<strong>and</strong> traffic must flow through the device to the real LAN segment. If an error<br />

occurs with one of the backup devices, issue the SET VSWITCH switchname<br />

CONNECT comm<strong>and</strong> to refresh the backup device once the problem is<br />

corrected.<br />

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

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

Saved successfully!

Ooh no, something went wrong!