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 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        "
 ....