def get_veth_slot_info_cmd(lpar_id, slotnum):
    """
    get virtual ethernet slot information
    For IVM, vswitch field is not supported.

    :param lpar_id: LPAR id
    :param slotnum: veth slot number
    :returns: A HMC command to get the virtual ethernet adapter information.
    """
    return ("lshwres -r virtualio --rsubtype eth --level "
            "lpar --filter lpar_ids=%(lparid)s,slots=%(slot)s "
            "-F is_trunk,trunk_priority,ieee_virtual_eth,"
            "port_vlan_id,addl_vlan_ids" %
            {'lparid': lpar_id, 'slot': slotnum})