I need to use command ping on F5 rSeries. I undarstand that ping command is not availible on F5OS, but with local credentials I annnot to switch from F5OS to bash Linux shell.
Do you know how I can enter in bash shell or if there is a workaround to use ping in F5OS prompt?
Partial progress. On version 1.8.3 EHF after I commit:
system aaa authentication config superuser-bash-access true
it enabled me to run the following:
lab-f5os-1# system diagnostics net-utils ?
Possible completions:
dig Run dig
ping Run ping
ping6 Run ping6
shell Run the diagnostic shell tool.
tracepath Run tracepath
tracepath6 Run tracepath6
traceroute Run traceroute
traceroute6 Run traceroute6
Although the “shell” command is listed it doesn’t do much. I expected it to put me in the bash prompt but it doesn’t do much of anything. I assume it is still under development.
lab-f5os-1# system diagnostics net-utils shell ?
Please use any of listed commands : [‘ping’, ‘ping6’, ‘traceroute’, ‘traceroute6’, ‘tracepath’, ‘tracepath6’, ‘dig’].
Enter exit to return to CLI.
For detailed help enter command -h. Example: ping -h
The ‘shell’ option allows you to execute network diagnostics commands from the shell without going back to the original prompt. It provides an interactive interface to execute multiple commands.
I guess for the time being bash is only accessible with the root account, but then why does
state:
superuser
This role provides root access privileges and bash access to the system, allowing users with the superuser role to execute commands from bash shell. To get the bash shell, users must set the ‘superuser-bash-access’ flag in ConfD to ‘true’ and turn off the appliance mode
and an example of a secondary role with the superuser GID?