Checking the FCES status of a CHPID

6.10 LPAR mode z/VM guest KVM guest

For Linux® on IBM® Z, directories that represent CHPIDs contain a read-only attribute, esc, that you can use to query the Fibre Channel Endpoint Security capability of I/O channel-paths.

About this task

The esc sysfs attribute can have the following values:
0
FCES is not supported.
1
The channel path supports authentication.
2 or 3
The channel path supports authentication and encryption.

Procedure

To read the FCES status of a CHPID, issue:
# cat /sys/devices/css0/chp0.<CHPID>/esc
For example:
# cat /sys/devices/css0/chp0.34/esc
2