add mode for tnsping refs #5642