On a virtual I/O server, the IOS version can be displayed as user padmin using the ioslevel command:
padmin> ioslevel 3.1.2.10 padmin>
As user root (after using oem_setup_env), the IOS version can be shown as follows:
# /usr/ios/cli/ioscli ioslevel 3.1.2.10 #
However, both commands do not work as a normal, non-privileged user:
$ ioslevel ksh: ioslevel: not found. $ /usr/ios/cli/ioscli ioslevel Access to run command is not valid. $
The IOS version is simply stored in a text file and can be easily displayed as a normal user with the cat command:
$ cat /usr/ios/cli/ios.level 3.1.2.10 $