F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

romolo82's avatar
romolo82
Icon for Cirrus rankCirrus
Sep 30, 2025
Solved

Bash shell and ping command on F5 rseries

Hi,

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?

 

Thanks a lot, bye

8 Replies

  • If you are logged in with admin account you cannot access bash
    Try ssh with root

  • In the GUI you can change the admin profile to allow you to go into advanced shell instead which will allow you to switch between TMOS and Bash.

  • https://clouddocs.f5.com/api/rseries-api/F5OS-A-1.8.0-cli.html#r5r10-system-diagnostics-net-utils

    • romolo82's avatar
      romolo82
      Icon for Cirrus rankCirrus

      Thanks, I've read the "system diagnostics net-utils" section, but it seems like ping isn't working on my system and I don't know why:

      F5RS-D-INPS-A-01-BOX_CORE-RKB10# system diagnostics ?
      Possible completions:
        core-files   core-files list/delete CLIs
        ihealth      
        qkview       qkview - diagnostics package commands.
        tcpdump      Run tcpdump
      F5RS-D-INPS-A-01-BOX_CORE-RKB10# system diagnostics 

  • Yeah, I would open a support ticket with F5 and let them explain that one.

  • 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

    Enter command:

  • https://techdocs.f5.com/en-us/velos-1-8-1/velos-systems-administration-configuration/title-network-settings.html

    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 

    https://techdocs.f5.com/en-us/f5os-a-1-8-0/f5-rseries-systems-administration-configuration/title-auth-access.html#auth-access-webui

    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?

     

    radius_user Cleartext-Password := test 

    F5-F5OS-UID := 1001,

    F5-F5OS-GID := 9000,

     F5-F5OS-SECONDARYGIDS := “9004”,

    F5-F5OS-HOMEDIR := "/tmp",

     F5-F5OS-SHELL := "/var/lib/controller/f5_confd_cli"