If you have defined your VSWITCH exactly like you first mentioned: define vswitch lnxvsw1 portname lnxvsw1 rdev 9004
then your problem is the PORTNAME. "rdef 9004" is being treated as
additional portnames. Like Alan said, leave it off.
See the syntax note for DEFINE VSWITCH:
Notes:
(1) You can specify the operands in any order, as long as switchname is
the first operand specified, and portname is the last operand specified,
if applicable.
