Skip to main content

Useful CLI commands F5OS

CLI commands

ConfD on F5 is the CLI tool to get and set all config of the F5. You can get the same configuration options like in the F5OS UI.

Use "su admin" to start an interactive shell when you are logged in as root via ssh.

Useful CLI command line troubleshooting tools

Command Description
show system licensing The output displays licensing information for the F5OS system, including a list of active modules.
show system state The output displays the state about the F5OS system, like hostname, date/time, mac address...
show system image

Shows System Image information.

Example:

appliance-1# show system image
                                           IN
VERSION OS   STATUS  DATE        SIZE      USE   TYPE
-------------------------------------------------------
1.5.1-12283  ready   2023-08-14  926.15MB  true

VERSION                                  IN
SERVICE      STATUS  DATE        SIZE    USE    TYPE
------------------------------------------------------
1.5.1-12283  ready   2023-08-14  4.55GB  true
1.5.0-5781   ready   2023-08-14  4.55GB  false

                                         IN
VERSION ISO  STATUS  DATE        SIZE    USE    TYPE
------------------------------------------------------
1.5.1-12283  ready   2023-08-14  6.05GB  false

 

show components component platform state

Displays hardware info, serial-no, part-no, memory, temperature and more of the platform.

Example:

appliance-1# show components component platform state
state description    r5600
state serial-no      f5-wdbb-iodf
state part-no        "203-0411-05 REV B"
state empty          false
state tpm-integrity-status Valid
state memory available 9573109760
state memory free 4797321216
state memory used-percent 93
state memory platform-total 16107667456
state memory platform-used 5998272512
state temperature current 21.4
state temperature average 22.2
state temperature minimum 21.2
state temperature maximum 23.5
show port-mappings

The output displays information about port mappings and pipelines.

For more infos check the documentation:

F5OS-A for rSeries Architecture

F5OS-C for VELOS Architecture

show portgroups

shows the installed optics in each portgroup.

Example:

appliance-1# show portgroups
portgroups portgroup 1
 state vendor-name      "F5 NETWORKS INC."
 state vendor-oui       009065
 state vendor-partnum   "OPT-0031        "
 state vendor-revision  A0
 state vendor-serialnum "ABCD         "
 state transmitter-technology "850 nm VCSEL"
 state media            100GBASE-SR4
 state optic-state      QUALIFIED
portgroups portgroup 2
 state vendor-name      "F5 NETWORKS INC."
 state vendor-oui       009065
 state vendor-partnum   "OPT-0031        "
 state vendor-revision  A0
 state vendor-serialnum "ABCD         "
 state transmitter-technology "850 nm VCSEL"
 state media            100GBASE-SR4
 state optic-state      QUALIFIED
portgroups portgroup 3
 state vendor-name      "F5 NETWORKS INC."
 state vendor-oui       009065
 state vendor-partnum   "OPT-0016        "
 state vendor-revision  A1
 state vendor-serialnum "ABCD         "
 state transmitter-technology "850 nm"
 state media            10GBASE-SR
 state optic-state      QUALIFIED
portgroups portgroup 4
 state vendor-name      "F5 NETWORKS INC."
 state vendor-oui       009065
 state vendor-partnum   "OPT-0053        "
 state vendor-revision  A1
 state vendor-serialnum "ABCD         "
 state transmitter-technology ""
 state media            25GBASE-SR
 state optic-state      QUALIFIED
portgroups portgroup 5
 state vendor-name      "F5 NETWORKS INC."
 state vendor-oui       009065
 state vendor-partnum   "OPT-0016        "
 ....

 

system diagnostics tcpdump interface 0/0.0

tcpdump on any interface on host level. Also see:

https://techdocs.f5.com/en-us/f5os-a-1-3-0/f5-rseries-systems-supportability/overview-tcpdump.html

virtctl console <tenant_name>-<tenant_instance_ID>

Will connect to the console of a tenant.

See here: K33373310: Accessing an F5 rSeries tenant console