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.

DEFINE VSWITCH<br />

Examples<br />

Responses<br />

Messages<br />

The PORTNAME oper<strong>and</strong> is optional. However, some levels of the OSA<br />

Express adapters require that the PORTNAME oper<strong>and</strong> is specified. When<br />

such an adapter is in use <strong>and</strong> the PORTNAME oper<strong>and</strong> is omitted, an error<br />

message is displayed during switch initialization.<br />

If the device is already started, you must stop it by issuing the SET VSWITCH<br />

switchname DISCONNECT comm<strong>and</strong> before changing the port name.<br />

10. PRIROUTER is required only when IP forwarding (routing) nodes will be<br />

coupled to the switch. Router nodes provide connectivity for their LAN<br />

segments (remote nodes) through their switch connection. When Router nodes<br />

are deployed, their switch connection must be configured as PRIROUTER. In<br />

addition to this, the switch itself must also be configured as PRIROUTER to<br />

the OSA-E adapter. This will insure delivery of datagrams destined for LAN<br />

segments that are connected through routers coupled to a switch. Only one<br />

connection on each OSA-Express card can be designated as PRIROUTER. If<br />

the switch is successful in establishing PRIROUTER on the OSA-Express<br />

card, no other node (or switch) sharing the same OSA-Express card will be<br />

able to act as PRIROUTER. If another connection has already been<br />

established as PRIROUTER, the switch will be left with NONROUTER status<br />

(which is reflected in the QUERY VSWITCH response).<br />

11. NONROUTER is the default mode for the switch. Every node is directly<br />

coupled to the switch <strong>and</strong> the associated IP destinations are registered with the<br />

OSA Express connection. This is the most efficient way to use the virtual<br />

switch. In this mode, packets with an unrecognized IP destination are<br />

automatically sent out through the switch connection.<br />

12. For a VLAN aware Virtual Switch, you should specify the same default VLAN<br />

ID (defvid) as specified in your configuration of any physical switches in your<br />

network. Most hardware manufacturers use a default of 1.<br />

13. SET VSWITCH cannot be used to change the VLAN awareness attribute. To<br />

change the attribute, detach the Virtual Switch <strong>and</strong> define it again with the<br />

correct attribute.<br />

14. If the Virtual Switch is defined as VLAN UNAWARE, any attempts to define a<br />

VLAN membership will fail. When the <strong>CP</strong> address list is used, SET or MODIFY<br />

VSWITCH GRANT with VLAN membership list fails. When an ESM is used,<br />

the COUPLE comm<strong>and</strong> fails if a VLAN list is returned by the ESM.<br />

1. To define a switch named BIGANG that connects to a real LAN through device<br />

fd00, specify the following:<br />

define vswitch bigang rdev fd00<br />

Response 1:<br />

VSWITCH SYSTEM switchname is created<br />

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

H<strong>CP</strong>2846E The PORTTYPE option is not allowed<br />

for a VLAN UNAWARE virtual switch<br />

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

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

Saved successfully!

Ooh no, something went wrong!