## switch2test Test Options

The `switch2test`(1M) test is used to diagnose the Sun StorEdge Network 1 Gbit and 2 Gbit Fibre Channel switches. The `switch2test` process also provides command-line access to switch diagnostics. `switch2test` supports testing on local and remote switches.

`switch2test` runs the port diagnostic on connected switch ports. While `switch2test` is running, the port statistics are monitored for errors.

`switch2test` Test Options table describes the test mode options for the switch2test test.

Option | Description
--- | ---
Transfer Size | Specifies the transfer count for the port test, between 200 and 2000
Iterations | Specifies the number of iterations the port test will run, between 0 and 1,000,000.
User Defined Pattern | Specifies the default pattern, in hexadecimal format, to be used for the port test. You can also enter the hexadecimal pattern to run for the test.
Select Pattern Type | Gives the user the choice of running the one user pattern, critical patterns (10 of the most critical patterns), or all patterns (a complete list of test patterns)
Password | A password is required for the Sun StorEdge Network 2 Gbit Fibre Channel switches.
Number of Passes | Specifies the number of times the test will run. The default is 1.

### CLI Help Man Page

- `switch2test`.1m (2 Gb)