smc_chk - Verify SMC setups
Use the smc_chk command to verify that SMC-D or SMC-R connectivity is set up correctly and is operable.
The command runs a connectivity test, and displays errors if the test fails.
smc_chk syntax
Where:
- -C or --connect <IP_address>
- Obtains diagnostic information about the SMC support of a service that runs at a specified IP address. Use the -p option to specify a port.
- -S or --server
- Starts a server for manual tests. Use the -p option to specify a port.
- -p or --port <port>
- Specifies the port to use for tests. When you start a server by using -S, and if the specified port is in use, the next free port is chosen.
- -i or --pnetid <interface>
- Prints the PNET ID of the specified interface and exits.
- -6 or --ipv6
- The IP address that is provided is in IPv6 format.
- -d or --debug
- Shows debug messages.
- -v or --version
- Displays version information.
- -h or --help
- Displays a brief smc_chk usage information.
Examples
- To check whether a z/OS instance with IP address 192.168.37.1 is enabled for SMC using the 3270
console service that is running on port 23:
# smc_chk -C 192.168.37.1 -p 23 Test with target IP 192.168.37.1 and port 23 Live test (SMC-D and SMC-R) Success, using SMC-D
- To print the PNET ID of interface encf5f0:
# smc_chk -i encf5f0 PNET5
- To start a server on port 45901 (or the next available free
port):
smc_chk -S -p 45901