ffx


Usage: ffx [-c <config...>] [-e <env>] [--machine <machine>] [-t <target>] [-T <timeout>] [<command>] [<args>]

Fuchsia's developer tool

Options:


  -c, --config      override default configuration
  -e, --env         override default environment settings
  --machine         produce output for a machine in the specified format;
                    available formats: "json"
  -t, --target      apply operations across single or multiple targets
  -T, --timeout     override default proxy timeout
  --help            display usage information

Commands:


  net               View and manage target network configuration
  assembly          Assemble images
  component         Discover and manage components
  config            View and switch default and user configurations
  cts               Build and run CTS tests.
  daemon            Interact with/control the ffx daemon
  debug             Start a debugging session.
  doctor            Run common checks for the ffx tool and host environment
  driver            Support driver development workflows
  efi               Manipulate efi partition
  emu               Start and manage Fuchsia emulators
  flutter           Interact with Flutter components on the target.
  inspect           Query component nodes exposed via the Inspect API
  log               Display logs from a target device
  overnet           Interact with the Overnet mesh
  package           Create and publish Fuchsia packages
  pdk               PDK related tool.
  platform          Manage platform build prerequisites
  profile           Profile run-time information from various subsystems
  repository        Inspect and manage package repositories
  schema            Print out ffx schema
  scrutiny          Audit the security of Fuchsia
  sdk               Modify or query the installed SDKs
  self-test         Execute the ffx self-test (e2e) suite
  session           Control the session
  starnix           Control starnix processes
  target            Interact with a target device or emulator
  trace             Interact with the tracing subsystem
  version           Print out ffx tool and daemon versions
  wlan              Developer tool for manipulating WLAN state.
  test              Run test suite

assembly


Usage: ffx assembly <command> [<args>]

Assemble images

Options:


  --help            display usage information

Commands:


  image             perform the assembly of images
  create-update     construct an UpdatePackage using images and package.
  config_data       Arguments for creating a new config data package based off
                    an existing one.

an


Unrecognized argument: an

config_data


Usage: ffx assembly config_data [<changes...>] --out-path <out-path> --meta-far <meta-far>

Arguments for creating a new config data package based off an existing one.

Options:


  --out-path        the filename to write the new config data meta.far to. if it
                    is a directory, meta.far will be written to the directory.
  --meta-far        the input config data package, in the form of a meta.far.
  --help            display usage information

create-update


Usage: ffx assembly create-update [--packages <packages>] --partitions <partitions> [--system-a <system-a>] [--system-r <system-r>] --board-name <board-name> --version-file <version-file> --epoch <epoch> [--update-package-name <update-package-name>] --outdir <outdir> [--gendir <gendir>]

construct an UpdatePackage using images and package.

Options:


  --packages        path to a packages manifest, which specifies what packages
                    to update.
  --partitions      path to a partitions config, which specifies where in the
                    partition table the images are put.
  --system-a        path to an images manifest, which specifies images to put in
                    slot A.
  --system-r        path to an images manifest, which specifies images to put in
                    slot R.
  --board-name      name of the board. Fuchsia will reject an Update Package
                    with a different board name.
  --version-file    file containing the version of the Fuchsia system.
  --epoch           backstop OTA version. Fuchsia will reject updates with a
                    lower epoch.
  --update-package-name
                    name to give the Update Package. This is currently only used
                    by OTA tests to allow publishing multiple update packages to
                    the same amber repository without naming collisions.
  --outdir          directory to write the UpdatePackage.
  --gendir          directory to write intermediate files.
  --help            display usage information

image


Usage: ffx assembly image [--product <product...>] --board <board> --outdir <outdir> [--gendir <gendir>]

perform the assembly of images

Options:


  --product         the configuration file(s) that specifies the packages,
                    binaries, and settings specific to the product being
                    assembled.  If multiple files are provided, they will be
                    merged.  Only one can provide a kernel configuration.
  --board           the configuration file that specifies the packages,
                    binaries, and settings specific to the board being
                    assembled.
  --outdir          the directory to write assembled outputs to.
  --gendir          the directory to write generated intermediate files to.
  --help            display usage information

component


Usage: ffx component <command> [<args>]

Discover and manage components

Options:


  --help            display usage information

Commands:


  bind              Binds to a component instance, causing it to start
  create            Creates a component instance, adding it to the component
                    topology
  data              Manages persistent data storage of components
  destroy           Destroys a component instance, removing it from the
                    component topology
  knock             Connects to a capability described by a given selector
  list              Lists all components in the component topology
  resolve           Resolves a component instance
  run               Creates and binds to a component instance
  run-legacy        Runs a legacy (CMX) component instance on the target
  select            Lists component instances matching a selector
  show              Shows detailed information about a component instance
  stop              Stops a component instance

bind


Usage: ffx component bind <moniker>

Binds to a component instance, causing it to start

Options:


  --help            display usage information

Examples:
  To bind to the component instance designated by the moniker `/core/brightness_manager`:
  
      $ ffx component bind /core/brightness_manager

Notes:
  To learn more about running components, visit https://fuchsia.dev/fuchsia-src/development/components/run

component


Unrecognized argument: component

create


Usage: ffx component create <moniker> <url>

Creates a component instance, adding it to the component topology

Options:


  --help            display usage information

Examples:
  To create a component instance designated by the moniker `/core/ffx-laboratory:foo`:
  
      $ ffx component create /core/ffx-laboratory:foo fuchsia-pkg://fuchsia.com/hello-world#meta/hello-world-rust.cm

Notes:
  To learn more about running components, visit https://fuchsia.dev/fuchsia-src/development/components/run

data


Usage: ffx component data <command> [<args>]

Manages persistent data storage of components

Options:


  --help            display usage information

Commands:


  copy              Copy files to/from a component's persistent data storage. If
                    the file already exists at the destination it is
                    overwritten.
  list              List the contents of a component's persistent data storage.
  make-directory    Create a new directory in a component's persistent data
                    storage. If the directory already exists, this operation is
                    a no-op.

a


Unrecognized argument: a

copy


Usage: ffx component data copy <source_path> <destination_path>

Copy files to/from a component's persistent data storage. If the file already exists at the destination it is overwritten.

Options:


  --help            display usage information

Examples:
  To copy `credentials.json` from the current working directory on the host to the `settings` directory of a component's persistent data storage:
  
      $ ffx component data copy ./credentials.json 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520::settings/credentials.json
  
  Note: 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520 is the instance ID of
  the component whose persistent data storage is being accessed.
  
  To learn about component instance IDs, visit https://fuchsia.dev/fuchsia-src/development/components/component_id_index

list


Usage: ffx component data list <path>

List the contents of a component's persistent data storage.

Options:


  --help            display usage information

Examples:
  To list the contents of the `settings` directory in a component's persistent data storage:
  
      $ ffx component data list 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520::settings
  
  To list the contents of the root directory of a component's persistent data storage:
  
      $ ffx component data list 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520::/
  
  Note: 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520 is the instance ID of
  the component whose persistent data storage is being accessed.
  
  To learn about component instance IDs, visit https://fuchsia.dev/fuchsia-src/development/components/component_id_index

make-directory


Usage: ffx component data make-directory <path>

Create a new directory in a component's persistent data storage. If the directory already exists, this operation is a no-op.

Options:


  --help            display usage information

Examples:
  To make a `settings` directory in a storage:
  
      $ ffx component data make-directory 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520::settings
  
  Note: 2042425d4b16ac396ebdb70e40845dc51516dd25754741a209d1972f126a7520 is the instance ID of
  the component whose persistent data storage is being accessed.
  
  To learn about component instance IDs, visit https://fuchsia.dev/fuchsia-src/development/components/component_id_index

overwritten.


Unrecognized argument: overwritten.

storage.


Unrecognized argument: storage.

the


Unrecognized argument: the

destroy


Usage: ffx component destroy <moniker>

Destroys a component instance, removing it from the component topology

Options:


  --help            display usage information

Examples:
  To destroy a component instance designated by the moniker `/core/ffx-laboratory:foo`:
  
      $ ffx component destroy /core/ffx-laboratory:foo

Notes:
  To learn more about running components, visit https://fuchsia.dev/fuchsia-src/development/components/run

knock


Usage: ffx component knock <selector>

Connects to a capability described by a given selector

Options:


  --help            display usage information

Examples:
  To connect to a service:
  
      $ ffx component knock 'core/appmgr:out:fuchsia.hwinfo.Product'

Notes:
  Knock verifies the existence of a capability by attempting to connect to it.
  The command expects a <selector> with the following format:
  
  `<component moniker>:(in|out|exposed)[:<service name>].`
  
  Note that wildcards can be used but must match exactly one service.
  
  `ffx component select` can be used to explore the component
  topology and find the correct selector for use in this command.

list


Usage: ffx component list [-o <only>] [-v]

Lists all components in the component topology

Options:


  -o, --only        output only cmx/cml/running/stopped components depending on
                    the flag.
  -v, --verbose     whether or not to display a column showing component type
                    and a column showing running/stopped.
  --help            display usage information

Examples:
  To list all components in the topology:
  
      $ ffx component list
  
      To list all cmx components in the topology:
  
      $ ffx component list --only cmx
  
      To list all cml components in the topology:
  
      $ ffx component list --only cml
  
      To list all running components in the topology:
  
      $ ffx component list --only running
  
      To list all stopped components in the topology:
  
      $ ffx component list --only stopped

resolve


Usage: ffx component resolve <moniker>

Resolves a component instance

Options:


  --help            display usage information

Examples:
  To resolve the component designated by the provided moniker `/core/brightness_manager`:
  
      $ ffx component resolve /core/brightness_manager

run


Usage: ffx component run <url> [-n <name>] [-r]

Creates and binds to a component instance

Options:


  -n, --name        specify a name for the component instance. if this flag is
                    not set, the instance name is derived from the component
                    URL.
  -r, --recreate    destroy and recreate the component instance if it already
                    exists
  --help            display usage information

Examples:
  To create a component instance from the `hello-world-rust` component URL:
  
      $ ffx component run fuchsia-pkg://fuchsia.com/hello-world#meta/hello-world-rust.cm

Notes:
  This command is a shorthand for the following:
  
      $ ffx component create /core/ffx-laboratory:<instance-name> <component-url>
      $ ffx component bind /core/ffx-laboratory:<instance-name>
  
  To learn more about running components, visit https://fuchsia.dev/fuchsia-src/development/components/run

run-legacy


Usage: ffx component run-legacy <url> [<args...>] [-b]

Runs a legacy (CMX) component instance on the target

Options:


  -b, --background  switch to turn on background info
  --help            display usage information

Examples:
  To run the 'hello_world_rust' component:
  
      $ ffx component run-legacy \
      fuchsia-pkg://fuchsia.com/hello_world_rust#meta/hello_world_rust.cmx
  
  To run the Remote Control Service:
  
      $ ffx component run-legacy \
      fuchsia-pkg://fuchsia.com/remote-control#meta/remote-control-runner.cmx

Notes:
  To learn more about component URLs, visit https://fuchsia.dev/fuchsia-src/concepts/components/component_urls

select


Usage: ffx component select <command> [<args>]

Lists component instances matching a selector

Options:


  --help            display usage information

Commands:


  moniker           subcommand moniker
  capability        subcommand capability

Examples:
  To show services exposed by remote-control:
  
      $ ffx component select moniker remote-control:expose:*'
  
  Or to show all services offered by v1 components:
  
      $ ffx component select moniker core/appmgr:out:*
  
  Or to show all components that expose a capability:
  
      $ ffx component select capability fuchsia.sys.Loader

Notes:
  Component select allows for 
  1). looking up various services exposed by the
  component. The command expects a <selector> with the following format:
  
  `<component moniker>:(in|out|exposed)[:<service name>]`
  
  Wildcards may be used anywhere in the selector.
  
  2). looking up components that expose a capability. The command takes in 
  a capability name consists of a string containing the characters a to z, 
  A to Z, 0 to 9, underscore (_), hyphen (-), or the full stop character (.).

capability


Usage: ffx component select capability <capability>

subcommand capability

Options:


  --help            display usage information

moniker


Usage: ffx component select moniker <moniker>

subcommand moniker

Options:


  --help            display usage information

show


Usage: ffx component show <filter>

Shows detailed information about a component instance

Options:


  --help            display usage information

Examples:
  To show information about the `brightness_manager` component instance, all of the
  following commands are valid:
  
      $ ffx component show /core/brightness_manager
      $ ffx component show fuchsia-pkg://fuchsia.com/brightness_manager#meta/brightness_manager.cm
      $ ffx component show meta/brightness_manager.cm
      $ ffx component show brightness_manager

Notes:
  This command supports partial matches over the moniker and URL

stop


Usage: ffx component stop <moniker> [-r]

Stops a component instance

Options:


  -r, --recursive   whether or not to stop the component recursively
  --help            display usage information

Examples:
  To stop the component instance designated by the moniker `/core/brightness_manager`:
  
      $ ffx component stop /core/brightness_manager

Notes:
  To learn more about running components, visit https://fuchsia.dev/fuchsia-src/development/components/run

topology


Unrecognized argument: topology

config


Usage: ffx config <command> [<args>]

View and switch default and user configurations

Options:


  --help            display usage information

Commands:


  env               list environment settings
  get               display config values
  set               set config settings
  remove            remove config for a given level
  add               add config value the end of an array
  analytics         enable or disable analytics

add


Usage: ffx config add <name> <value> [-l <level>] [-b <build-dir>]

add config value the end of an array

Options:


  -l, --level       config level. Possible values are "user", "build", "global".
                    Defaults to "user".
  -b, --build-dir   an optional build directory to associate the build config
                    provided - use used for "build" configs
  --help            display usage information

Notes:
  This will always add to the end of an array.  Adding to a subtree is not supported. If the current value is not an array, it will convert the value to an array.  If you want to insert a value in a different position, consider editing the configuration file directly.  Configuration file locations can be found by running `ffx config env get` command.

analytics


Usage: ffx config analytics <command> [<args>]

enable or disable analytics

Options:


  --help            display usage information

Commands:


  enable            enable analytics
  disable           disable analytics
  show              show analytics

disable


Usage: ffx config analytics disable

disable analytics

Options:


  --help            display usage information

enable


Usage: ffx config analytics enable

enable analytics

Options:


  --help            display usage information

show


Usage: ffx config analytics show

show analytics

Options:


  --help            display usage information

env


Usage: ffx config env [<command>] [<args>]

list environment settings

Options:


  --help            display usage information

Commands:


  set               set environment settings
  get               list environment for a given level

get


Usage: ffx config env get [<level>]

list environment for a given level

Options:


  --help            display usage information

set


Usage: ffx config env set <file> [-l <level>] [-b <build-dir>]

set environment settings

Options:


  -l, --level       config level. Possible values are "user", "build", "global".
                    Defaults to "user".
  -b, --build-dir   an optional build directory to associate the build config
                    provided - use used for "build" configs
  --help            display usage information

get


Usage: ffx config get [<name>] [-p <process>] [-s <select>] [-b <build-dir>]

display config values

Options:


  -p, --process     how to process results. Possible values are "raw", "sub",
                    and "sub_flat".  Defaults to "raw". Currently only supported
                    if a name is given.
  -s, --select      how to collect results. Possible values are "first" and
                    "all".  Defaults to "first".  If the value is "first", the
                    first value found in terms of priority is returned. If the
                    value is "all", all values across all configuration levels
                    are aggregrated and returned. Currently only supported if a
                    name is given.
  -b, --build-dir   an optional build directory to associate the build config
                    provided - use used for "build" configs
  --help            display usage information

Error codes:
  2 No value found

remove


Usage: ffx config remove <name> [-l <level>] [-b <build-dir>]

remove config for a given level

Options:


  -l, --level       config level. Possible values are "user", "build", "global".
                    Defaults to "user".
  -b, --build-dir   an optional build directory to associate the build config
                    provided - use used for "build" configs
  --help            display usage information

Notes:
  This will remove the entire value for the given name.  If the value is a subtree or array, the entire subtree or array will be removed.  If you want to remove a specific value from an array, consider editing the configuration file directly.  Configuration file locations can be found by running `ffx config env get` command.

set


Usage: ffx config set <name> <value> [-l <level>] [-b <build-dir>]

set config settings

Options:


  -l, --level       config level. Possible values are "user", "build", "global".
                    Defaults to "user".
  -b, --build-dir   an optional build directory to associate the build config
                    provided - use used for "build" configs
  --help            display usage information

cts


Usage: ffx cts <command> [<args>]

Build and run CTS tests.

Options:


  --help            display usage information

Commands:


  run               Run CTS tests.

run


Usage: ffx cts run [--cts-version <cts-version>] [--tests <tests>]

Run CTS tests.

Options:


  --cts-version     string, version of CTS to run.
  --tests           string, comma-separated list of tests to run.
  --help            display usage information

daemon


Usage: ffx daemon <command> [<args>]

Interact with/control the ffx daemon

Options:


  --help            display usage information

Commands:


  crash             crash the daemon
  echo              run echo test against the daemon
  hang              hang the daemon
  log               Dumps the daemon log
  start             run as daemon
  stop              stops a running daemon

crash


Usage: ffx daemon crash

crash the daemon

Options:


  --help            display usage information

echo


Usage: ffx daemon echo [<text>]

run echo test against the daemon

Options:


  --help            display usage information

hang


Usage: ffx daemon hang

hang the daemon

Options:


  --help            display usage information

log


Usage: ffx daemon log [-f] [-l <line-count>]

Dumps the daemon log

Options:


  -f, --follow      print appended logs as they happen
  -l, --line-count  display most recent log lines.
  --help            display usage information

start


Usage: ffx daemon start

run as daemon

Options:


  --help            display usage information

stop


Usage: ffx daemon stop

stops a running daemon

Options:


  --help            display usage information

debug


Usage: ffx debug <command> [<args>]

Start a debugging session.

Options:


  --help            display usage information

Commands:


  core              debug a minidump using zxdb
  fidl              uses fidlcat to automatically manage breakpoints to trace
                    the fidl messages and/or the syscalls
  run               start a debugging session
  symbol-index      manages symbol-index

core


Usage: ffx debug core <minidump> [--zxdb-args <zxdb-args...>]

debug a minidump using zxdb

Options:


  --zxdb-args       extra arguments passed to zxdb
  --help            display usage information

fidl


Usage: ffx debug fidl [--from <from>] [--to <to>] [--format <format>] [--with <with...>] [--with-process-info] [--stack <stack>] [--syscalls <syscalls...>] [--exclude-syscalls <exclude-syscalls...>] [--messages <messages...>] [--exclude-messages <exclude-messages...>] [--trigger <trigger...>] [--thread <thread...>] [--dump-messages] [--remote-pid <remote-pid...>] [-f <remote-name...>] [--extra-name <extra-name...>] [--remote-job-id <remote-job-id...>] [--remote-job-name <remote-job-name...>]

uses fidlcat to automatically manage breakpoints to trace the fidl messages and/or the syscalls

Options:


  --from            specifies the source. Source can be: device: this is the
                    default input. The input comes from the live monitoring of
                    one or several processes. At least one of '--remote-pid',
                    '--remote-name', '--remote-job-id', --'remote-job-name',
                    'run' must be specified. dump: The input comes from stdin
                    which is the log output of one or several programs. The
                    lines in the log which dump syscalls are decoded and
                    replaced by the decoded version. All other lines are
                    unchanged. <path>: playback. Used to replay a session
                    previously recorded with --to <path> (protobuf format). Path
                    gives the name of the file to read. If path is '-' then the
                    standard input is used. This option must be used at most
                    once.
  --to              the session is saved to the specified file (binary protobuf
                    format). When a session is saved, you can replay it using
                    "--from <path>". The raw data is saved. That means that the
                    data saved is independent from what is displayed.
  --format          the display format for the session dump. The available
                    formats are: pretty: the session is pretty printed (with
                    colors). This is the default output if --with is not used.
                    json: the session is printed using a json format. textproto:
                    the session is printed using a text protobuf format. none:
                    nothing is displayed on the standard output (this option
                    only makes sense when used with `--to` or with `--with`).
                    When there is no output, fidlcat is faster (this is better
                    to monitor real time components). This is the default output
                    when --with is used.
  --with            specifies an extra summarized output. summary: at the end of
                    the session, a summary of the session is displayed on the
                    standard output. top: at the end of the session, generate a
                    view that groups the output by process, protocol, and
                    method. The groups are sorted by number of events, so groups
                    with more associated events are listed earlier.
                    group-by-thread: for each thread display a short version of
                    all the events. An equal sign followed by a path can be
                    concatanated to the option to output the result in a file
                    instead of the standard output (for example: --with
                    summary=/tmp/x). This option can be used several times.
  --with-process-info
                    display the process name, process id and thread id on each
                    line (useful for grep).
  --stack           define the amount of stack frame to display 0: none (default
                    value) 1: call site (1 to 4 levels) 2: full stack frame
                    (adds some overhead)
  --syscalls        a regular expression which selects the syscalls to decode
                    and display. This option can be specified multiple times. By
                    default, only zx_channel_.* syscalls are displayed. To
                    display all the syscalls, use: --syscalls ".*"
  --exclude-syscalls
                    a regular expression which selects the syscalls to not
                    decode and display. This option can be specified multiple
                    times. To be displayed, a syscall must verify --syscalls and
                    not verify --exclude-syscalls. To display all the syscalls
                    but the zx_handle syscalls, use: --syscalls ".*"
                    --exclude-syscalls "zx_handle_.*"
  --messages        a regular expression which selects the messages to display.
                    To display a message, the method name must satisfy the
                    regexp. This option can be specified multiple times. Message
                    filtering works on the method's fully qualified name.
  --exclude-messages
                    a regular expression which selects the messages to not
                    display. If a message method name satisfy the regexp, the
                    message is not displayed (even if it satisfies --messages).
                    This option can be specified multiple times. Message
                    filtering works on the method's fully qualified name.
  --trigger         start displaying messages and syscalls only when a message
                    for which the method name satisfies the filter is found.
                    This option can be specified multiple times. Message
                    filtering works on the method's fully qualified name.
  --thread          only display the events for the specified thread. This
                    option can be specified multiple times. By default all the
                    events are displayed.
  --dump-messages   always does a hexadecimal dump of the messages even if we
                    can decode them.
  --remote-pid      the koid of the remote process to trace.
  -f, --remote-name the <name> of a process. Fidlcat will monitor all existing
                    and future processes whose names includes <name> (<name> is
                    a substring of the process name). This option can be
                    specified multiple times. When used with --remote-job-id or
                    --remote-job-name, only the processes from the selected jobs
                    are taken into account.
  --extra-name      like --remote-name, it monitors some processes. However, for
                    these processes, monitoring starts only when one of of the
                    "--remote-name" process is launched. Also, fidlcat stops
                    when the last "--remote-name" process stops (even if some
                    "--extra-name"  processes are still monitored). This option
                    can be specified multiple times.
  --remote-job-id   the koid of a remote job for which we want to monitor all
                    the processes. Only jobs created before fidlcat is launched
                    are monitored. This option can be specified multiple times.
  --remote-job-name the name of a remote job for which we want to monitor all
                    the processes. All the jobs which contain <name> in their
                    name are used. Only jobs created before fidlcat is launched
                    are monitored. This option can be specified multiple times.
  --help            display usage information

run


Usage: ffx debug run [--zxdb-args <zxdb-args...>]

start a debugging session

Options:


  --zxdb-args       extra arguments passed to zxdb
  --help            display usage information

symbol-index


Usage: ffx debug symbol-index <command> [<args>]

manages symbol-index

Options:


  --help            display usage information

Commands:


  list              show the content in symbol index
  add               add a path to the symbol index
  remove            remove a path from the symbol index
  clean             remove all non-existent paths

Notes:
  symbol-index is a global configuration used by debugging tools to locate
  symbol files.

add


Usage: ffx debug symbol-index add <path> [--build-dir <build-dir>]

add a path to the symbol index

Options:


  --build-dir       optional build directory used by zxdb to locate the source
                    code
  --help            display usage information

Notes:
  Add a path to the symbol index. The path could be
    - A build-id directory, with an optional build directory.
    - An ids.txt file, with an optional build directory.
    - A file that ends with .symbol-index.json.
  
  Duplicated adding of the same path is a no-op, regardless of the optional
  build directory.

clean


Usage: ffx debug symbol-index clean

remove all non-existent paths

Options:


  --help            display usage information

Notes:
  Remove all non-existent paths from the symbol index, useful as a garbage
  collection.

list


Usage: ffx debug symbol-index list [-a]

show the content in symbol index

Options:


  -a, --aggregated  show the aggregated symbol index
  --help            display usage information

remove


Usage: ffx debug symbol-index remove <path>

remove a path from the symbol index

Options:


  --help            display usage information

Notes:
  Remove a path from the symbol index. The path could be
    - A build-id directory.
    - An ids.txt file.
    - A file that ends with .symbol-index.json.

the


Unrecognized argument: the

doctor


Usage: ffx doctor [--record] [--no-config] [--retry-count <retry-count>] [--retry-delay <retry-delay>] [--restart-daemon] [--output-dir <output-dir>]

Run common checks for the ffx tool and host environment

Options:


  --record          generates an output zip file with logs
  --no-config       do not include the ffx configuration file
  --retry-count     number of times to retry failed connection attempts
  --retry-delay     timeout delay in ms during connection attempt
  --restart-daemon  force restart the daemon, even if the connection is working
  --output-dir      override the default output directory for doctor records
  --help            display usage information

Examples:
  To run diagnostics:
  
      $ ffx doctor
  
  To capture the output and additional logs:
  
      $ ffx doctor --record
  
  By default, this outputs the zip in the current directory.
  
  To override output dir:
  
      $ ffx doctor --record --output-dir /tmp/ffx

Notes:
  The `doctor` subcommand automatically attempts to repair common target
  interaction issues and provides useful diagnostic information to the user.
  
  By default, running `ffx doctor` attempts to establish a connection with
  the daemon, and restarts the daemon if there is no connection. The default
  `retry_count` is '3' and the default 'retry_delay` is '2000' milliseconds.

driver


Usage: ffx driver <command> [<args>]

Support driver development workflows

Options:


  --help            display usage information

Commands:


  debug-bind        Allows you to debug bind decisions.
  device            Performs specified subcommand on device
  dump              Dump device tree
  list              List drivers
  list-devices      List devices
  list-hosts        List driver hosts and drivers loaded within them
  lsblk             Prints out block device info
  lspci             Prints out pci device info
  lsusb             Print the device tree of the target to stdout
  register          Informs the driver manager that a new driver package is
                    available. The driver manager will cache a copy of the
                    driver
  restart           Restart all driver hosts containing the driver specified by
                    driver_path.

available.


Unrecognized argument: available.

debug-bind


Usage: ffx driver debug-bind <driver_path> <device_path> [-p] [-i]

Allows you to debug bind decisions.

Options:


  -p, --print-properties
                    print out the device properties.
  -i, --print-instructions
                    print out the bind program instructions.
  --help            display usage information

Examples:
  To debug why a driver did or didn't bind to a particular device:
  
    $ ffx driver debug-bind '/boot/driver/usb_video.so' 'sys/platform/pci/00:1f.6'

Error codes:
  1 Failed to connect to the bind debugger service

device


Usage: ffx driver device <command> [<args>]

Performs specified subcommand on device

Options:


  --help            display usage information

Commands:


  bind              Binds the driver specified to the specified device.
  unbind            Unbinds the driver bound to the specified device.
  log-level         Sets or prints the log level for the specified device. If
                    log_level is not specified, will print current log level.

Examples:
  To unbind a driver
  
      $ ffx driver device unbind 'sys/platform/pci:00:01.6'

Error codes:
  1 Failed to open device

bind


Usage: ffx driver device bind <driver_path> <device_path>

Binds the driver specified to the specified device.

Options:


  --help            display usage information

log-level


Usage: ffx driver device log-level <device_path> [<log_level>]

Sets or prints the log level for the specified device. If log_level is not specified, will print current log level.

Options:


  --help            display usage information

log_level


Unrecognized argument: log_level

unbind


Usage: ffx driver device unbind <device_path>

Unbinds the driver bound to the specified device.

Options:


  --help            display usage information

driver


Unrecognized argument: driver

driver_path.


Unrecognized argument: driver_path.

dump


Usage: ffx driver dump [-v] [-g]

Dump device tree

Options:


  -v, --verbose     list all device properties.
  -g, --graph       output device graph in dot language so that it may be viewed
  --help            display usage information

Examples:
  To dump the device tree:
  
      $ ffx driver dump
  To graph device tree:
      
      $ ffx driver dump --graph | dot -Tpng | display

Error codes:
  1 Failed to connect to the driver development service

list


Usage: ffx driver list [-v] [--loaded]

List drivers

Options:


  -v, --verbose     list all driver properties
  --loaded          only list loaded drivers
  --help            display usage information

Examples:
  To list all drivers with properties:
  
      $ ffx driver list -v
  
  To list only loaded drivers:
  
      $ ffx driver list --loaded

Error codes:
  1 Failed to connect to the driver development service

list-devices


Usage: ffx driver list-devices [<device>] [-s] [-v]

List devices

Options:


  -s, --select      if this exists, the user will be prompted for a component to
                    select.
  -v, --verbose     list all device properties.
  --help            display usage information

Examples:
  To list all devices:
  
      $ ffx driver list-devices -v

Error codes:
  1 Failed to connect to the driver development service

list-hosts


Usage: ffx driver list-hosts

List driver hosts and drivers loaded within them

Options:


  --help            display usage information

Examples:
  To list all driver hosts:
  
      $ ffx driver list-hosts

Error codes:
  1 Failed to connect to the driver development service

lsblk


Usage: ffx driver lsblk

Prints out block device info

Options:


  --help            display usage information

Examples:
  To show the all block devices:
  
      $ ffx driver lsblk

Error codes:
  1 Failed to connect to the device manager service

lspci


Usage: ffx driver lspci [<service>] [-v] [-q] [-x] [-n] [-N] [-s <filter>]

Prints out pci device info

Options:


  -v, --verbose     print verbose device configuration
  -q, --quiet       don't print errors found trying to parse the database
  -x, --print-config
                    dump raw configuration space
  -n, --print-numeric
                    print numeric IDs.
  -N, --only-print-numeric
                    only print numeric IDs.
  -s, --filter      [[<bus>]:][slot][.[<func>]]    Show only devices in selected
                    slots
  --help            display usage information

Examples:
  To show the device tree:
  
      $ ffx driver lspci

Error codes:
  1 Failed to connect to the device manager service

lsusb


Usage: ffx driver lsusb [-t] [-v] [-c <configuration>] [-d <device>]

Print the device tree of the target to stdout

Options:


  -t, --tree        prints USB device tree
  -v, --verbose     verbose output (prints descriptors)
  -c, --configuration
                    prints configuration descriptor for specified configuration
                    (rather than current configuration)
  -d, --device      shows only devices with the specified vendor and product ID
                    numbers (in hexadecimal) UsbDevice must be in format
                    vendor[:product]
  --help            display usage information

Examples:
  To show the device tree:
  
      $ ffx driver lsusb

Error codes:
  1 Failed to connect to the device manager service

register


Usage: ffx driver register <url>

Informs the driver manager that a new driver package is available. The driver manager will cache a copy of the driver

Options:


  --help            display usage information

Examples:
  To register a driver
  
      $ ffx driver register 'fuchsia-pkg://fuchsia.com/example_driver#meta/example_driver.cmx'

Error codes:
  1 Failed to connect to the driver registrar service

restart


Usage: ffx driver restart <driver_path>

Restart all driver hosts containing the driver specified by driver_path.

Options:


  --help            display usage information

Examples:
  To restart a driver:
  
      $ ffx driver restart fuchsia-boot:///#driver/e1000.so

Error codes:
  1 Failed to connect to the driver manager service

efi


Usage: ffx efi <command> [<args>]

Manipulate efi partition

Options:


  --help            display usage information

Commands:


  create            Creates efi partition, copies zircon.bin, bootdata.bin,
                    EFI/BOOT/BOOTX64.EFI, zedboot.bin, etc...

EFI/BOOT/BOOTX64.EFI,


Unrecognized argument: EFI/BOOT/BOOTX64.EFI,

create


Usage: ffx efi create -o <output> [--zircon <zircon>] [--bootdata <bootdata>] [--efi-bootloader <efi-bootloader>] [--zedboot <zedboot>] [--cmdline <cmdline>]

Creates efi partition, copies zircon.bin, bootdata.bin, EFI/BOOT/BOOTX64.EFI, zedboot.bin, etc...

Options:


  -o, --output      target file/disk to write EFI partition to
  --zircon          optional path to source file for zircon.bin
  --bootdata        optional path to source file for bootdata.bin
  --efi-bootloader  optional path to source file for EFI/BOOT/BOOTX64.EFI
  --zedboot         optional path to a source file for zedboot.bin
  --cmdline         optional bootloader cmdline file
  --help            display usage information

emu


Usage: ffx emu <command> [<args>]

Start and manage Fuchsia emulators

Options:


  --help            display usage information

Commands:


  list              List running Fuchsia emulator.
  show              Show Fuchsia emulator details.
  shutdown          Shutdown running Fuchsia emulator.
  start             Starting Fuchsia Emulator

list


Usage: ffx emu list

List running Fuchsia emulator.

Options:


  --help            display usage information

show


Usage: ffx emu show [<name>]

Show Fuchsia emulator details.

Options:


  --help            display usage information

shutdown


Usage: ffx emu shutdown [<name>] [--all]

Shutdown running Fuchsia emulator.

Options:


  --all             shutdown and clean up all emulator instances running on the
                    device.
  --help            display usage information

start


Usage: ffx emu start [<product_bundle>] [--accel <accel>] [--console] [--debugger] [--dry-run] [--engine <engine>] [--envs <envs...>] [--gpu <gpu>] [-H] [--hidpi-scaling] [-l <log>] [-m] [--name <name>] [--port-map <port-map>] [-N] [-V]

Starting Fuchsia Emulator

Options:


  --accel           virtualization acceleration. Valid choices are "none" to
                    disable acceleration, "hyper" to use the host's hypervisor
                    interface, KVM on Linux and HVF on macOS, "auto" to use the
                    hypervisor if detected. The default value is "auto".
  --console         launches user in femu serial console.
  --debugger        pause on launch and wait for a debugger process to attach
                    before resuming.
  --dry-run         terminates the plugin before executing the emulator command.
  --engine          emulator engine to use for this instance.  Allowed values
                    are  "femu", "qemu". Default is "femu".
  --envs            environment variables for emulator. The argument can be
                    repeated for multiple times to add multiple arguments. If
                    not specified, only the environment variable (DISPLAY) will
                    be set to run the emulator.
  --gpu             configure GPU acceleration to run the emulator. Allowed
                    values are "host", "guest", "swiftshader_indirect", or
                    "auto". Default is "auto". Note: This only affects FEMU
                    emulator.
  -H, --headless    run emulator in headless mode where there is no GUI.
  --hidpi-scaling   enable pixel scaling on HiDPI devices (MacOS).
  -l, --log         file path to store emulator log.
  -m, --monitor     launches emulator in qemu console.
  --name            name of emulator instance. This is used to identify the
                    instance. Default is 'fuchsia-emulator'.
  --port-map        host port mapping for user-networking mode.
                    TODO(fxbug.dev/88327): enable SLIRP.
  -N, --tuntap      run emulator with network in bridge mode via tun/tap. This
                    option is not supported on MacOS. TODO(fxbug.dev/88327):
                    Support SLIRP and No network.
  -V, --verbose     enables extra logging for debugging
  --help            display usage information

flutter


Usage: ffx flutter <command> [<args>]

Interact with Flutter components on the target.

Options:


  --help            display usage information

Commands:


  tunnel            Establishes a port forward between the local host and the
                    dart vm service port.

Notes:
  The `flutter` subcommand is an entry workflow and contains various subcommands
  for flutter component management and interaction.

dart


Unrecognized argument: dart

tunnel


Usage: ffx flutter tunnel

Establishes a port forward between the local host and the dart vm service port.

Options:


  --help            display usage information

Notes:
  Determines the vm_service_port in the Flutter runner on the target Fuchsia device. An ssh
  tunnel is then established between localhost(127.0.0.1) at an available port and the target device at
  the vm_service_port.
  
  A url for the location of the listening socket is printed out for users.

inspect


Usage: ffx inspect [-f <format>] <command> [<args>]

Query component nodes exposed via the Inspect API

Options:


  -f, --format      the format to be used to display the results (json, text).
  --help            display usage information

Commands:


  list              List components that expose inspect
  list-accessors    List ArchiveAccessor files.
  selectors         List available selectors
  show              Print inspect hierarchies

list


Usage: ffx inspect list [--manifest <manifest>] [--with-url] [--accessor-path <accessor-path>]

List components that expose inspect

Options:


  --manifest        the name of the manifest file that we are interested in. If
                    this is provided, the output will only contain monikers for
                    components whose url contains the provided name.
  --with-url        also print the URL of the component.
  --accessor-path   the path from where to get the ArchiveAccessor connection.
                    If the given path is a directory, the command will look for
                    a `fuchsia.diagnostics.ArchiveAccessor` service file. If the
                    given path is a service file, the command will attempt to
                    connect to it as an ArchiveAccessor.
  --help            display usage information

Notes:
  Lists all components (relative to the scope where the archivist receives events from)
  of components that expose inspect.
  
  For v1: this is the realm path plus the realm name
  
  For v2: this is the moniker without the instances ids.

list-accessors


Usage: ffx inspect list-accessors [<paths...>]

List ArchiveAccessor files.

Options:


  --help            display usage information

Notes:
  Lists all ArchiveAccessor files under the provided paths.
  All paths are implicitly rooted under `/hub-v2`.
  If no paths are provided, it'll list everything under /hub-v2.
  It is possible to reach v1 components by starting with the path prefix
  children/core/children/appmgr/exec/out/hub.

selectors


Usage: ffx inspect selectors [<selectors...>] [--manifest <manifest>] [--accessor-path <accessor-path>]

List available selectors

Options:


  --manifest        the name of the manifest file that we are interested in. If
                    this is provided, the output will only contain monikers for
                    components whose url contains the provided name.
  --accessor-path   the path from where to get the ArchiveAccessor connection.
                    If the given path is a directory, the command will look for
                    a `fuchsia.diagnostics.ArchiveAccessor` service file. If the
                    given path is a service file, the command will attempt to
                    connect to it as an ArchiveAccessor.
  --help            display usage information

Notes:
  Lists all available full selectors (component selector + tree selector).
  If a selector is provided, it’ll only print selectors for that component.
  If a full selector (component + tree) is provided, it lists all selectors under the given node.

show


Usage: ffx inspect show [<selectors...>] [--manifest <manifest>] [--accessor-path <accessor-path>]

Print inspect hierarchies

Options:


  --manifest        the name of the manifest file that we are interested in. If
                    this is provided, the output will only contain monikers for
                    components whose url contains the provided name.
  --accessor-path   the path from where to get the ArchiveAccessor connection.
                    If the given path is a directory, the command will look for
                    a `fuchsia.diagnostics.ArchiveAccessor` service file. If the
                    given path is a service file, the command will attempt to
                    connect to it as an ArchiveAccessor.
  --help            display usage information

Notes:
  Prints the inspect hierarchies that match the given selectors.

log


Usage: ffx log [--filter <filter...>] [--exclude <exclude...>] [--tags <tags...>] [--exclude-tags <exclude-tags...>] [--severity <severity>] [--kernel] [--since <since>] [--since-monotonic <since-monotonic>] [--until <until>] [--until-monotonic <until-monotonic>] [--hide-tags] [--no-color] [--show-metadata] [--clock <clock>] [--no-symbols] [--select <select...>] [<command>] [<args>]

Display logs from a target device

Options:


  --filter          filter for a string in either the message, component or url.
                    May be repeated.
  --exclude         exclude a string in either the message, component or url.
                    May be repeated.
  --tags            filter for only logs with a given tag. May be repeated.
  --exclude-tags    exclude logs with a given tag. May be repeated.
  --severity        set the minimum severity
  --kernel          outputs only kernel logs.
  --since           show only logs after a certain time
  --since-monotonic show only logs after a certain time (as a monotonic
                    timestamp: seconds from the target's boot time).
  --until           show only logs until a certain time
  --until-monotonic show only logs until a certain time (as a monotonic
                    timestamp: seconds since the target's boot time).
  --hide-tags       hide the tag field from output (does not exclude any log
                    messages)
  --no-color        disable coloring logs according to severity. Note that you
                    can permanently disable this with `ffx config set
                    log_cmd.color false`
  --show-metadata   shows process-id and thread-id in log output
  --clock           how to display log timestamps. Options are "utc", "local",
                    or "monotonic" (i.e. nanos since target boot). Default is
                    monotonic.
  --no-symbols      if provided, logs will not be symbolized
  --select          specify the runtime log level for components as 'component
                    interest' using the form <component>#<interest> where
                    component is the component selector (a component moniker
                    that may include wildcards or a recursive glob in its last
                    segment) and interest is the specified selection criteria,
                    e.g. 'log-level' as one of
                    FATAL|ERROR|WARN|INFO|DEBUG|TRACE. Example: --select
                    core/audio#DEBUG --select core/session-*/my_component#WARN
                    Note 1: This flag changes the settings with which logs are
                    emitted on the component/producer side. Note 2: In the event
                    that multiple log listeners provide selector arguments via
                    --select, the minimum severity provided across all active
                    clients will be used. When a client disconnects, the new
                    minimum severity across the remaining clients will be used.
                    See
                    https://fuchsia.dev/reference/fidl/fuchsia.diagnostics#LogSettings
                    for a full explanation of the semantics.
  --help            display usage information

Commands:


  watch             Watches for and prints logs from a target. Default if no
                    sub-command is specified.
  dump              Dumps all log from a given target's session.

Examples:
  Dump the most recent logs and stream new ones as they happen:
    $ ffx log
  
  Stream new logs starting from the current time, filtering for severity of at least "WARN":
    $ ffx log --severity warn --since now
  
  Stream logs where the source moniker, component url and message do not include "sys":
    $ ffx log --exclude sys
  
  Stream ERROR logs with source moniker, component url or message containing either
  "netstack" or "remote-control.cm", but not containing "sys":
    $ ffx log --severity error --filter netstack --filter remote-control.cm --exclude sys
  
  Dump all available logs where the source moniker, component url, or message contains "remote-control"
    $ ffx log --filter remote-control dump
  
  Dump all logs from the last 30 minutes logged before 5 minutes ago:
    $ ffx log --since "30m ago" --until "5m ago" dump

Notes:
  `ffx` logs are proactively pulled off of target devices and cached on the host.
  
  Symbolization is performed in the background using the symbolizer host tool. You can pass additional
  arguments to the symbolizer tool (for example, to add a remote symbol server) by running:
  
  `ffx config set proactive_log.symbolize.extra_args "--symbol-server gs://some-url/path --symbol-server gs://some-other-url/path ..."`

dump


Usage: ffx log dump [<session>]

Dumps all log from a given target's session.

Options:


  --help            display usage information

sub-command


Unrecognized argument: sub-command

watch


Usage: ffx log watch

Watches for and prints logs from a target. Default if no sub-command is specified.

Options:


  --help            display usage information

net


Usage: ffx net [--realm <realm>] <command> [<args>]

View and manage target network configuration

Options:


  --realm           a realm to target when sending commands. Defaults to the
                    core network realm.
  --help            display usage information

Commands:


  filter            commands for packet filter
  fwd               commands for forwarding tables
  if                commands for network interfaces
  ip-fwd            commands for IP forwarding
  log               commands for logging
  neigh             commands for neighbor tables
  route             commands for routing tables
  metric            commands for interface route metrics
  dhcp              commands for an interfaces dhcp client
  dhcpd             commands to control a dhcp server

dhcp


Usage: ffx net dhcp <command> [<args>]

commands for an interfaces dhcp client

Options:


  --help            display usage information

Commands:


  start             starts a dhcp client on the interface
  stop              stops the dhcp client on the interface

start


Usage: ffx net dhcp start <id>

starts a dhcp client on the interface

Options:


  --help            display usage information

stop


Usage: ffx net dhcp stop <id>

stops the dhcp client on the interface

Options:


  --help            display usage information

dhcpd


Usage: ffx net dhcpd <command> [<args>]

commands to control a dhcp server

Options:


  --help            display usage information

Commands:


  start             A primary command to start the DHCP server.
  stop              A primary command to stop the DHCP server.
  get               A primary command to retrieve the value of a DHCP option or
                    server parameter.
  set               A primary command to set the value of a DHCP option or
                    server parameter.
  list              A primary command to list the values of all DHCP options or
                    server parameters.
  reset             A primary command to reset the values of all DHCP options or
                    server parameters.
  clear-leases      A primary command to clear the leases maintained by dhcpd.

clear-leases


Usage: ffx net dhcpd clear-leases

A primary command to clear the leases maintained by dhcpd.

Options:


  --help            display usage information

get


Usage: ffx net dhcpd get <command> [<args>]

A primary command to retrieve the value of a DHCP option or server parameter.

Options:


  --help            display usage information

Commands:


  option            A secondary command indicating a DHCP option argument.
  parameter         A secondary command indicating a server parameter argument.

option

Usage: ffx net dhcpd get option <command> [<args>]

A secondary command indicating a DHCP option argument.

Options:


  --help            display usage information

Commands:


  subnet-mask       The client's subnet mask.
  time-offset       The client's offset from UTC.
  router            The routers within a client's subnet.
  time-server       Time Protocol servers available to the client.
  name-server       IEN 116 Name servers available to the client.
  domain-name-server
                    Domain Name System servers available to the client.
  log-server        MIT-LCS UDP Log servers available to the client.
  cookie-server     RFC 865 Cookie servers available to the client.
  lpr-server        RFC 1179 Line Printer servers available to the client.
  impress-server    Imagen Impress servers available to the client.
  resource-location-server
                    RFC 887 Resource Location servers available to the client.
  host-name         Name of the client.
  boot-file-size    Size of the default boot image for the client.
  merit-dump-file   Path name of a core dump file.
  domain-name       Domain name of the client.
  swap-server       Address of the client's swap server.
  root-path         Path name to a TFTP-retrievable file containing
                    vendor-extension information.
  extensions-path   Path name to a TFTP-retrievable file containing
                    vendor-extension information.
  ip-forwarding     Flag enabling/disabling IP layer packet forwarding.
  non-local-source-routing
                    Flag enabling/disabling forwarding of IP packets with
                    non-local source routes.
  policy-filter     Policy filters for non-local source routing.
  max-datagram-reassembly-size
                    Maximum sized datagram that the client should be able to
                    reassemble.
  default-ip-ttl    Default time-to-live to use on outgoing IP datagrams.
  path-mtu-aging-timeout
                    Timeout to use when aging Path MTU values.
  path-mtu-plateau-table
                    Table of MTU sizes for Path MTU Discovery.
  interface-mtu     MTU for the client's interface.
  all-subnets-local Flag indicating if all subnets of the connected network have
                    the same MTU.
  broadcast-address Broadcast address of the client's subnet.
  perform-mask-discovery
                    Flag indicating whether the client should perform subnet
                    mask discovery via ICMP.
  mask-supplier     Flag indicating whether the client should respond to subnet
                    mask discovery requests via ICMP.
  perform-router-discovery
                    Flag indicating whether the client should solicit routers
                    using Router Discovery.
  router-solicitation-address
                    Destination address for Router Solicitation requests.
  static-route      Static Routes which the client should put in its routing
                    cache.
  trailer-encapsulation
                    Flag specifying whether the client should negotiate the use
                    of trailers in ARP.
  arp-cache-timeout Timeout for ARP cache entries.
  ethernet-encapsulation
                    Flag specifying whether the client should use Ethernet v2 or
                    IEEE 802.3 encapsulation.
  tcp-default-ttl   Default time-to-live for outgoing TCP segments.
  tcp-keepalive-interval
                    Interval the client should wait before sending a TCP
                    keepalive message.
  tcp-keepalive-garbage
                    Flag specifying whether the client should send TCP keepalive
                    messages with an octet of garbage.
  network-information-service-domain
                    Name of the client's Network Information Service domain.
  network-information-servers
                    Network Information Service servers available to the client.
  network-time-protocol-servers
                    Network Time Protocol servers available to the client.
  vendor-specific-information
                    Option for exchanging vendor-specific information between
                    the DHCP client and DHCP server.
  net-bios-over-tcpip-name-server
                    NetBIOS name servers available to the client.
  net-bios-over-tcpip-distribution-server
                    NetBIOS datagram distribution servers available to the
                    client.
  net-bios-over-tcpip-node-type
                    The NetBIOS node type which should be used by the client.
  net-bios-over-tcpip-scope
                    NetBIOS scope parameter for the client.
  x-window-system-font-server
                    X Window System Font servers available to the client.
  x-window-system-display-manager
                    X window System Display Manager systems available to the
                    client.
  network-information-service-plus-domain
                    Network Information System+ domain name.
  network-information-service-plus-servers
                    Network Information System+ servers available to the client.
  mobile-ip-home-agent
                    Mobile IP home agents available to the client.
  smtp-server       SMTP servers available to the client.
  pop3-server       POP3 servers available to the client.
  nntp-server       NNTP servers available to the client.
  default-www-server
                    Default WWW servers available to the client.
  default-finger-server
                    Default Finger servers available to the client.
  default-irc-server
                    Default IRC servers available to the client.
  street-talk-server
                    StreetTalk servers available to the client.
  stda-server       StreetTalk Directory Assistance servers available to the
                    client.
  tftp-server-name  TFTP server available to the client.
  bootfile-name     Bootfile name for the client.
  renewal-time-value
                    Maximum length of a DHCP message that the participant is
                    willing to accept.
  renewal-time-value
                    Time interval from address assignment at which the client
                    transitions to a Renewing state.
  rebinding-time-value
                    Time interval from address assignment at which the client
                    transitions to a Rebinding state.

Default

Unrecognized argument: Default

Default

Unrecognized argument: Default

Default

Unrecognized argument: Default

Destination

Unrecognized argument: Destination

Domain

Unrecognized argument: Domain

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

IEEE

Unrecognized argument: IEEE

Interval

Unrecognized argument: Interval

Maximum

Unrecognized argument: Maximum

Maximum

Unrecognized argument: Maximum

Mobile

Unrecognized argument: Mobile

Name

Unrecognized argument: Name

NetBIOS

Unrecognized argument: NetBIOS

NetBIOS

Unrecognized argument: NetBIOS

NetBIOS

Unrecognized argument: NetBIOS

Network

Unrecognized argument: Network

Network

Unrecognized argument: Network

Network

Unrecognized argument: Network

Network

Unrecognized argument: Network

Option

Unrecognized argument: Option

RFC

Unrecognized argument: RFC

StreetTalk

Unrecognized argument: StreetTalk

Table

Unrecognized argument: Table

The

Unrecognized argument: The

Time

Unrecognized argument: Time

Time

Unrecognized argument: Time

Timeout

Unrecognized argument: Timeout

X

Unrecognized argument: X

X

Unrecognized argument: X

all-subnets-local

Usage: ffx net dhcpd get option all-subnets-local [--local]

Flag indicating if all subnets of the connected network have the same MTU.

Options:


  --local           a flag indicating if all subents of the IP network to which
                    the client is connected have the same MTU.
  --help            display usage information

arp-cache-timeout

Usage: ffx net dhcpd get option arp-cache-timeout [--timeout <timeout>]

Timeout for ARP cache entries.

Options:


  --timeout         the timeout for ARP cache entries, in seconds.
  --help            display usage information

boot-file-size

Usage: ffx net dhcpd get option boot-file-size [--size <size>]

Size of the default boot image for the client.

Options:


  --size            the size of the client's default boot image in 512-octet
                    blocks.
  --help            display usage information

bootfile-name

Usage: ffx net dhcpd get option bootfile-name [--name <name>]

Bootfile name for the client.

Options:


  --name            the bootfile name for the client. This option should be used
                    when the `file` field has been overloaded to carry options.
  --help            display usage information

broadcast-address

Usage: ffx net dhcpd get option broadcast-address [--addr <addr>]

Broadcast address of the client's subnet.

Options:


  --addr            the broadcast address of the client's subnet. Legal values
                    are defined in RFC 1122.
  --help            display usage information

cache.

Unrecognized argument: cache.

client.

Unrecognized argument: client.

client.

Unrecognized argument: client.

client.

Unrecognized argument: client.


Usage: ffx net dhcpd get option cookie-server [--cookie-servers <cookie-servers...>]

RFC 865 Cookie servers available to the client.

Options:


  --cookie-servers  a list of RFC 865 Cookie servers available to the client, in
                    order of preference.
  --help            display usage information

default-finger-server

Usage: ffx net dhcpd get option default-finger-server [--finger-servers <finger-servers...>]

Default Finger servers available to the client.

Options:


  --finger-servers  a list of default Finger server addresses available to the
                    client, listed in order of preference.
  --help            display usage information

default-ip-ttl

Usage: ffx net dhcpd get option default-ip-ttl [--ttl <ttl>]

Default time-to-live to use on outgoing IP datagrams.

Options:


  --ttl             the default time-to-live to use on outgoing IP datagrams.
                    The value must be between 1 and 255.
  --help            display usage information

default-irc-server

Usage: ffx net dhcpd get option default-irc-server [--irc-servers <irc-servers...>]

Default IRC servers available to the client.

Options:


  --irc-servers     a list of Internet Relay Chat server addresses available to
                    the client, listed in order of preference.
  --help            display usage information

default-www-server

Usage: ffx net dhcpd get option default-www-server [--www-servers <www-servers...>]

Default WWW servers available to the client.

Options:


  --www-servers     a list of default World Wide Web (WWW) server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

domain-name

Usage: ffx net dhcpd get option domain-name [--name <name>]

Domain name of the client.

Options:


  --name            the client's domain name for use in resolving hostnames in
                    the DNS.
  --help            display usage information

domain-name-server

Usage: ffx net dhcpd get option domain-name-server [--domain-name-servers <domain-name-servers...>]

Domain Name System servers available to the client.

Options:


  --domain-name-servers
                    a list of DNS servers available to the client, in order of
                    preference;
  --help            display usage information

ethernet-encapsulation

Usage: ffx net dhcpd get option ethernet-encapsulation [--encapsulate]

Flag specifying whether the client should use Ethernet v2 or IEEE 802.3 encapsulation.

Options:


  --encapsulate     a flag specifying that the client should use Ethernet v2
                    encapsulation when false, and IEEE 802.3 encapsulation when
                    true.
  --help            display usage information

extensions-path

Usage: ffx net dhcpd get option extensions-path [--path <path>]

Path name to a TFTP-retrievable file containing vendor-extension information.

Options:


  --path            the path name to a TFTP-retrievable file. This file contains
                    data which can be interpreted as the BOOTP vendor-extension
                    field. Unlike the BOOTP vendor-extension field, this file
                    has an unconstrained length and any references to Tag 18 are
                    ignored.
  --help            display usage information

host-name

Usage: ffx net dhcpd get option host-name [--name <name>]

Name of the client.

Options:


  --name            the name of client, which may or may not be qualified with
                    the local domain name.
  --help            display usage information

impress-server

Usage: ffx net dhcpd get option impress-server [--impress-servers <impress-servers...>]

Imagen Impress servers available to the client.

Options:


  --impress-servers a list of Imagen Impress servers available to the client, in
                    order of preference.
  --help            display usage information

interface-mtu

Usage: ffx net dhcpd get option interface-mtu [--mtu <mtu>]

MTU for the client's interface.

Options:


  --mtu             the MTU for the client's interface. Minimum value of 68.
  --help            display usage information

ip-forwarding

Usage: ffx net dhcpd get option ip-forwarding [--enabled]

Flag enabling/disabling IP layer packet forwarding.

Options:


  --enabled         a flag which will enabled IP layer packet forwarding when
                    true.
  --help            display usage information

keepalive

Unrecognized argument: keepalive

log-server

Usage: ffx net dhcpd get option log-server [--log-servers <log-servers...>]

MIT-LCS UDP Log servers available to the client.

Options:


  --log-servers     a list of MIT-LCS UDP Log servers available to the client,
                    in order of preference.
  --help            display usage information

lpr-server

Usage: ffx net dhcpd get option lpr-server [--lpr-servers <lpr-servers...>]

RFC 1179 Line Printer servers available to the client.

Options:


  --lpr-servers     a list of RFC 1179 Line Printer servers available to the
                    client, in order of preference.
  --help            display usage information

mask

Unrecognized argument: mask

mask

Unrecognized argument: mask

mask-supplier

Usage: ffx net dhcpd get option mask-supplier [--supplier]

Flag indicating whether the client should respond to subnet mask discovery requests via ICMP.

Options:


  --supplier        a flag indicating whether the client should respond to
                    subnet mask discovery requests via ICMP.
  --help            display usage information

max-datagram-reassembly-size

Usage: ffx net dhcpd get option max-datagram-reassembly-size [--size <size>]

Maximum sized datagram that the client should be able to reassemble.

Options:


  --size            the maximum sized datagram that the client should be able to
                    reassemble, in octets. The minimum legal value is 576.
  --help            display usage information

merit-dump-file

Usage: ffx net dhcpd get option merit-dump-file [--path <path>]

Path name of a core dump file.

Options:


  --path            the path name to the client's core dump in the event the
                    client crashes.
  --help            display usage information

messages

Unrecognized argument: messages

mobile-ip-home-agent

Usage: ffx net dhcpd get option mobile-ip-home-agent [--home-agents <home-agents...>]

Mobile IP home agents available to the client.

Options:


  --home-agents     a list of mobile IP home agent addresses available to the
                    client, listed in order of preference.
  --help            display usage information

name-server

Usage: ffx net dhcpd get option name-server [--name-servers <name-servers...>]

IEN 116 Name servers available to the client.

Options:


  --name-servers    a list of IEN 116 Name servers available to the client, in
                    order of preference.
  --help            display usage information

net-bios-over-tcpip-distribution-server

Usage: ffx net dhcpd get option net-bios-over-tcpip-distribution-server [--servers <servers...>]

NetBIOS datagram distribution servers available to the client.

Options:


  --servers         a list of NetBIOS datagram distribution servers available to
                    the client, listed in order of preference.
  --help            display usage information

net-bios-over-tcpip-name-server

Usage: ffx net dhcpd get option net-bios-over-tcpip-name-server [--servers <servers...>]

NetBIOS name servers available to the client.

Options:


  --servers         a list of NetBIOS name server addresses available to the
                    client, listed in order of preference.
  --help            display usage information

net-bios-over-tcpip-node-type

Usage: ffx net dhcpd get option net-bios-over-tcpip-node-type [<command>] [<args>]

The NetBIOS node type which should be used by the client.

Options:


  --help            display usage information

Commands:


  b-node            A B node type.
  p-node            A P node type.
  m-node            A M node type.
  h-node            A H node type.

# b-node

Usage: ffx net dhcpd get option net-bios-over-tcpip-node-type b-node

A B node type.

Options:


  --help            display usage information

# h-node

Usage: ffx net dhcpd get option net-bios-over-tcpip-node-type h-node

A H node type.

Options:


  --help            display usage information

# m-node

Usage: ffx net dhcpd get option net-bios-over-tcpip-node-type m-node

A M node type.

Options:


  --help            display usage information

# p-node

Usage: ffx net dhcpd get option net-bios-over-tcpip-node-type p-node

A P node type.

Options:


  --help            display usage information

net-bios-over-tcpip-scope

Usage: ffx net dhcpd get option net-bios-over-tcpip-scope [--scope <scope>]

NetBIOS scope parameter for the client.

Options:


  --scope           the NetBIOS over TCP/IP scope parameter, as defined in RFC
                    1001, for the client.
  --help            display usage information

network-information-servers

Usage: ffx net dhcpd get option network-information-servers [--servers <servers...>]

Network Information Service servers available to the client.

Options:


  --servers         a list of Network Information Service server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

network-information-service-domain

Usage: ffx net dhcpd get option network-information-service-domain [--domain-name <domain-name>]

Name of the client's Network Information Service domain.

Options:


  --domain-name     the name of the client's Network Information Service domain.
  --help            display usage information

network-information-service-plus-domain

Usage: ffx net dhcpd get option network-information-service-plus-domain [--domain-name <domain-name>]

Network Information System+ domain name.

Options:


  --domain-name     the name of the client's Network Information System+ domain.
  --help            display usage information

network-information-service-plus-servers

Usage: ffx net dhcpd get option network-information-service-plus-servers [--servers <servers...>]

Network Information System+ servers available to the client.

Options:


  --servers         a list of Network Information System+ server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

network-time-protocol-servers

Usage: ffx net dhcpd get option network-time-protocol-servers [--servers <servers...>]

Network Time Protocol servers available to the client.

Options:


  --servers         a list of Network Time Protocol (NTP) server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

nntp-server

Usage: ffx net dhcpd get option nntp-server [--nntp-servers <nntp-servers...>]

NNTP servers available to the client.

Options:


  --nntp-servers    a list Network News Transport Protocol (NNTP) server
                    addresses available to the client, listed in order of
                    preference.
  --help            display usage information

non-local

Unrecognized argument: non-local

non-local-source-routing

Usage: ffx net dhcpd get option non-local-source-routing [--enabled]

Flag enabling/disabling forwarding of IP packets with non-local source routes.

Options:


  --enabled         a flag which will enable forwarding of IP packets with
                    non-local source routes.
  --help            display usage information

of

Unrecognized argument: of

path-mtu-aging-timeout

Usage: ffx net dhcpd get option path-mtu-aging-timeout [--timeout <timeout>]

Timeout to use when aging Path MTU values.

Options:


  --timeout         the timeout, in seconds, to be used when again Path MTU
                    values by the mechanism in RFC 1191.
  --help            display usage information

path-mtu-plateau-table

Usage: ffx net dhcpd get option path-mtu-plateau-table [--mtu-sizes <mtu-sizes...>]

Table of MTU sizes for Path MTU Discovery.

Options:


  --mtu-sizes       A list of MTU sizes, ordered from smallest to largest. The
                    smallest value cannot be smaller than 68.
  --help            display usage information

perform-mask-discovery

Usage: ffx net dhcpd get option perform-mask-discovery [--do-discovery]

Flag indicating whether the client should perform subnet mask discovery via ICMP.

Options:


  --do-discovery    a flag indicating whether the client should perform subnet
                    mask discovery via ICMP.
  --help            display usage information

perform-router-discovery

Usage: ffx net dhcpd get option perform-router-discovery [--do-discovery]

Flag indicating whether the client should solicit routers using Router Discovery.

Options:


  --do-discovery    A flag indicating whether the client should solicit routers
                    using Router Discovery as defined in RFC 1256.
  --help            display usage information

policy-filter

Usage: ffx net dhcpd get option policy-filter [--addresses <addresses...>]

Policy filters for non-local source routing.

Options:


  --addresses       a list of IP Address and Subnet Mask pairs. If an incoming
                    source-routed packet has a next-hop that does not match one
                    of these pairs, then the packet will be dropped.
  --help            display usage information

pop3-server

Usage: ffx net dhcpd get option pop3-server [--pop3-servers <pop3-servers...>]

POP3 servers available to the client.

Options:


  --pop3-servers    a list of Post Office Protocol (POP3) server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

reassemble.

Unrecognized argument: reassemble.

rebinding-time-value

Usage: ffx net dhcpd get option rebinding-time-value [--interval <interval>]

Time interval from address assignment at which the client transitions to a Rebinding state.

Options:


  --interval        the time interval, in seconds, after address assignment at
                    which the client will transition to the Rebinding state.
  --help            display usage information

renewal-time-value

Usage: ffx net dhcpd get option renewal-time-value [--length <length>]

Maximum length of a DHCP message that the participant is willing to accept.

Options:


  --length          the maximum length in octets of a DHCP message that the
                    participant is willing to accept. The minimum value is 576.
  --help            display usage information

renewal-time-value

Usage: ffx net dhcpd get option renewal-time-value [--length <length>]

Maximum length of a DHCP message that the participant is willing to accept.

Options:


  --length          the maximum length in octets of a DHCP message that the
                    participant is willing to accept. The minimum value is 576.
  --help            display usage information

resource-location-server

Usage: ffx net dhcpd get option resource-location-server [--resource-location-servers <resource-location-servers...>]

RFC 887 Resource Location servers available to the client.

Options:


  --resource-location-servers
                    a list of RFC 887 Resource Location servers available to the
                    client, in order of preference.
  --help            display usage information

root-path

Usage: ffx net dhcpd get option root-path [--path <path>]

Path name to a TFTP-retrievable file containing vendor-extension information.

Options:


  --path            the path name to a TFTP-retrievable file. This file contains
                    data which can be interpreted as the BOOTP vendor-extension
                    field. Unlike the BOOTP vendor-extension field, this file
                    has an unconstrained length and any references to Tag 18 are
                    ignored.
  --help            display usage information

router

Usage: ffx net dhcpd get option router [--routers <routers...>]

The routers within a client's subnet.

Options:


  --routers         a list of the routers in a client's subnet, listed in order
                    of preference.
  --help            display usage information

router-solicitation-address

Usage: ffx net dhcpd get option router-solicitation-address [--addr <addr>]

Destination address for Router Solicitation requests.

Options:


  --addr            the address to which the client should transmit Router
                    Solicitation requests.
  --help            display usage information

smtp-server

Usage: ffx net dhcpd get option smtp-server [--smtp-servers <smtp-servers...>]

SMTP servers available to the client.

Options:


  --smtp-servers    a list of Simple Mail Transport Protocol (SMTP) server
                    address available to the client, listed in order of
                    preference.
  --help            display usage information

static-route

Usage: ffx net dhcpd get option static-route [--routes <routes...>]

Static Routes which the client should put in its routing cache.

Options:


  --routes          a list of Destination address/Next-hop address pairs
                    defining static routes for the client's routing table. The
                    routes should be listed in descending order of priority. It
                    is illegal to use 0.0.0.0 as the destination in a static
                    route.
  --help            display usage information

stda-server

Usage: ffx net dhcpd get option stda-server [--stda-servers <stda-servers...>]

StreetTalk Directory Assistance servers available to the client.

Options:


  --stda-servers    a list of StreetTalk Directory Assistance server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

street-talk-server

Usage: ffx net dhcpd get option street-talk-server [--streettalk-servers <streettalk-servers...>]

StreetTalk servers available to the client.

Options:


  --streettalk-servers
                    a list of StreetTalk server addresses available to the
                    client, listed in order of preference.
  --help            display usage information

subnet-mask

Usage: ffx net dhcpd get option subnet-mask [--mask <mask>]

The client's subnet mask.

Options:


  --mask            a 32-bit IPv4 subnet mask.
  --help            display usage information

swap-server

Usage: ffx net dhcpd get option swap-server [--address <address>]

Address of the client's swap server.

Options:


  --address         the address of the client's swap server.
  --help            display usage information

tcp-default-ttl

Usage: ffx net dhcpd get option tcp-default-ttl [--ttl <ttl>]

Default time-to-live for outgoing TCP segments.

Options:


  --ttl             the default time-to-live that the client should use for
                    outgoing TCP segments. The minimum value is 1.
  --help            display usage information

tcp-keepalive-garbage

Usage: ffx net dhcpd get option tcp-keepalive-garbage [--send-garbage]

Flag specifying whether the client should send TCP keepalive messages with an octet of garbage.

Options:


  --send-garbage    a flag specifying whether the client should send TCP
                    keepalive messages with an octet of garbage for
                    compatibility with older implementations.
  --help            display usage information

tcp-keepalive-interval

Usage: ffx net dhcpd get option tcp-keepalive-interval [--interval <interval>]

Interval the client should wait before sending a TCP keepalive message.

Options:


  --interval        the interval, in seconds, the client should wait before
                    sending a TCP keepalive message. A value of 0 indicates that
                    the client should not send keepalive messages unless
                    specifically requested by an application.
  --help            display usage information

tftp-server-name

Usage: ffx net dhcpd get option tftp-server-name [--name <name>]

TFTP server available to the client.

Options:


  --name            the TFTP server name available to the client. This option
                    should be used when the `sname` field has been overloaded to
                    carry options.
  --help            display usage information

the

Unrecognized argument: the

the

Unrecognized argument: the

time-offset

Usage: ffx net dhcpd get option time-offset [--offset <offset>]

The client's offset from UTC.

Options:


  --offset          the client's offset from UTC in seconds. A positive offset
                    is east of the zero meridian, and a negative offset is west
                    of the zero meridian.
  --help            display usage information

time-server

Usage: ffx net dhcpd get option time-server [--time-servers <time-servers...>]

Time Protocol servers available to the client.

Options:


  --time-servers    a list of time servers available to the client, in order of
                    preference.
  --help            display usage information

trailer-encapsulation

Usage: ffx net dhcpd get option trailer-encapsulation [--trailers]

Flag specifying whether the client should negotiate the use of trailers in ARP.

Options:


  --trailers        a flag specifying whether the client negotiate the use of
                    trailers when using ARP, per RFC 893.
  --help            display usage information

transitions

Unrecognized argument: transitions

transitions

Unrecognized argument: transitions

using

Unrecognized argument: using

vendor-extension

Unrecognized argument: vendor-extension

vendor-extension

Unrecognized argument: vendor-extension

vendor-specific-information

Usage: ffx net dhcpd get option vendor-specific-information [--data <data...>]

Option for exchanging vendor-specific information between the DHCP client and DHCP server.

Options:


  --data            an opaque object of octets for exchanging vendor-specific
                    information.
  --help            display usage information

willing

Unrecognized argument: willing

x-window-system-display-manager

Usage: ffx net dhcpd get option x-window-system-display-manager [--display-servers <display-servers...>]

X window System Display Manager systems available to the client.

Options:


  --display-servers a list of X Window System Display Manager system addresses
                    available to the client, listed in order of preference.
  --help            display usage information

x-window-system-font-server

Usage: ffx net dhcpd get option x-window-system-font-server [--servers <servers...>]

X Window System Font servers available to the client.

Options:


  --servers         a list of X Window System Font server addresses available to
                    the client, listed in order of preference.
  --help            display usage information

parameter

Usage: ffx net dhcpd get parameter <command> [<args>]

A secondary command indicating a server parameter argument.

Options:


  --help            display usage information

Commands:


  ip-addrs          The IPv4 addresses to which the server is bound.
  address-pool      The pool of addresses which the DHCP server manages.
  lease-length      The duration of leases offered by the server.
  permitted-macs    The client MAC addresses which the server will issue leases
                    to.
  statically-assigned-addrs
                    Addresses in the AddressPool which will only be leased to
                    specified clients. Assigned addresses will be paired with
                    hosts in order, e.g. hosts (A, B, C) and addresses (1, 2, 3)
                    pair as ((A, 1), (B, 2), (C, 3)).
  arp-probe         Enables server behavior where the server ARPs an IP address
                    prior to issuing it in a lease.
  bound-device-names
                    The names of the network devices on which the server will
                    listen.

Addresses

Unrecognized argument: Addresses

The

Unrecognized argument: The

address-pool

Usage: ffx net dhcpd get parameter address-pool [--prefix-length <prefix-length>] [--range-start <range-start>] [--range-stop <range-stop>]

The pool of addresses which the DHCP server manages.

Options:


  --prefix-length   the prefix length of the network's subnet mask
  --range-start     the starting address, inclusive, of the range of addresses
                    which the DHCP server will lease to clients
  --range-stop      the ending address, inclusive, of the range of addresses
                    which the server will to clients
  --help            display usage information

arp-probe

Usage: ffx net dhcpd get parameter arp-probe [--enabled]

Enables server behavior where the server ARPs an IP address prior to issuing it in a lease.

Options:


  --enabled         enables server behavior where the server ARPs an IP address
                    prior to issuing it in a lease. If the server receives a
                    response, the server will mark the address as in-use and try
                    again with a different address. By default, this behavior is
                    disabled.
  --help            display usage information

bound-device-names

Usage: ffx net dhcpd get parameter bound-device-names [<names...>]

The names of the network devices on which the server will listen.

Options:


  --help            display usage information

hosts

Unrecognized argument: hosts

ip-addrs

Usage: ffx net dhcpd get parameter ip-addrs [--addrs <addrs...>]

The IPv4 addresses to which the server is bound.

Options:


  --addrs           A list of IPv4 Addresses to which the server is bound.
  --help            display usage information

lease-length

Usage: ffx net dhcpd get parameter lease-length [--default <default>] [--max <max>]

The duration of leases offered by the server.

Options:


  --default         the default lease length, in seconds, to be issued to
                    clients.
  --max             the maximum lease length value, in seconds, which the server
                    will issue to clients who have requested a specific lease
                    length. With the default value of 0, the max lease length is
                    equivalent to the default lease length.
  --help            display usage information

listen.

Unrecognized argument: listen.

pair

Unrecognized argument: pair

permitted-macs

Usage: ffx net dhcpd get parameter permitted-macs [--macs <macs...>]

The client MAC addresses which the server will issue leases to.

Options:


  --macs            the client MAC addresses which the server will issue leases
                    to. By default, the server will not have a permitted MAC
                    list, in which case it will attempt to issue a lease to
                    every client which requests one. If permitted_macs has a
                    non-zero length then the server will only respond to lease
                    requests from clients with a MAC in the list.
  --help            display usage information

prior

Unrecognized argument: prior

specified

Unrecognized argument: specified

statically-assigned-addrs

Usage: ffx net dhcpd get parameter statically-assigned-addrs [--hosts <hosts...>] [--assigned-addrs <assigned-addrs...>]

Addresses in the AddressPool which will only be leased to specified clients. Assigned addresses will be paired with hosts in order, e.g. hosts (A, B, C) and addresses (1, 2, 3) pair as ((A, 1), (B, 2), (C, 3)).

Options:


  --hosts           hosts which will be leased the addresses reserved by
                    `assigned_addrs`.
  --assigned-addrs  addresses in the AddressPool which will not be leased to
                    clients. Typically, a network administrator will statically
                    assign these addresses to always-on network devices which
                    should always have the same IP address, such as network
                    printers.
  --help            display usage information

to.

Unrecognized argument: to.

list


Usage: ffx net dhcpd list <command> [<args>]

A primary command to list the values of all DHCP options or server parameters.

Options:


  --help            display usage information

Commands:


  option            Perform the command on DHCP options.
  parameter         Perform the command on server parameters.

option

Usage: ffx net dhcpd list option

Perform the command on DHCP options.

Options:


  --help            display usage information

parameter

Usage: ffx net dhcpd list parameter

Perform the command on server parameters.

Options:


  --help            display usage information

reset


Usage: ffx net dhcpd reset <command> [<args>]

A primary command to reset the values of all DHCP options or server parameters.

Options:


  --help            display usage information

Commands:


  option            Perform the command on DHCP options.
  parameter         Perform the command on server parameters.

option

Usage: ffx net dhcpd reset option

Perform the command on DHCP options.

Options:


  --help            display usage information

parameter

Usage: ffx net dhcpd reset parameter

Perform the command on server parameters.

Options:


  --help            display usage information

server


Unrecognized argument: server

server


Unrecognized argument: server

server


Unrecognized argument: server

server


Unrecognized argument: server

set


Usage: ffx net dhcpd set <command> [<args>]

A primary command to set the value of a DHCP option or server parameter.

Options:


  --help            display usage information

Commands:


  option            A secondary command indicating a DHCP option argument.
  parameter         A secondary command indicating a server parameter argument.

option

Usage: ffx net dhcpd set option <command> [<args>]

A secondary command indicating a DHCP option argument.

Options:


  --help            display usage information

Commands:


  subnet-mask       The client's subnet mask.
  time-offset       The client's offset from UTC.
  router            The routers within a client's subnet.
  time-server       Time Protocol servers available to the client.
  name-server       IEN 116 Name servers available to the client.
  domain-name-server
                    Domain Name System servers available to the client.
  log-server        MIT-LCS UDP Log servers available to the client.
  cookie-server     RFC 865 Cookie servers available to the client.
  lpr-server        RFC 1179 Line Printer servers available to the client.
  impress-server    Imagen Impress servers available to the client.
  resource-location-server
                    RFC 887 Resource Location servers available to the client.
  host-name         Name of the client.
  boot-file-size    Size of the default boot image for the client.
  merit-dump-file   Path name of a core dump file.
  domain-name       Domain name of the client.
  swap-server       Address of the client's swap server.
  root-path         Path name to a TFTP-retrievable file containing
                    vendor-extension information.
  extensions-path   Path name to a TFTP-retrievable file containing
                    vendor-extension information.
  ip-forwarding     Flag enabling/disabling IP layer packet forwarding.
  non-local-source-routing
                    Flag enabling/disabling forwarding of IP packets with
                    non-local source routes.
  policy-filter     Policy filters for non-local source routing.
  max-datagram-reassembly-size
                    Maximum sized datagram that the client should be able to
                    reassemble.
  default-ip-ttl    Default time-to-live to use on outgoing IP datagrams.
  path-mtu-aging-timeout
                    Timeout to use when aging Path MTU values.
  path-mtu-plateau-table
                    Table of MTU sizes for Path MTU Discovery.
  interface-mtu     MTU for the client's interface.
  all-subnets-local Flag indicating if all subnets of the connected network have
                    the same MTU.
  broadcast-address Broadcast address of the client's subnet.
  perform-mask-discovery
                    Flag indicating whether the client should perform subnet
                    mask discovery via ICMP.
  mask-supplier     Flag indicating whether the client should respond to subnet
                    mask discovery requests via ICMP.
  perform-router-discovery
                    Flag indicating whether the client should solicit routers
                    using Router Discovery.
  router-solicitation-address
                    Destination address for Router Solicitation requests.
  static-route      Static Routes which the client should put in its routing
                    cache.
  trailer-encapsulation
                    Flag specifying whether the client should negotiate the use
                    of trailers in ARP.
  arp-cache-timeout Timeout for ARP cache entries.
  ethernet-encapsulation
                    Flag specifying whether the client should use Ethernet v2 or
                    IEEE 802.3 encapsulation.
  tcp-default-ttl   Default time-to-live for outgoing TCP segments.
  tcp-keepalive-interval
                    Interval the client should wait before sending a TCP
                    keepalive message.
  tcp-keepalive-garbage
                    Flag specifying whether the client should send TCP keepalive
                    messages with an octet of garbage.
  network-information-service-domain
                    Name of the client's Network Information Service domain.
  network-information-servers
                    Network Information Service servers available to the client.
  network-time-protocol-servers
                    Network Time Protocol servers available to the client.
  vendor-specific-information
                    Option for exchanging vendor-specific information between
                    the DHCP client and DHCP server.
  net-bios-over-tcpip-name-server
                    NetBIOS name servers available to the client.
  net-bios-over-tcpip-distribution-server
                    NetBIOS datagram distribution servers available to the
                    client.
  net-bios-over-tcpip-node-type
                    The NetBIOS node type which should be used by the client.
  net-bios-over-tcpip-scope
                    NetBIOS scope parameter for the client.
  x-window-system-font-server
                    X Window System Font servers available to the client.
  x-window-system-display-manager
                    X window System Display Manager systems available to the
                    client.
  network-information-service-plus-domain
                    Network Information System+ domain name.
  network-information-service-plus-servers
                    Network Information System+ servers available to the client.
  mobile-ip-home-agent
                    Mobile IP home agents available to the client.
  smtp-server       SMTP servers available to the client.
  pop3-server       POP3 servers available to the client.
  nntp-server       NNTP servers available to the client.
  default-www-server
                    Default WWW servers available to the client.
  default-finger-server
                    Default Finger servers available to the client.
  default-irc-server
                    Default IRC servers available to the client.
  street-talk-server
                    StreetTalk servers available to the client.
  stda-server       StreetTalk Directory Assistance servers available to the
                    client.
  tftp-server-name  TFTP server available to the client.
  bootfile-name     Bootfile name for the client.
  renewal-time-value
                    Maximum length of a DHCP message that the participant is
                    willing to accept.
  renewal-time-value
                    Time interval from address assignment at which the client
                    transitions to a Renewing state.
  rebinding-time-value
                    Time interval from address assignment at which the client
                    transitions to a Rebinding state.

Default

Unrecognized argument: Default

Default

Unrecognized argument: Default

Default

Unrecognized argument: Default

Destination

Unrecognized argument: Destination

Domain

Unrecognized argument: Domain

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

Flag

Unrecognized argument: Flag

IEEE

Unrecognized argument: IEEE

Interval

Unrecognized argument: Interval

Maximum

Unrecognized argument: Maximum

Maximum

Unrecognized argument: Maximum

Mobile

Unrecognized argument: Mobile

Name

Unrecognized argument: Name

NetBIOS

Unrecognized argument: NetBIOS

NetBIOS

Unrecognized argument: NetBIOS

NetBIOS

Unrecognized argument: NetBIOS

Network

Unrecognized argument: Network

Network

Unrecognized argument: Network

Network

Unrecognized argument: Network

Network

Unrecognized argument: Network

Option

Unrecognized argument: Option

RFC

Unrecognized argument: RFC

StreetTalk

Unrecognized argument: StreetTalk

Table

Unrecognized argument: Table

The

Unrecognized argument: The

Time

Unrecognized argument: Time

Time

Unrecognized argument: Time

Timeout

Unrecognized argument: Timeout

X

Unrecognized argument: X

X

Unrecognized argument: X

all-subnets-local

Usage: ffx net dhcpd set option all-subnets-local [--local]

Flag indicating if all subnets of the connected network have the same MTU.

Options:


  --local           a flag indicating if all subents of the IP network to which
                    the client is connected have the same MTU.
  --help            display usage information

arp-cache-timeout

Usage: ffx net dhcpd set option arp-cache-timeout [--timeout <timeout>]

Timeout for ARP cache entries.

Options:


  --timeout         the timeout for ARP cache entries, in seconds.
  --help            display usage information

boot-file-size

Usage: ffx net dhcpd set option boot-file-size [--size <size>]

Size of the default boot image for the client.

Options:


  --size            the size of the client's default boot image in 512-octet
                    blocks.
  --help            display usage information

bootfile-name

Usage: ffx net dhcpd set option bootfile-name [--name <name>]

Bootfile name for the client.

Options:


  --name            the bootfile name for the client. This option should be used
                    when the `file` field has been overloaded to carry options.
  --help            display usage information

broadcast-address

Usage: ffx net dhcpd set option broadcast-address [--addr <addr>]

Broadcast address of the client's subnet.

Options:


  --addr            the broadcast address of the client's subnet. Legal values
                    are defined in RFC 1122.
  --help            display usage information

cache.

Unrecognized argument: cache.

client.

Unrecognized argument: client.

client.

Unrecognized argument: client.

client.

Unrecognized argument: client.


Usage: ffx net dhcpd set option cookie-server [--cookie-servers <cookie-servers...>]

RFC 865 Cookie servers available to the client.

Options:


  --cookie-servers  a list of RFC 865 Cookie servers available to the client, in
                    order of preference.
  --help            display usage information

default-finger-server

Usage: ffx net dhcpd set option default-finger-server [--finger-servers <finger-servers...>]

Default Finger servers available to the client.

Options:


  --finger-servers  a list of default Finger server addresses available to the
                    client, listed in order of preference.
  --help            display usage information

default-ip-ttl

Usage: ffx net dhcpd set option default-ip-ttl [--ttl <ttl>]

Default time-to-live to use on outgoing IP datagrams.

Options:


  --ttl             the default time-to-live to use on outgoing IP datagrams.
                    The value must be between 1 and 255.
  --help            display usage information

default-irc-server

Usage: ffx net dhcpd set option default-irc-server [--irc-servers <irc-servers...>]

Default IRC servers available to the client.

Options:


  --irc-servers     a list of Internet Relay Chat server addresses available to
                    the client, listed in order of preference.
  --help            display usage information

default-www-server

Usage: ffx net dhcpd set option default-www-server [--www-servers <www-servers...>]

Default WWW servers available to the client.

Options:


  --www-servers     a list of default World Wide Web (WWW) server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

domain-name

Usage: ffx net dhcpd set option domain-name [--name <name>]

Domain name of the client.

Options:


  --name            the client's domain name for use in resolving hostnames in
                    the DNS.
  --help            display usage information

domain-name-server

Usage: ffx net dhcpd set option domain-name-server [--domain-name-servers <domain-name-servers...>]

Domain Name System servers available to the client.

Options:


  --domain-name-servers
                    a list of DNS servers available to the client, in order of
                    preference;
  --help            display usage information

ethernet-encapsulation

Usage: ffx net dhcpd set option ethernet-encapsulation [--encapsulate]

Flag specifying whether the client should use Ethernet v2 or IEEE 802.3 encapsulation.

Options:


  --encapsulate     a flag specifying that the client should use Ethernet v2
                    encapsulation when false, and IEEE 802.3 encapsulation when
                    true.
  --help            display usage information

extensions-path

Usage: ffx net dhcpd set option extensions-path [--path <path>]

Path name to a TFTP-retrievable file containing vendor-extension information.

Options:


  --path            the path name to a TFTP-retrievable file. This file contains
                    data which can be interpreted as the BOOTP vendor-extension
                    field. Unlike the BOOTP vendor-extension field, this file
                    has an unconstrained length and any references to Tag 18 are
                    ignored.
  --help            display usage information

host-name

Usage: ffx net dhcpd set option host-name [--name <name>]

Name of the client.

Options:


  --name            the name of client, which may or may not be qualified with
                    the local domain name.
  --help            display usage information

impress-server

Usage: ffx net dhcpd set option impress-server [--impress-servers <impress-servers...>]

Imagen Impress servers available to the client.

Options:


  --impress-servers a list of Imagen Impress servers available to the client, in
                    order of preference.
  --help            display usage information

interface-mtu

Usage: ffx net dhcpd set option interface-mtu [--mtu <mtu>]

MTU for the client's interface.

Options:


  --mtu             the MTU for the client's interface. Minimum value of 68.
  --help            display usage information

ip-forwarding

Usage: ffx net dhcpd set option ip-forwarding [--enabled]

Flag enabling/disabling IP layer packet forwarding.

Options:


  --enabled         a flag which will enabled IP layer packet forwarding when
                    true.
  --help            display usage information

keepalive

Unrecognized argument: keepalive

log-server

Usage: ffx net dhcpd set option log-server [--log-servers <log-servers...>]

MIT-LCS UDP Log servers available to the client.

Options:


  --log-servers     a list of MIT-LCS UDP Log servers available to the client,
                    in order of preference.
  --help            display usage information

lpr-server

Usage: ffx net dhcpd set option lpr-server [--lpr-servers <lpr-servers...>]

RFC 1179 Line Printer servers available to the client.

Options:


  --lpr-servers     a list of RFC 1179 Line Printer servers available to the
                    client, in order of preference.
  --help            display usage information

mask

Unrecognized argument: mask

mask

Unrecognized argument: mask

mask-supplier

Usage: ffx net dhcpd set option mask-supplier [--supplier]

Flag indicating whether the client should respond to subnet mask discovery requests via ICMP.

Options:


  --supplier        a flag indicating whether the client should respond to
                    subnet mask discovery requests via ICMP.
  --help            display usage information

max-datagram-reassembly-size

Usage: ffx net dhcpd set option max-datagram-reassembly-size [--size <size>]

Maximum sized datagram that the client should be able to reassemble.

Options:


  --size            the maximum sized datagram that the client should be able to
                    reassemble, in octets. The minimum legal value is 576.
  --help            display usage information

merit-dump-file

Usage: ffx net dhcpd set option merit-dump-file [--path <path>]

Path name of a core dump file.

Options:


  --path            the path name to the client's core dump in the event the
                    client crashes.
  --help            display usage information

messages

Unrecognized argument: messages

mobile-ip-home-agent

Usage: ffx net dhcpd set option mobile-ip-home-agent [--home-agents <home-agents...>]

Mobile IP home agents available to the client.

Options:


  --home-agents     a list of mobile IP home agent addresses available to the
                    client, listed in order of preference.
  --help            display usage information

name-server

Usage: ffx net dhcpd set option name-server [--name-servers <name-servers...>]

IEN 116 Name servers available to the client.

Options:


  --name-servers    a list of IEN 116 Name servers available to the client, in
                    order of preference.
  --help            display usage information

net-bios-over-tcpip-distribution-server

Usage: ffx net dhcpd set option net-bios-over-tcpip-distribution-server [--servers <servers...>]

NetBIOS datagram distribution servers available to the client.

Options:


  --servers         a list of NetBIOS datagram distribution servers available to
                    the client, listed in order of preference.
  --help            display usage information

net-bios-over-tcpip-name-server

Usage: ffx net dhcpd set option net-bios-over-tcpip-name-server [--servers <servers...>]

NetBIOS name servers available to the client.

Options:


  --servers         a list of NetBIOS name server addresses available to the
                    client, listed in order of preference.
  --help            display usage information

net-bios-over-tcpip-node-type

Usage: ffx net dhcpd set option net-bios-over-tcpip-node-type [<command>] [<args>]

The NetBIOS node type which should be used by the client.

Options:


  --help            display usage information

Commands:


  b-node            A B node type.
  p-node            A P node type.
  m-node            A M node type.
  h-node            A H node type.

# b-node

Usage: ffx net dhcpd set option net-bios-over-tcpip-node-type b-node

A B node type.

Options:


  --help            display usage information

# h-node

Usage: ffx net dhcpd set option net-bios-over-tcpip-node-type h-node

A H node type.

Options:


  --help            display usage information

# m-node

Usage: ffx net dhcpd set option net-bios-over-tcpip-node-type m-node

A M node type.

Options:


  --help            display usage information

# p-node

Usage: ffx net dhcpd set option net-bios-over-tcpip-node-type p-node

A P node type.

Options:


  --help            display usage information

net-bios-over-tcpip-scope

Usage: ffx net dhcpd set option net-bios-over-tcpip-scope [--scope <scope>]

NetBIOS scope parameter for the client.

Options:


  --scope           the NetBIOS over TCP/IP scope parameter, as defined in RFC
                    1001, for the client.
  --help            display usage information

network-information-servers

Usage: ffx net dhcpd set option network-information-servers [--servers <servers...>]

Network Information Service servers available to the client.

Options:


  --servers         a list of Network Information Service server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

network-information-service-domain

Usage: ffx net dhcpd set option network-information-service-domain [--domain-name <domain-name>]

Name of the client's Network Information Service domain.

Options:


  --domain-name     the name of the client's Network Information Service domain.
  --help            display usage information

network-information-service-plus-domain

Usage: ffx net dhcpd set option network-information-service-plus-domain [--domain-name <domain-name>]

Network Information System+ domain name.

Options:


  --domain-name     the name of the client's Network Information System+ domain.
  --help            display usage information

network-information-service-plus-servers

Usage: ffx net dhcpd set option network-information-service-plus-servers [--servers <servers...>]

Network Information System+ servers available to the client.

Options:


  --servers         a list of Network Information System+ server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

network-time-protocol-servers

Usage: ffx net dhcpd set option network-time-protocol-servers [--servers <servers...>]

Network Time Protocol servers available to the client.

Options:


  --servers         a list of Network Time Protocol (NTP) server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

nntp-server

Usage: ffx net dhcpd set option nntp-server [--nntp-servers <nntp-servers...>]

NNTP servers available to the client.

Options:


  --nntp-servers    a list Network News Transport Protocol (NNTP) server
                    addresses available to the client, listed in order of
                    preference.
  --help            display usage information

non-local

Unrecognized argument: non-local

non-local-source-routing

Usage: ffx net dhcpd set option non-local-source-routing [--enabled]

Flag enabling/disabling forwarding of IP packets with non-local source routes.

Options:


  --enabled         a flag which will enable forwarding of IP packets with
                    non-local source routes.
  --help            display usage information

of

Unrecognized argument: of

path-mtu-aging-timeout

Usage: ffx net dhcpd set option path-mtu-aging-timeout [--timeout <timeout>]

Timeout to use when aging Path MTU values.

Options:


  --timeout         the timeout, in seconds, to be used when again Path MTU
                    values by the mechanism in RFC 1191.
  --help            display usage information

path-mtu-plateau-table

Usage: ffx net dhcpd set option path-mtu-plateau-table [--mtu-sizes <mtu-sizes...>]

Table of MTU sizes for Path MTU Discovery.

Options:


  --mtu-sizes       A list of MTU sizes, ordered from smallest to largest. The
                    smallest value cannot be smaller than 68.
  --help            display usage information

perform-mask-discovery

Usage: ffx net dhcpd set option perform-mask-discovery [--do-discovery]

Flag indicating whether the client should perform subnet mask discovery via ICMP.

Options:


  --do-discovery    a flag indicating whether the client should perform subnet
                    mask discovery via ICMP.
  --help            display usage information

perform-router-discovery

Usage: ffx net dhcpd set option perform-router-discovery [--do-discovery]

Flag indicating whether the client should solicit routers using Router Discovery.

Options:


  --do-discovery    A flag indicating whether the client should solicit routers
                    using Router Discovery as defined in RFC 1256.
  --help            display usage information

policy-filter

Usage: ffx net dhcpd set option policy-filter [--addresses <addresses...>]

Policy filters for non-local source routing.

Options:


  --addresses       a list of IP Address and Subnet Mask pairs. If an incoming
                    source-routed packet has a next-hop that does not match one
                    of these pairs, then the packet will be dropped.
  --help            display usage information

pop3-server

Usage: ffx net dhcpd set option pop3-server [--pop3-servers <pop3-servers...>]

POP3 servers available to the client.

Options:


  --pop3-servers    a list of Post Office Protocol (POP3) server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

reassemble.

Unrecognized argument: reassemble.

rebinding-time-value

Usage: ffx net dhcpd set option rebinding-time-value [--interval <interval>]

Time interval from address assignment at which the client transitions to a Rebinding state.

Options:


  --interval        the time interval, in seconds, after address assignment at
                    which the client will transition to the Rebinding state.
  --help            display usage information

renewal-time-value

Usage: ffx net dhcpd set option renewal-time-value [--length <length>]

Maximum length of a DHCP message that the participant is willing to accept.

Options:


  --length          the maximum length in octets of a DHCP message that the
                    participant is willing to accept. The minimum value is 576.
  --help            display usage information

renewal-time-value

Usage: ffx net dhcpd set option renewal-time-value [--length <length>]

Maximum length of a DHCP message that the participant is willing to accept.

Options:


  --length          the maximum length in octets of a DHCP message that the
                    participant is willing to accept. The minimum value is 576.
  --help            display usage information

resource-location-server

Usage: ffx net dhcpd set option resource-location-server [--resource-location-servers <resource-location-servers...>]

RFC 887 Resource Location servers available to the client.

Options:


  --resource-location-servers
                    a list of RFC 887 Resource Location servers available to the
                    client, in order of preference.
  --help            display usage information

root-path

Usage: ffx net dhcpd set option root-path [--path <path>]

Path name to a TFTP-retrievable file containing vendor-extension information.

Options:


  --path            the path name to a TFTP-retrievable file. This file contains
                    data which can be interpreted as the BOOTP vendor-extension
                    field. Unlike the BOOTP vendor-extension field, this file
                    has an unconstrained length and any references to Tag 18 are
                    ignored.
  --help            display usage information

router

Usage: ffx net dhcpd set option router [--routers <routers...>]

The routers within a client's subnet.

Options:


  --routers         a list of the routers in a client's subnet, listed in order
                    of preference.
  --help            display usage information

router-solicitation-address

Usage: ffx net dhcpd set option router-solicitation-address [--addr <addr>]

Destination address for Router Solicitation requests.

Options:


  --addr            the address to which the client should transmit Router
                    Solicitation requests.
  --help            display usage information

smtp-server

Usage: ffx net dhcpd set option smtp-server [--smtp-servers <smtp-servers...>]

SMTP servers available to the client.

Options:


  --smtp-servers    a list of Simple Mail Transport Protocol (SMTP) server
                    address available to the client, listed in order of
                    preference.
  --help            display usage information

static-route

Usage: ffx net dhcpd set option static-route [--routes <routes...>]

Static Routes which the client should put in its routing cache.

Options:


  --routes          a list of Destination address/Next-hop address pairs
                    defining static routes for the client's routing table. The
                    routes should be listed in descending order of priority. It
                    is illegal to use 0.0.0.0 as the destination in a static
                    route.
  --help            display usage information

stda-server

Usage: ffx net dhcpd set option stda-server [--stda-servers <stda-servers...>]

StreetTalk Directory Assistance servers available to the client.

Options:


  --stda-servers    a list of StreetTalk Directory Assistance server addresses
                    available to the client, listed in order of preference.
  --help            display usage information

street-talk-server

Usage: ffx net dhcpd set option street-talk-server [--streettalk-servers <streettalk-servers...>]

StreetTalk servers available to the client.

Options:


  --streettalk-servers
                    a list of StreetTalk server addresses available to the
                    client, listed in order of preference.
  --help            display usage information

subnet-mask

Usage: ffx net dhcpd set option subnet-mask [--mask <mask>]

The client's subnet mask.

Options:


  --mask            a 32-bit IPv4 subnet mask.
  --help            display usage information

swap-server

Usage: ffx net dhcpd set option swap-server [--address <address>]

Address of the client's swap server.

Options:


  --address         the address of the client's swap server.
  --help            display usage information

tcp-default-ttl

Usage: ffx net dhcpd set option tcp-default-ttl [--ttl <ttl>]

Default time-to-live for outgoing TCP segments.

Options:


  --ttl             the default time-to-live that the client should use for
                    outgoing TCP segments. The minimum value is 1.
  --help            display usage information

tcp-keepalive-garbage

Usage: ffx net dhcpd set option tcp-keepalive-garbage [--send-garbage]

Flag specifying whether the client should send TCP keepalive messages with an octet of garbage.

Options:


  --send-garbage    a flag specifying whether the client should send TCP
                    keepalive messages with an octet of garbage for
                    compatibility with older implementations.
  --help            display usage information

tcp-keepalive-interval

Usage: ffx net dhcpd set option tcp-keepalive-interval [--interval <interval>]

Interval the client should wait before sending a TCP keepalive message.

Options:


  --interval        the interval, in seconds, the client should wait before
                    sending a TCP keepalive message. A value of 0 indicates that
                    the client should not send keepalive messages unless
                    specifically requested by an application.
  --help            display usage information

tftp-server-name

Usage: ffx net dhcpd set option tftp-server-name [--name <name>]

TFTP server available to the client.

Options:


  --name            the TFTP server name available to the client. This option
                    should be used when the `sname` field has been overloaded to
                    carry options.
  --help            display usage information

the

Unrecognized argument: the

the

Unrecognized argument: the

time-offset

Usage: ffx net dhcpd set option time-offset [--offset <offset>]

The client's offset from UTC.

Options:


  --offset          the client's offset from UTC in seconds. A positive offset
                    is east of the zero meridian, and a negative offset is west
                    of the zero meridian.
  --help            display usage information

time-server

Usage: ffx net dhcpd set option time-server [--time-servers <time-servers...>]

Time Protocol servers available to the client.

Options:


  --time-servers    a list of time servers available to the client, in order of
                    preference.
  --help            display usage information

trailer-encapsulation

Usage: ffx net dhcpd set option trailer-encapsulation [--trailers]

Flag specifying whether the client should negotiate the use of trailers in ARP.

Options:


  --trailers        a flag specifying whether the client negotiate the use of
                    trailers when using ARP, per RFC 893.
  --help            display usage information

transitions

Unrecognized argument: transitions

transitions

Unrecognized argument: transitions

using

Unrecognized argument: using

vendor-extension

Unrecognized argument: vendor-extension

vendor-extension

Unrecognized argument: vendor-extension

vendor-specific-information

Usage: ffx net dhcpd set option vendor-specific-information [--data <data...>]

Option for exchanging vendor-specific information between the DHCP client and DHCP server.

Options:


  --data            an opaque object of octets for exchanging vendor-specific
                    information.
  --help            display usage information

willing

Unrecognized argument: willing

x-window-system-display-manager

Usage: ffx net dhcpd set option x-window-system-display-manager [--display-servers <display-servers...>]

X window System Display Manager systems available to the client.

Options:


  --display-servers a list of X Window System Display Manager system addresses
                    available to the client, listed in order of preference.
  --help            display usage information

x-window-system-font-server

Usage: ffx net dhcpd set option x-window-system-font-server [--servers <servers...>]

X Window System Font servers available to the client.

Options:


  --servers         a list of X Window System Font server addresses available to
                    the client, listed in order of preference.
  --help            display usage information

parameter

Usage: ffx net dhcpd set parameter <command> [<args>]

A secondary command indicating a server parameter argument.

Options:


  --help            display usage information

Commands:


  ip-addrs          The IPv4 addresses to which the server is bound.
  address-pool      The pool of addresses which the DHCP server manages.
  lease-length      The duration of leases offered by the server.
  permitted-macs    The client MAC addresses which the server will issue leases
                    to.
  statically-assigned-addrs
                    Addresses in the AddressPool which will only be leased to
                    specified clients. Assigned addresses will be paired with
                    hosts in order, e.g. hosts (A, B, C) and addresses (1, 2, 3)
                    pair as ((A, 1), (B, 2), (C, 3)).
  arp-probe         Enables server behavior where the server ARPs an IP address
                    prior to issuing it in a lease.
  bound-device-names
                    The names of the network devices on which the server will
                    listen.

Addresses

Unrecognized argument: Addresses

The

Unrecognized argument: The

address-pool

Usage: ffx net dhcpd set parameter address-pool [--prefix-length <prefix-length>] [--range-start <range-start>] [--range-stop <range-stop>]

The pool of addresses which the DHCP server manages.

Options:


  --prefix-length   the prefix length of the network's subnet mask
  --range-start     the starting address, inclusive, of the range of addresses
                    which the DHCP server will lease to clients
  --range-stop      the ending address, inclusive, of the range of addresses
                    which the server will to clients
  --help            display usage information

arp-probe

Usage: ffx net dhcpd set parameter arp-probe [--enabled]

Enables server behavior where the server ARPs an IP address prior to issuing it in a lease.

Options:


  --enabled         enables server behavior where the server ARPs an IP address
                    prior to issuing it in a lease. If the server receives a
                    response, the server will mark the address as in-use and try
                    again with a different address. By default, this behavior is
                    disabled.
  --help            display usage information

bound-device-names

Usage: ffx net dhcpd set parameter bound-device-names [<names...>]

The names of the network devices on which the server will listen.

Options:


  --help            display usage information

hosts

Unrecognized argument: hosts

ip-addrs

Usage: ffx net dhcpd set parameter ip-addrs [--addrs <addrs...>]

The IPv4 addresses to which the server is bound.

Options:


  --addrs           A list of IPv4 Addresses to which the server is bound.
  --help            display usage information

lease-length

Usage: ffx net dhcpd set parameter lease-length [--default <default>] [--max <max>]

The duration of leases offered by the server.

Options:


  --default         the default lease length, in seconds, to be issued to
                    clients.
  --max             the maximum lease length value, in seconds, which the server
                    will issue to clients who have requested a specific lease
                    length. With the default value of 0, the max lease length is
                    equivalent to the default lease length.
  --help            display usage information

listen.

Unrecognized argument: listen.

pair

Unrecognized argument: pair

permitted-macs

Usage: ffx net dhcpd set parameter permitted-macs [--macs <macs...>]

The client MAC addresses which the server will issue leases to.

Options:


  --macs            the client MAC addresses which the server will issue leases
                    to. By default, the server will not have a permitted MAC
                    list, in which case it will attempt to issue a lease to
                    every client which requests one. If permitted_macs has a
                    non-zero length then the server will only respond to lease
                    requests from clients with a MAC in the list.
  --help            display usage information

prior

Unrecognized argument: prior

specified

Unrecognized argument: specified

statically-assigned-addrs

Usage: ffx net dhcpd set parameter statically-assigned-addrs [--hosts <hosts...>] [--assigned-addrs <assigned-addrs...>]

Addresses in the AddressPool which will only be leased to specified clients. Assigned addresses will be paired with hosts in order, e.g. hosts (A, B, C) and addresses (1, 2, 3) pair as ((A, 1), (B, 2), (C, 3)).

Options:


  --hosts           hosts which will be leased the addresses reserved by
                    `assigned_addrs`.
  --assigned-addrs  addresses in the AddressPool which will not be leased to
                    clients. Typically, a network administrator will statically
                    assign these addresses to always-on network devices which
                    should always have the same IP address, such as network
                    printers.
  --help            display usage information

to.

Unrecognized argument: to.

start


Usage: ffx net dhcpd start

A primary command to start the DHCP server.

Options:


  --help            display usage information

stop


Usage: ffx net dhcpd stop

A primary command to stop the DHCP server.

Options:


  --help            display usage information

filter


Usage: ffx net filter <command> [<args>]

commands for packet filter

Options:


  --help            display usage information

Commands:


  get-nat-rules     gets nat rules
  get-rdr-rules     gets rdr rules
  get-rules         gets filter rules
  set-nat-rules     sets nat rules (see the netfilter::parser library for the
                    NAT rules format)
  set-rdr-rules     sets rdr rules (see the netfilter::parser library for the
                    RDR rules format)
  set-rules         sets filter rules (see the netfilter::parser library for the
                    rules format)

NAT


Unrecognized argument: NAT

RDR


Unrecognized argument: RDR

get-nat-rules


Usage: ffx net filter get-nat-rules

gets nat rules

Options:


  --help            display usage information

get-rdr-rules


Usage: ffx net filter get-rdr-rules

gets rdr rules

Options:


  --help            display usage information

get-rules


Usage: ffx net filter get-rules

gets filter rules

Options:


  --help            display usage information

rules


Unrecognized argument: rules

set-nat-rules


Usage: ffx net filter set-nat-rules <rules>

sets nat rules (see the netfilter::parser library for the NAT rules format)

Options:


  --help            display usage information

set-rdr-rules


Usage: ffx net filter set-rdr-rules <rules>

sets rdr rules (see the netfilter::parser library for the RDR rules format)

Options:


  --help            display usage information

set-rules


Usage: ffx net filter set-rules <rules>

sets filter rules (see the netfilter::parser library for the rules format)

Options:


  --help            display usage information

fwd


Usage: ffx net fwd <command> [<args>]

commands for forwarding tables

Options:


  --help            display usage information

Commands:


  add-device        adds a forwarding table entry to route to a device
  add-hop           adds a forwarding table entry to route to a IP address
  del               deletes a forwarding table entry
  list              lists forwarding table entries

add-device


Usage: ffx net fwd add-device <id> <addr> <prefix>

adds a forwarding table entry to route to a device

Options:


  --help            display usage information

add-hop


Usage: ffx net fwd add-hop <next_hop> <addr> <prefix>

adds a forwarding table entry to route to a IP address

Options:


  --help            display usage information

del


Usage: ffx net fwd del <addr> <prefix>

deletes a forwarding table entry

Options:


  --help            display usage information

list


Usage: ffx net fwd list

lists forwarding table entries

Options:


  --help            display usage information

if


Usage: ffx net if <command> [<args>]

commands for network interfaces

Options:


  --help            display usage information

Commands:


  add               adds a network interface by path
  addr              commands for updates network interface addresses
  bridge            creates a bridge between network interfaces
  del               removes a network interface
  disable           disables a network interface
  enable            enables a network interface
  get               queries a network interface
  ip-forward        get or set IP forwarding for an interface
  list              lists network interfaces

add


Usage: ffx net if add <path>

adds a network interface by path

Options:


  --help            display usage information

addr


Usage: ffx net if addr <command> [<args>]

commands for updates network interface addresses

Options:


  --help            display usage information

Commands:


  add               adds an address to the network interface
  del               deletes an address from the network interface

add

Usage: ffx net if addr add <id> <addr> <prefix>

adds an address to the network interface

Options:


  --help            display usage information

del

Usage: ffx net if addr del <id> <addr> [<prefix>]

deletes an address from the network interface

Options:


  --help            display usage information

bridge


Usage: ffx net if bridge [<ids...>]

creates a bridge between network interfaces

Options:


  --help            display usage information

del


Usage: ffx net if del <id>

removes a network interface

Options:


  --help            display usage information

disable


Usage: ffx net if disable <id>

disables a network interface

Options:


  --help            display usage information

enable


Usage: ffx net if enable <id>

enables a network interface

Options:


  --help            display usage information

get


Usage: ffx net if get <id>

queries a network interface

Options:


  --help            display usage information

ip-forward


Usage: ffx net if ip-forward <command> [<args>]

get or set IP forwarding for an interface

Options:


  --help            display usage information

Commands:


  show              get IP forwarding for an interface
  set               set IP forwarding for an interface

set

Usage: ffx net if ip-forward set <id> <ip_version> <enable>

set IP forwarding for an interface

Options:


  --help            display usage information

show

Usage: ffx net if ip-forward show <id> <ip_version>

get IP forwarding for an interface

Options:


  --help            display usage information

list


Usage: ffx net if list [<name_pattern>]

lists network interfaces

Options:


  --help            display usage information

ip-fwd


Usage: ffx net ip-fwd <command> [<args>]

commands for IP forwarding

Options:


  --help            display usage information

Commands:


  disable           disables IP forwarding
  enable            enables IP forwarding

disable


Usage: ffx net ip-fwd disable

disables IP forwarding

Options:


  --help            display usage information

enable


Usage: ffx net ip-fwd enable

enables IP forwarding

Options:


  --help            display usage information

log


Usage: ffx net log <command> [<args>]

commands for logging

Options:


  --help            display usage information

Commands:


  set-packets       log packets to stdout

set-packets


Usage: ffx net log set-packets <enabled>

log packets to stdout

Options:


  --help            display usage information

metric


Usage: ffx net metric <command> [<args>]

commands for interface route metrics

Options:


  --help            display usage information

Commands:


  set               assigns a route metric to the network interface

set


Usage: ffx net metric set <id> <metric>

assigns a route metric to the network interface

Options:


  --help            display usage information

neigh


Usage: ffx net neigh <command> [<args>]

commands for neighbor tables

Options:


  --help            display usage information

Commands:


  add               adds an entry to the neighbor table
  clear             removes all entries associated with a network interface from
                    the neighbor table
  del               removes an entry from the neighbor table
  list              lists neighbor table entries
  watch             watches neighbor table entries for state changes
  config            commands for the Neighbor Unreachability Detection
                    configuration

add


Usage: ffx net neigh add <interface> <ip> <mac>

adds an entry to the neighbor table

Options:


  --help            display usage information

clear


Usage: ffx net neigh clear <interface> <ip_version>

removes all entries associated with a network interface from the neighbor table

Options:


  --help            display usage information

config


Usage: ffx net neigh config <command> [<args>]

commands for the Neighbor Unreachability Detection configuration

Options:


  --help            display usage information

Commands:


  get               returns the current NUD configuration options for the
                    provided interface
  update            updates the current NUD configuration options for the
                    provided interface

get

Usage: ffx net neigh config get <interface> <ip_version>

returns the current NUD configuration options for the provided interface

Options:


  --help            display usage information

provided

Unrecognized argument: provided

provided

Unrecognized argument: provided

update

Usage: ffx net neigh config update <interface> <ip_version> [--base-reachable-time <base-reachable-time>] [--learn-base-reachable-time <learn-base-reachable-time>] [--min-random-factor <min-random-factor>] [--max-random-factor <max-random-factor>] [--retransmit-timer <retransmit-timer>] [--learn-retransmit-timer <learn-retransmit-timer>] [--delay-first-probe-time <delay-first-probe-time>] [--max-multicast-probes <max-multicast-probes>] [--max-unicast-probes <max-unicast-probes>] [--max-anycast-delay-time <max-anycast-delay-time>] [--max-reachability-confirmations <max-reachability-confirmations>]

updates the current NUD configuration options for the provided interface

Options:


  --base-reachable-time
                    a base duration, in nanoseconds, for computing the random
                    reachable time
  --learn-base-reachable-time
                    learn `base_reachable_time` during runtime from the neighbor
                    discovery protocol, if supported
  --min-random-factor
                    the minimum value of the random factor used for computing
                    reachable time
  --max-random-factor
                    the maximum value of the random factor used for computing
                    reachable time
  --retransmit-timer
                    duration, in nanoseconds, between retransmissions of
                    reachability probes in the PROBE state
  --learn-retransmit-timer
                    learn `retransmit_timer` during runtime from the neighbor
                    discovery protocol, if supported
  --delay-first-probe-time
                    duration, in nanoseconds, to wait for a
                    non-Neighbor-Discovery related protocol to reconfirm
                    reachability after entering the DELAY state
  --max-multicast-probes
                    the number of reachability probes to send before concluding
                    negative reachability and deleting the entry from the
                    INCOMPLETE state
  --max-unicast-probes
                    the number of reachability probes to send before concluding
                    retransmissions from within the PROBE state should cease and
                    the entry SHOULD be deleted
  --max-anycast-delay-time
                    if the target address is an anycast address, the stack
                    SHOULD delay sending a response for a random time between 0
                    and this duration, in nanoseconds
  --max-reachability-confirmations
                    a node MAY send up to this amount of unsolicited
                    reachability confirmations messages to all-nodes multicast
                    address when a node determines its link-layer address has
                    changed
  --help            display usage information

configuration


Unrecognized argument: configuration

del


Usage: ffx net neigh del <interface> <ip>

removes an entry from the neighbor table

Options:


  --help            display usage information

list


Usage: ffx net neigh list

lists neighbor table entries

Options:


  --help            display usage information

the


Unrecognized argument: the

watch


Usage: ffx net neigh watch

watches neighbor table entries for state changes

Options:


  --help            display usage information

route


Usage: ffx net route <command> [<args>]

commands for routing tables

Options:


  --help            display usage information

Commands:


  list              lists devices
  add               adds a route to the route table
  del               deletes a route from the route table

add


Usage: ffx net route add --destination <destination> --netmask <netmask> [--gateway <gateway>] --nicid <nicid> --metric <metric>

adds a route to the route table

Options:


  --destination     the network id of the destination network
  --netmask         the netmask corresponding to destination
  --gateway         the ip address of the first hop router
  --nicid           the outgoing network interface id of the route
  --metric          the metric for the route
  --help            display usage information

del


Usage: ffx net route del --destination <destination> --netmask <netmask> [--gateway <gateway>] --nicid <nicid> --metric <metric>

deletes a route from the route table

Options:


  --destination     the network id of the destination network
  --netmask         the netmask corresponding to destination
  --gateway         the ip address of the first hop router
  --nicid           the outgoing network interface id of the route
  --metric          the metric for the route
  --help            display usage information

list


Usage: ffx net route list

lists devices

Options:


  --help            display usage information

overnet


Usage: ffx overnet <command> [<args>]

Interact with the Overnet mesh

Options:


  --help            display usage information

Commands:


  list-peers        List known peer nodes
  list-links        List links on a particular peer
  host-pipe         Use stdin/stdout as a link to another overnet instance
  full-map          Construct a detailed graphviz map of the Overnet mesh -
                    experts only!

experts


Unrecognized argument: experts

full-map


Usage: ffx overnet full-map --exclude-self <exclude-self>

Construct a detailed graphviz map of the Overnet mesh - experts only!

Options:


  --exclude-self    if set, exclude the onet tool from output
  --help            display usage information

host-pipe


Usage: ffx overnet host-pipe

Use stdin/stdout as a link to another overnet instance

Options:


  --help            display usage information


Usage: ffx overnet list-links <nodes>

List links on a particular peer

Options:


  --help            display usage information

list-peers


Usage: ffx overnet list-peers

List known peer nodes

Options:


  --help            display usage information

package


Usage: ffx package <command> [<args>]

Create and publish Fuchsia packages

Options:


  --help            display usage information

Commands:


  build             Builds a package.
  download          download Package from TUF package server.
  export            export a package archive
  import            import a package archive

build


Usage: ffx package build --build-manifest-path <build-manifest-path> [--package-manifest-path <package-manifest-path>] [-o <out>] --published-name <published-name>

Builds a package.

Options:


  --build-manifest-path
                    path to the build manifest file
  --package-manifest-path
                    write package manifest to this path
  -o, --out         directory to save package artifacts
  --published-name  name of the package
  --help            display usage information

download


Usage: ffx package download <tuf_url> <blob_url> <target_path> [-o <output-path>]

download Package from TUF package server.

Options:


  -o, --output-path directory to save package
  --help            display usage information

export


Usage: ffx package export <package> -o <output>

export a package archive

Options:


  -o, --output      output
  --help            display usage information

import


Usage: ffx package import <archive>

import a package archive

Options:


  --help            display usage information

pdk


Usage: ffx pdk <command> [<args>]

PDK related tool.

Options:


  --help            display usage information

Commands:


  fetch             Fetch the artifacts based on artifact_lock.json
  update            Update the artifact_lock.json

fetch


Usage: ffx pdk fetch --lock-file <lock-file> [-o <out>] [-m <merkle>] [-a <artifact>] [--local-dir <local-dir>] [--show-progress]

Fetch the artifacts based on artifact_lock.json

Options:


  --lock-file       path to the artifact_lock.json file
  -o, --out         path to the output directory
  -m, --merkle      merkle of the blob to download
  -a, --artifact    name of the artifact to download
  --local-dir       path to local artifact_store. This parameter is required
                    only when a local artifact store is used.
  --show-progress   fetch progress will be shown if this flag is set.
  --help            display usage information

update


Usage: ffx pdk update --spec-file <spec-file> [-o <out>] [--artifact-root <artifact-root>]

Update the artifact_lock.json

Options:


  --spec-file       path to the artifact_spec.json file.
  -o, --out         path to the output artifact_lock.json file.
  --artifact-root   path to root directory for local artifact_groups.json file.
                    This parameter is required only when a local artifact store
                    is used.
  --help            display usage information

platform


Usage: ffx platform <command> [<args>]

Manage platform build prerequisites

Options:


  --help            display usage information

Commands:


  preflight         Evaluate suitability for building and running Fuchsia

preflight


Usage: ffx platform preflight [--json]

Evaluate suitability for building and running Fuchsia

Options:


  --json            outputs json instead of human-readable text.
  --help            display usage information

profile


Usage: ffx profile <command> [<args>]

Profile run-time information from various subsystems

Options:


  --help            display usage information

Commands:


  cpu               Query CPU-related information

cpu


Usage: ffx profile cpu <command> [<args>]

Query CPU-related information

Options:


  --help            display usage information

Commands:


  load              Measure CPU load over the specified duration

load


Usage: ffx profile cpu load -d <duration>

Measure CPU load over the specified duration

Options:


  -d, --duration    duration over which to measure the CPU load
  --help            display usage information

Examples:
  To measure the CPU load over a two second duration
  
      $ ffx profile cpu load --duration 2
      

Notes:
  This command uses the GetCpuLoad method of the fuchsia.kernel.Stats service to query the
  the load from each active CPU core in the system. The measured CPU load from each core is
  printed in the following format:
  
      CPU 0: 0.66%
      CPU 1: 1.56%
      CPU 2: 0.83%
      CPU 3: 0.71%
      Total: 3.76%
  
  The valid range for each CPU load is [0-100]%. The "Total" value represents the summation
  of the load percentages of all CPU cores and is valid in the range [0-100*[NUM_CPU]]%
  

repository


Usage: ffx repository <command> [<args>]

Inspect and manage package repositories

Options:


  --help            display usage information

Commands:


  add-from-pm       Make the daemon aware of a specific pm-built repository
  default           Manage the default repository
  list              List all repositories
  package           List the packages inside a repository
  remove            

add-from-pm


Usage: ffx repository add-from-pm <pm_repo_path> [-r <repository>]

Make the daemon aware of a specific pm-built repository

Options:


  -r, --repository  repositories will be named `NAME`. Defaults to `devhost`.
  --help            display usage information

default


Usage: ffx repository default <command> [<args>]

Manage the default repository

Options:


  --help            display usage information

Commands:


  get               Get the default configured repository
  set               Set the default repository
  unset             Clears the default configured repository

Examples:
  For one-off overrides for the default use `--repository` option:
  
      $ ffx repository <subcommand> --repository <repository name> ...
  
  Or use the `--config` option:
  
      $ ffx --config repository.default=<repository name> repository <subcommand>

Notes:
  Manages the default configured repository for all operations. The default
  repository is designated by a `*` next to the name. This is an alias for the
  `repository.default` configuration key.

get


Usage: ffx repository default get

Get the default configured repository

Options:


  --help            display usage information

Notes:
  Returns the default configured repository from the 'User Configuration'.
  Returns an empty string if no default is configured.

set


Usage: ffx repository default set <name> [-l <level>] [-b <build-dir>]

Set the default repository

Options:


  -l, --level       config level, such as 'user', 'build', or 'global'
  -b, --build-dir   optional directory to associate the provided build config
  --help            display usage information

Examples:
  To set the default repository:
  
     $ ffx repository default set <repository name>
  
  To set the 'repository.default` key at the global configuration:
  
     $ ffx repository default set -l global <repository name>
  
  To specify a default repository for a specific build directory:
  
     $ ffx repository default set -l build -b ~/fuchsia/out <repository name>

Notes:
  Sets the `repository.default` configuration key. By default sets the key in
  the 'User Configuration'. Can be used in conjuction with `ffx repository list`
  to list the names of the discovered repositorys.
  
  After setting the default repository, `ffx repository list` will mark the default
  with a `*` in the output list.

unset


Usage: ffx repository default unset [-l <level>] [-b <build-dir>]

Clears the default configured repository

Options:


  -l, --level       config level, such as 'user', 'build', or 'global'
  -b, --build-dir   optional directory to associate the provided build config
  --help            display usage information

Examples:
  To clear the default repository:
  
      $ ffx repository default unset
  
  To clear the `repository.default` key from global configuration:
  
      $ ffx repository default unset -l global
  
  To specify a specific build directory:
  
      $ ffx repository default unset -l build -b ~/fuchsia/out

Notes:
  Clears the `repository.default` configuration key. By default clears the
  'User Configuration'. Returns a warning if the key is already empty.

list


Usage: ffx repository list

List all repositories

Options:


  --help            display usage information

package


Usage: ffx repository package <command> [<args>]

List the packages inside a repository

Options:


  --help            display usage information

Commands:


  list              Inspect and manage package repositories
  show              Inspect content of a package

list


Usage: ffx repository package list [-r <repository>] [--full-hash] [--include-components <include-components>]

Inspect and manage package repositories

Options:


  -r, --repository  list packages from this repository.
  --full-hash       if true, package hashes will be displayed in full (i.e. not
                    truncated).
  --include-components
                    toggle whether components in each package will be fetched
                    and shown in the output table
  --help            display usage information

show


Usage: ffx repository package show <package> [-r <repository>] [--full-hash]

Inspect content of a package

Options:


  -r, --repository  list package contents from this repository.
  --full-hash       if true, package hashes will be displayed in full (i.e. not
                    truncated).
  --help            display usage information

remove


Usage: ffx repository remove <name>



Options:


  --help            display usage information

schema


Usage: ffx schema

Print out ffx schema

Options:


  --help            display usage information

scrutiny


Usage: ffx scrutiny <command> [<args>]

Audit the security of Fuchsia

Options:


  --help            display usage information

Commands:


  extract           Extracts common Fuchsia file types
  list              Lists properties about build artifacts
  shell             Launch the scrutiny shell
  verify            Verify the build

extract


Usage: ffx scrutiny extract <command> [<args>]

Extracts common Fuchsia file types

Options:


  --help            display usage information

Commands:


  blobfs            Extracts a Blobfs block file
  fvm               Extracts a FVM file
  package           Extracts a Fuchsia package from a Url
  zbi               Extracts the Zircon Boot Image

blobfs


Usage: ffx scrutiny extract blobfs <input> <output>

Extracts a Blobfs block file

Options:


  --help            display usage information

Examples:
  To extract a Blobfs block file:
  
          $ffx scrutiny extract blobfs blob.blk /tmp/blobs

Notes:
  Extracts a blobfs block file to a specific directory.

fvm


Usage: ffx scrutiny extract fvm <input> <output>

Extracts a FVM file

Options:


  --help            display usage information

Examples:
  To extract a FVM file:
  
          $ffx scrutiny extract fvm fvm.blk /tmp/fvm

Notes:
  Extracts a FVM to a specific directory.

package


Usage: ffx scrutiny extract package <url> <output>

Extracts a Fuchsia package from a Url

Options:


  --help            display usage information

Examples:
  To extract a Fuchsia package from a url:
  
          $ffx scrutiny extract package fuchsia-pkg://fuchsia.com/foo /tmp/foo

Notes:
  Extracts a package to a specific directory.

zbi


Usage: ffx scrutiny extract zbi <input> <output>

Extracts the Zircon Boot Image

Options:


  --help            display usage information

Examples:
  To extract a Zircon Boot Image:
  
          $ffx scrutiny extract zbi foo.zbi /tmp/foo

Notes:
  Extracts a ZBI to a specific directory.

list


Usage: ffx scrutiny list <command> [<args>]

Lists properties about build artifacts

Options:


  --help            display usage information

Commands:


  components        Lists all the components in the build
  package           Lists all the files in a package
  packages          Lists all the packages in the build

components


Usage: ffx scrutiny list components

Lists all the components in the build

Options:


  --help            display usage information

Examples:
  To list all the components in the build:
  
          $ffx scrutiny list components 

Notes:
  Lists all the components in the build in a json format.

package


Usage: ffx scrutiny list package <url>

Lists all the files in a package

Options:


  --help            display usage information

Examples:
  To list all the files in a package:
  
          $ffx scrutiny list package fuchsia-pkg://fuchsia.com/foo

Notes:
  Lists all the package contents in json format.

packages


Usage: ffx scrutiny list packages

Lists all the packages in the build

Options:


  --help            display usage information

Examples:
  To list all the packages in the build:
  
          $ffx scrutiny list packages

Notes:
  Lists all the packages in the build in a json format.

shell


Usage: ffx scrutiny shell [<command>] [-b <build>] [-s <script>] [-m <model>] [-l <log>] [-p <port>] [-v <verbosity>]

Launch the scrutiny shell

Options:


  -b, --build       set a custom path to the build directory
  -s, --script      run a file as a scrutiny script
  -m, --model       set a custom path to the data model
  -l, --log         set a custom path output log
  -p, --port        set a custom port to run scrutiny on
  -v, --verbosity   set the verbosity level of logging
  --help            display usage information

Examples:
  To start an interactive shell session:
  
      $ ffx scrutiny shell
  
  To run commands directly:
  
      $ ffx scrutiny shell components
      $ ffx scrutiny shell "search.packages --files fdio"
      

Notes:
  Launches an interactive scrutiny shell where scrutiny specific
  commands can be run. This will also launch a server on port 127.0.0.1:8080
  by default that provides visual auditing tools.
  
  Inside the shell run help for a full list of available commands. If you wish to
  integrate Scrutiny as part of a wider script check out the --script option.

verify


Usage: ffx scrutiny verify <command> [<args>]

Verify the build

Options:


  --help            display usage information

Commands:


  routes            Verifies protocol and directory routes in Fuchsia

routes


Usage: ffx scrutiny verify routes [<capability>]

Verifies protocol and directory routes in Fuchsia

Options:


  --help            display usage information

Examples:
  To verify the routes on your current build:
  
          $ffx scrutiny verify routes
          $ffx scrutiny verify routes directory
          $ffx scrutiny verify routes protocol

Notes:
  Verifies all protocol and directory routes.

sdk


Usage: ffx sdk <command> [<args>]

Modify or query the installed SDKs

Options:


  --help            display usage information

Commands:


  version           Retrieve the version of the current SDK
  set               Set sdk-related configuration options

set


Usage: ffx sdk set <command> [<args>]

Set sdk-related configuration options

Options:


  --help            display usage information

Commands:


  root              Sets the path to the root of the preferred SDK

root


Usage: ffx sdk set root <path>

Sets the path to the root of the preferred SDK

Options:


  --help            display usage information

version


Usage: ffx sdk version

Retrieve the version of the current SDK

Options:


  --help            display usage information

self-test


Usage: ffx self-test [--timeout <timeout>] [--case-timeout <case-timeout>] [--include-target <include-target>] [<command>] [<args>]

Execute the ffx self-test (e2e) suite

Options:


  --timeout         maximum runtime of entire test suite in seconds
  --case-timeout    maximum run time of a single test case in seconds
  --include-target  include target interaction tests
  --help            display usage information

Commands:


  experiment        A fake experiment for the ffx self-test (e2e) suite

experiment


Usage: ffx self-test experiment

A fake experiment for the ffx self-test (e2e) suite

Options:


  --help            display usage information

session


Usage: ffx session <command> [<args>]

Control the session

Options:


  --help            display usage information

Commands:


  add               Add an element to the current session
  keyboard          Modify keyboard settings
  launch            Launch a session
  restart           Restart the current session
  show              Show information about the current session

add


Usage: ffx session add <url>

Add an element to the current session

Options:


  --help            display usage information

keyboard


Usage: ffx session keyboard --keymap <keymap>

Modify keyboard settings

Options:


  --keymap          the keymap to use, one of US_QWERTY,FR_AZERTY,US_DVORAK
  --help            display usage information

launch


Usage: ffx session launch <url>

Launch a session

Options:


  --help            display usage information

restart


Usage: ffx session restart

Restart the current session

Options:


  --help            display usage information

show


Usage: ffx session show

Show information about the current session

Options:


  --help            display usage information

starnix


Usage: ffx starnix <command> [<args>]

Control starnix processes

Options:


  --help            display usage information

Commands:


  shell             Start a shell inside starnix
  start             Start a component inside starnix

shell


Usage: ffx starnix shell

Start a shell inside starnix

Options:


  --help            display usage information

Examples:
  To start a shell inside starnix:
  
      $ ffx starnix shell

start


Usage: ffx starnix start <url>

Start a component inside starnix

Options:


  --help            display usage information

Examples:
  To start a component inside starnix:
  
      $ ffx starnix start <url>

target


Usage: ffx target <command> [<args>]

Interact with a target device or emulator

Options:


  --help            display usage information

Commands:


  add               Make the daemon aware of a specific target
  default           Manage the default target
  flash             Flash an image to a target device
  forward           Forward ports from a target
  get-ssh-address   Get the target's ssh address
  list              List all targets
  off               Powers off a target
  reboot            Reboots a target
  remove            Make the daemon forget a specific target
  repository        Interact with target repository registration
  show              Display relevant information for the target
  snapshot          Takes a snapshot of the target's state
  update            Update base system software on target
  wait              Wait until the target becomes available.

Notes:
  The `target` subcommand contains various commands for target management
  and interaction.
  
  Typically, this is the entry workflow for users, allowing for target
  discovery and provisioning before moving on to `component` or `session`
  workflows once the system is up and running on the target.
  
  Most of the commands depend on the RCS (Remote Control Service) on the
  target.

add


Usage: ffx target add <addr>

Make the daemon aware of a specific target

Options:


  --help            display usage information

Examples:
  To add a remote target forwarded via ssh:
  
      $ ffx target add 127.0.0.1:8022
  
  Or to add a target using its IPV6:
  
      $ ffx target add fe80::32fd:38ff:fea8:a00a

Notes:
  Manually add a target based on its IP address. The command accepts IPV4
  or IPV6 addresses, including a port number: `<addr> = <ip addr:port>`.
  
  Typically, the daemon automatically discovers targets as they come online.
  However, manually adding a target allows for specifying a port number or
  address, often used for remote workflows.

default


Usage: ffx target default <command> [<args>]

Manage the default target

Options:


  --help            display usage information

Commands:


  get               Get the default configured target
  set               Set the default target
  unset             Clears the default configured target

Examples:
  For one-off overrides for the default use `--target` option:
  
      $ ffx --target <target name> <subcommand>
  
  Or use the `--config` option:
  
      $ ffx --config target.default=<target name> <subcommand>

Notes:
  Manages the default configured target for all operations. The default
  target is designated by a `*` next to the name. This is an alias for the
  `target.default` configuration key.

get


Usage: ffx target default get

Get the default configured target

Options:


  --help            display usage information

Notes:
  Returns the default configured target from the 'User Configuration'.
  Returns an empty string if no default is configured.

set


Usage: ffx target default set <nodename> [-l <level>] [-b <build-dir>]

Set the default target

Options:


  -l, --level       config level, such as 'user', 'build', or 'global'
  -b, --build-dir   optional directory to associate the provided build config
  --help            display usage information

Examples:
  To set the default target:
  
     $ ffx target default set <target name>
  
  To set the 'target.default` key at the global configuration:
  
     $ ffx target default set -l global <target name>
  
  To specify a default target for a specific build directory:
  
     $ ffx target default set -l build -b ~/fuchsia/out <target name>

Notes:
  Sets the `target.default` configuration key. By default sets the key in
  the 'User Configuration'. Can be used in conjuction with `ffx target list`
  to list the names of the discovered targets.
  
  After setting the default target, `ffx target list` will mark the default
  with a `*` in the output list.

unset


Usage: ffx target default unset [-l <level>] [-b <build-dir>]

Clears the default configured target

Options:


  -l, --level       config level, such as 'user', 'build', or 'global'
  -b, --build-dir   optional directory to associate the provided build config
  --help            display usage information

Examples:
  To clear the default target:
  
      $ ffx target default unset
  
  To clear the `target.default` key from global configuration:
  
      $ ffx target default unset -l global
  
  To specify a specific build directory:
  
      $ ffx target default unset -l build -b ~/fuchsia/out

Notes:
  Clears the `target.default` configuration key. By default clears the
  'User Configuration'. Returns a warning if the key is already empty.

flash


Usage: ffx target flash [<manifest>] [-p <product>] [--oem-stage <oem-stage...>] [--ssh-key <ssh-key>] [--no-bootloader-reboot] [--skip-verify] [<command>] [<args>]

Flash an image to a target device

Options:


  -p, --product     product entry in manifest - defaults to `fuchsia`
  --oem-stage       oem staged file - can be supplied multiple times
  --ssh-key         path to ssh key - will default to the `ssh.pub` key in ffx
                    config
  --no-bootloader-reboot
                    the device should not reboot after bootloader images are
                    flashed
  --skip-verify     skip hardware verification.  This is dangerous, please be
                    sure the images you are flashing match the device
  --help            display usage information

Commands:


  lock              Locks a fastboot target.
  unlock            Unlocks a fastboot target.
  boot              RAM boots a fastboot target.

Examples:
  To flash a specific image:
  
      $ ffx target flash ~/fuchsia/out/flash.json fuchsia
  
  To include SSH keys as well:
  
      $ ffx target flash
      --ssh-key ~/fuchsia/.ssh/authorized_keys
      ~/fuchsia/out/default/flash.json
      --product fuchsia

Notes:
  Flashes an image to a target device using the fastboot protocol.
  Requires a specific <manifest> file and <product> name as an input.
  
  This is only applicable to a physical device and not an emulator target.
  The target device is typically connected via a micro-USB connection to
  the host system.
  
  The <manifest> format is a JSON file generated when building a fuchsia
  <product> and can be found in the build output directory.
  
  The `--oem-stage` option can be supplied multiple times for several OEM
  files. The format expects a single OEM command to execute after staging
  the given file.
  
  The format for the `--oem-stage` parameter is a comma separated pair:
  '<OEM_COMMAND>,<FILE_TO_STAGE>'

boot


Usage: ffx target flash boot [-z <zbi>] [-v <vbmeta>] [-s <slot>]

RAM boots a fastboot target.

Options:


  -z, --zbi         optional zbi image file path to use
  -v, --vbmeta      optional vbmeta image file path to use
  -s, --slot        slot corresponding to partitions in the flash manifest -
                    
only used if zbi and vbmeta files are not present
  --help            display usage information

lock


Usage: ffx target flash lock

Locks a fastboot target.

Options:


  --help            display usage information

unlock


Usage: ffx target flash unlock [-c <cred>] [--force]

Unlocks a fastboot target.

Options:


  -c, --cred        optional path to credential file to use to unlock the device
  --force           skips the warning message that this command is dangerous
  --help            display usage information

forward


Usage: ffx target forward <command> [<args>]

Forward ports from a target

Options:


  --help            display usage information

Commands:


  tcp               Forward a TCP port from the target to the host

tcp


Usage: ffx target forward tcp <host_address> <target_address>

Forward a TCP port from the target to the host

Options:


  --help            display usage information

get-ssh-address


Usage: ffx target get-ssh-address [-t <timeout>]

Get the target's ssh address

Options:


  -t, --timeout     the timeout in seconds [default = 1.0]
  --help            display usage information

Notes:
  Return the SSH address of the default target defined in the
  `target.default` key. By default this comes from the 'User Configuration'.
  
  The command takes a <timeout> value in seconds with a default of `1.0`
  and overrides the value in the `target.interaction.timeout` key.

Error codes:
  1 Timeout while getting ssh address
  2 Unable to get ssh address from target

list


Usage: ffx target list [<nodename>] [-f <format>]

List all targets

Options:


  -f, --format      determines the output format for the list operation
  --help            display usage information

Examples:
  To list targets in short form:
  
      $ ffx target list --format s
      fe80::4415:3606:fb52:e2bc%zx-f80ff974f283 pecan-guru-clerk-rhyme
  
  To list targets with only their addresses:
  
      $ ffx target list --format a
      fe80::4415:3606:fb52:e2bc%zx-f80ff974f283

Notes:
  List all targets that the daemon currently has in memory. This includes
  manually added targets. The daemon also proactively discovers targets as
  they come online. Use `ffx target list` to always get the latest list
  of targets.
  
  The default target is marked with a '*' next to the node name. The table
  has the following columns:
  
      NAME = The name of the target.
      TYPE = The product type of the target, currently always 'Unknown'.
      STATE = The high-level state of the target, currently always 'Unknown'.
      AGE = Shows the last time the daemon was able to discover the target.
      ADDRS/IP = The discovered and known addresses of the target.
      RCS = Indicates if the Remote Control Service is running on the target.
  
  The NAME column shows the target's advertised name. When the target is
  in early boot state such as fastboot, shows 'FastbootDevice' with the
  `product` and `serial` attributes instead.
  
  By default, the `list` command outputs in a tabular format. To override
  the format, pass `--format` and can take the following options: 'simple'
  , 'tabular|table|tab', 'addresses|addrs|addr', 'name-only', 'json|JSON' or
  in short form 's', 't', 'a', 'n', 'j'.

Error codes:
  2 If a nodename is supplied, an error code of 2 will be returned if the nodename cannot be resolved

off


Usage: ffx target off

Powers off a target

Options:


  --help            display usage information

Notes:
  Power off a target. Uses the 'fuchsia.hardware.power.statecontrol.Admin'
  FIDL API to send the power off command.
  
  The 'fuchsia.hardware.power.statecontrol.Admin' is exposed via the 'appmgr'
  component. To verify that the target exposes this service, `ffx component
  select` or `ffx component knock` can be used.

Error codes:
  1 Timeout while powering off target.

reboot


Usage: ffx target reboot [-b] [-r]

Reboots a target

Options:


  -b, --bootloader  reboot to bootloader
  -r, --recovery    reboot to recovery
  --help            display usage information

Notes:
  Reboot a target. Uses the 'fuchsia.hardware.power.statecontrol.Admin'
  FIDL API to send the reboot command.
  
  By default, target boots fully. This behavior can be overrided by passing
  in either `--bootloader` or `--recovery` to boot into the bootloader or
  recovery, respectively.
  
  The 'fuchsia.hardware.power.statecontrol.Admin' is exposed via the 'appmgr'
  component. To verify that the target exposes this service, `ffx component
  select` or `ffx component knock` can be used.

Error codes:
  1 Timeout while powering off target.

remove


Usage: ffx target remove <id>

Make the daemon forget a specific target

Options:


  --help            display usage information

Examples:
  To remove a target by its target name:
  
      $ ffx target remove correct-horse-battery-staple
  
  Or to remove a target using its IP address:
  
      $ ffx target remove fe80::32fd:38ff:fea8:a00a

Notes:
  IP addresses are matched by their full string representation.
  for best results, copy the exact address from ffx target list.

repository


Usage: ffx target repository <command> [<args>]

Interact with target repository registration

Options:


  --help            display usage information

Commands:


  deregister        Make the target forget a specific repository
  list              List all the repositories on a target
  register          Make the target aware of a specific repository

Notes:
  The `repository` subcommand contains various commands for repository management
      and interaction on targets.
  
      Most of the commands depend on the RCS (Remote Control Service) on the target.

deregister


Usage: ffx target repository deregister [-r <repository>]

Make the target forget a specific repository

Options:


  -r, --repository  remove the repository named `name` from the target, rather
                    than the default.
  --help            display usage information

list


Usage: ffx target repository list

List all the repositories on a target

Options:


  --help            display usage information

register


Usage: ffx target repository register [-r <repository>] [--storage-type <storage-type>] [--alias <alias...>]

Make the target aware of a specific repository

Options:


  -r, --repository  register this repository, rather than the default.
  --storage-type    enable persisting this repository across reboots.
  --alias           set up a rewrite rule mapping each `alias` host to to the
                    repository identified by `name`.
  --help            display usage information

show


Usage: ffx target show [--desc] [--label] [--json] [--version]

Display relevant information for the target

Options:


  --desc            display descriptions of entries
  --label           display label of entries
  --json            formats output as json objects
  --version         display version
  --help            display usage information

Notes:
  Displays a detailed iformation about the target.
  
  The default output is intended for a human reader. This output can be
  decorated with machine readable labels (--label) and descriptions of
  each field (--desc).
  
  The 'label' fields in the machine readable output (--json) will remain
  stable across software updates and is not localized (compare to 'title'
  which may change or be localized). The 'value' field will be one of:
  'null', 'bool', 'string', or a list of strings.

Error codes:
  1 Timeout retrieving target information.

snapshot


Usage: ffx target snapshot [-d <dir>] [--dump-annotations]

Takes a snapshot of the target's state

Options:


  -d, --dir         valid directory where the snapshot will be stored.
  --dump-annotations
                    print annotations
  --help            display usage information

Examples:
  Store the target's snapshot in the current directory:
  
      $ ffx target snapshot -d .
      Exported ./snapshot.zip

Notes:
  This command connects to a running target to acquire its snapshot, which contains
  useful debugging information about the target. The `--dir` can be supplied to override the default
  snapshot directory `/tmp/snapshots/YYYYMMDD_HHMMSS/`.
  
  Snapshot contents:
  - Build information and annotations
  - Kernel and system logs
  - Inspect data

update


Usage: ffx target update <command> [<args>]

Update base system software on target

Options:


  --help            display usage information

Commands:


  channel           View and manage update channels
  check-now         Check and perform the system update operation
  force-install     Trigger the system updater manually

Notes:
  This command interfaces with system update services on the target.

channel


Usage: ffx target update channel <command> [<args>]

View and manage update channels

Options:


  --help            display usage information

Commands:


  get-current       Return the currently configured update channel
  get-next          Return the next or target update channel
  set               Sets the update channel
  list              List the known update channels

Notes:
  Channel management commands and operations. Interfaces directly with
  the 'fuchsia.update.channelcontrol.ChannelControl' service on the target
  system.

get-current

Usage: ffx target update channel get-current

Return the currently configured update channel

Options:


  --help            display usage information

Notes:
  For developer product configurations, this is by default 'devhost'.

Error codes:
  1 Timeout while getting update channel.

get-next

Usage: ffx target update channel get-next

Return the next or target update channel

Options:


  --help            display usage information

Notes:
  Returns the next or target channel. This differs from `get` when the
  next successful update changes the configured update channel on the
  system.

Error codes:
  1 Timeout while getting update channel.

list

Usage: ffx target update channel list

List the known update channels

Options:


  --help            display usage information

Notes:
  This lists all the known next or target update channels on the system.
  
  Returns an empty list if no other update channels are configured.

Error codes:
  1 Timeout while getting list of update channel.

set

Usage: ffx target update channel set <channel>

Sets the update channel

Options:


  --help            display usage information

Examples:
  To list all the known update channels:
  
      $ ffx target update channel list
  
  Then, use a valid channel from the list:
  
      $ ffx target update channel set <channel>

Notes:
  Sets the next or target update channel on the device. When paired with
  `ffx target update check-now`, ensures the update is check against the
  next or target channel. When the update is successful, next or target
  channel becomes the current channel.
  
  Use `ffx target update channel list` to list known system update
  channels.

Error codes:
  1 Timeout while setting update channel.

check-now


Usage: ffx target update check-now [--service-initiated] [--monitor]

Check and perform the system update operation

Options:


  --service-initiated
                    the update check was initiated by a service, in the
                    background.
  --monitor         monitor for state update.
  --help            display usage information

Examples:
  To check for update and monitor progress:
  
      $ ffx target update check-now --monitor

Notes:
  Triggers an update check operation and performs the update if available.
  Interfaces using the 'fuchsia.update Manager' protocol with the system
  update service on the target.
  
  The command takes in an optional `--monitor` switch to watch the progress
  of the update. The output is displayed in `stdout`.
  
  The command also takes an optional `--service-initiated` switch to indicate
  a separate service has initiated a check for update.

force-install


Usage: ffx target update force-install <update_pkg_url> [--reboot <reboot>]

Trigger the system updater manually

Options:


  --reboot          automatically trigger a reboot into the new system
  --help            display usage information

Examples:
  With a known update package URL, trigger an update:
  
      $ ffx target update force-install fuchsia-pkg://fuchsia.com/update
  
  Also trigger a reboot after update:
  
      $ ffx target update force-install
      fuchsia-pkg://fuchsia.com/update
      --reboot

Notes:
  Directly invoke the system updater to install the provided update,
  bypassing any update checks.
  
  Interfaces using the 'fuchsia.update.installer' protocol to update the
  system. Requires an <update_pkg_url> in the following format:
  
  `fuchsia-pkg://fuchsia.com/update`
  
  Takes an optional `--reboot <true|false>` to trigger a system reboot
  after update has been successfully applied.

wait


Usage: ffx target wait [-t <timeout>]

Wait until the target becomes available.

Options:


  -t, --timeout     the timeout in seconds [default = 60]
  --help            display usage information

Error codes:
  1 Timeout while getting ssh address

test


Usage: ffx test <command> [<args>]

Run test suite

Options:


  --help            display usage information

Commands:


  run               Entry point for executing tests
  list-cases        List test suite cases
  result            Manage test results

Notes:
  Run tests or inspect output from a previous test run.

list-cases


Usage: ffx test list-cases <test_url>

List test suite cases

Options:


  --help            display usage information

Notes:
  Lists the set of test cases available in a test suite

result


Usage: ffx test result <command> [<args>]

Manage test results

Options:


  --help            display usage information

Commands:


  show              Display test results
  list              List test results
  delete            Delete test results
  save              Save test results

Notes:
  Inspect and manage the results from previous test runs

delete


Usage: ffx test result delete [--index <index>] [--name <name>]

Delete test results

Options:


  --index           when set, display the results of a run with specified index.
  --name            when set, display the results of a run with specified name.
  --help            display usage information

Notes:
  Manually delete a previous test run result.
  
  Either --index or --name must be specified.

list


Usage: ffx test result list

List test results

Options:


  --help            display usage information

Notes:
  Display a list of previous test runs

save


Usage: ffx test result save --index <index> --name <name>

Save test results

Options:


  --index           the index of the test result to save.
  --name            the name to assign the saved test result.
  --help            display usage information

Notes:
  Mark a test result so it is not garbage collected.
  
  By default, ffx test only retains the last 'n' test results, as configured
  with 'test.save_count'. A test result saved and given a name using the save
  command will be exempted from this cleanup and will not be counted towards the
  total number of saved test results.

show


Usage: ffx test result show [--directory <directory>] [--index <index>] [--name <name>]

Display test results

Options:


  --directory       when set, display the results of the specified directory.
  --index           when set, display the results of a run with specified index.
  --name            when set, display the results of a run with specified name.
  --help            display usage information

Notes:
  Display the results of a previous test run.
  
  When no options are provided, displays the results of the most recent test run.
  

run


Usage: ffx test run [<test_args...>] [-t <timeout>] [--test-file <test-file>] [--test-filter <test-filter...>] [--run-disabled] [--filter-ansi] [--continue-on-timeout] [--stop-after-failures <stop-after-failures>] [--parallel <parallel>] [--count <count>] [--min-severity-logs <min-severity-logs>] [--max-severity-logs <max-severity-logs>] [--output-directory <output-directory>] [--disable-output-directory]

Entry point for executing tests

Options:


  -t, --timeout     test timeout in seconds
  --test-file       read test url and options from the specified file instead of
                    from the command line. Stdin may be specified by passing
                    `--test-file -`. May not be used in conjunction with
                    `test_args`, `--test-file`, `--test-filter`,
                    `--run-disabled`, `--parallel`, `--max-severity-logs` This
                    option is currently unstable and the format of the file is
                    subject to change.
  --test-filter     test filter. Glob pattern for matching tests. Can be
                    specified multiple times to pass in multiple patterns. Tests
                    may be excluded by prepending a '-' to the glob pattern.
                    example: --test-filter glob1 --test-filter glob2
                    --test-filter -glob3.
  --run-disabled    whether to also run tests that have been marked
                    disabled/ignored by the test author.
  --filter-ansi     whether to filter ANSI escape sequences from output
  --continue-on-timeout
                    continue running unfinished suites if a suite times out. By
                    default, unfinished suites are immediately terminated if a
                    suite times out. This option is only relevant when multiple
                    suites are run.
  --stop-after-failures
                    stop running unfinished suites after the number of provided
                    failures has occurred. By default, all suites are run to
                    completion if a suite fails.
  --parallel        run tests in parallel, up to the number provided.
  --count           number of times to run the test. By default run 1 time. If
                    an iteration of the test times out, no further iterations
                    are executed.
  --min-severity-logs
                    when set, only logs with a severity equal to the given one
                    or higher will be printed.
  --max-severity-logs
                    when set, the test will fail if any log with a higher
                    severity is emitted.
  --output-directory
                    when set, output test results to the specified directory.
  --disable-output-directory
                    when set, disables structured output to a directory.
  --help            display usage information

Notes:
  Runs test suites implementing the `fuchsia.test.Suite` protocol.
  
  Tests are specified either as a command line argument, or via JSON file.
  
  For example, when specifying a test via command line:
      ffx test run fuchsia-pkg://fuchsia.com/my_test#meta/my_test.cm
  When specifying a test via command line and passing arguments to the test:
      ffx test run fuchsia-pkg://fuchsia.com/my_test#meta/my_test.cm -- arg1 arg2
  
  Specifying tests via JSON file is currently unstable, but may be done with the
  --test-file option.
  
  Note that if running multiple iterations of a test and an iteration times
  out, no further iterations will be executed.

trace


Usage: ffx trace <command> [<args>]

Interact with the tracing subsystem

Options:


  --help            display usage information

Commands:


  list-categories   List the target's known trace categories
  list-providers    List the target's trace providers
  start             Record a trace
  stop              Record a trace
  status            Gets status of all running traces.

list-categories


Usage: ffx trace list-categories

List the target's known trace categories

Options:


  --help            display usage information

list-providers


Usage: ffx trace list-providers

List the target's trace providers

Options:


  --help            display usage information

start


Usage: ffx trace start [--buffering-mode <buffering-mode>] [--buffer-size <buffer-size>] [--categories <categories>] [--duration <duration>] [--output <output>] [--background]

Record a trace

Options:


  --buffering-mode  the buffering to use on the trace. Defaults to "oneshot".
                    Accepted values are "oneshot," "circular," and "streaming."
  --buffer-size     size of per-provider trace buffer in MB.  Defaults to 4.
  --categories      comma-separated list of categories to enable.  Defaults to
                    "app,audio,benchmark,blobfs,gfx,input,kernel:meta,
                    kernel:sched,ledger,magma,minfs,modular,view,flutter,
                    dart,dart:compiler,dart:dart,dart:debugger,dart:embedder,
                    dart:gc,dart:isolate,dart:profiler,dart:vm"
  --duration        duration of trace capture in seconds.
  --output          name of output trace file.  Defaults to trace.fxt.
  --background      whether to run the trace in the background. Defaults to
                    false, which means the trace will run in "interactive" mode.
  --help            display usage information

status


Usage: ffx trace status

Gets status of all running traces.

Options:


  --help            display usage information

stop


Usage: ffx trace stop [--output <output>]

Record a trace

Options:


  --output          name of output trace file.  Defaults to trace.fxt.
  --help            display usage information

version


Usage: ffx version [-v]

Print out ffx tool and daemon versions

Options:


  -v, --verbose     if true, includes details about both ffx and the daemon
  --help            display usage information

wlan


Usage: ffx wlan <command> [<args>]

Developer tool for manipulating WLAN state.

Options:


  --help            display usage information

Commands:


  ap                Controls WLAN AP policy API.
  client            Controls WLAN client policy API.
  deprecated        Controls to-be-deleted WLAN functionality.
  dev               Warning: this tool may cause state mismatches between layers
                    of the WLAN
subsystem. It is intended for use by WLAN
                    developers only. Please reach out
to the WLAN team if your
                    use case relies on it.

To disable the WLAN policy
                    layer:

ffx wlan client stop
ffx wlan ap stop-all

To enable
                    WLAN policy layer and begin automated WLAN behavior:

ffx
                    wlan client start
ffx wlan ap start --ssid <SSID_HERE>

ap


Usage: ffx wlan ap <command> [<args>]

Controls WLAN AP policy API.

Options:


  --help            display usage information

Commands:


  listen            Listens for policy AP updates
  start             Start an access point interface
  stop              Stop an access point interface
  stop-all          Stops all active APs

listen


Usage: ffx wlan ap listen

Listens for policy AP updates

Options:


  --help            display usage information

Examples:
  To begin listening for AP events
  
      $ ffx wlan ap listen

start


Usage: ffx wlan ap start [--ssid <ssid>] [--security-type <security-type>] [--credential-type <credential-type>] [--credential <credential>]

Start an access point interface

Options:


  --ssid            WLAN network name
  --security-type   one of None, WEP, WPA, WPA2, WPA3
  --credential-type one of None, PSK, Password
  --credential      WLAN Password or PSK
  --help            display usage information

Examples:
  To start an AP
  
      $ffx wlan ap start
  
          --ssid TestNetwork
  
          --security-type wpa2
  
          --credential-type password
  
          --credential "Your very secure password here"

Notes:
  Only one application at a time can interact with the WLAN policy layer.

stop


Usage: ffx wlan ap stop [--ssid <ssid>] [--security-type <security-type>] [--credential-type <credential-type>] [--credential <credential>]

Stop an access point interface

Options:


  --ssid            WLAN network name
  --security-type   one of None, WEP, WPA, WPA2, WPA3
  --credential-type one of None, PSK, Password
  --credential      WLAN Password or PSK
  --help            display usage information

Examples:
  To stop an AP
  
      $ffx wlan ap stop
  
          --ssid TestNetwork
  
          --security-type wpa2
  
          --credential-type password
  
          --credential "Your very secure password here"

Notes:
  Only one application at a time can interact with the WLAN policy layer.

stop-all


Usage: ffx wlan ap stop-all

Stops all active APs

Options:


  --help            display usage information

Examples:
  To stop all APs
  
      $ ffx wlan ap stop-all

Notes:
  Only one application at a time can interact with the WLAN policy layer.

client


Usage: ffx wlan client <command> [<args>]

Controls WLAN client policy API.

Options:


  --help            display usage information

Commands:


  batch-config      Allows WLAN credentials to be extracted and restored.
  connect           Connect to the specified WLAN network
  listen            Listens for policy client connections updates
  list-saved-networks
                    Lists all networks saved by the WLAN policy layer.
  remove-network    WLAN policy network storage container
  save-network      WLAN policy network storage container
  scan              Scan for nearby WLAN networks.
  start             Allows wlancfg to automate WLAN client operation
  stop              Stops automated WLAN policy control of client interfaces
                    and
destroys all client interfaces.

Lists


Unrecognized argument: Lists

and


Unrecognized argument: and

batch-config


Usage: ffx wlan client batch-config <command> [<args>]

Allows WLAN credentials to be extracted and restored.

Options:


  --help            display usage information

Commands:


  dump              Extracts a structured representation of the device's saved
                    WLAN credentials.
  restore           Injects a structure representation of WLAN credentials into
                    a device.

WLAN

Unrecognized argument: WLAN

a

Unrecognized argument: a

dump

Usage: ffx wlan client batch-config dump

Extracts a structured representation of the device's saved WLAN credentials.

Options:


  --help            display usage information

Examples:
  To dump WLAN client configs
  
      $ ffx wlan client batch-config dump

Notes:
  Only one application at a time can interact with the WLAN policy layer.

restore

Usage: ffx wlan client batch-config restore <serialized_config>

Injects a structure representation of WLAN credentials into a device.

Options:


  --help            display usage information

Examples:
  To restore WLAN client configs
  
      $ ffx wlan client batch-config restore <STRUCTURE_CONFIG_DATA>

Notes:
  Only one application at a time can interact with the WLAN policy layer.

connect


Usage: ffx wlan client connect [--ssid <ssid>] [--security-type <security-type>]

Connect to the specified WLAN network

Options:


  --ssid            WLAN network name
  --security-type   one of None, WEP, WPA, WPA2, WPA3
  --help            display usage information

Examples:
  To remove a WLAN network
  
      $ffx wlan client connect
  
          --ssid TestNetwork
  
          --security-type wpa2

Notes:
  Only one application at a time can interact with the WLAN policy layer.

destroys


Unrecognized argument: destroys

list-saved-networks


Usage: ffx wlan client list-saved-networks

Lists all networks saved by the WLAN policy layer.

Options:


  --help            display usage information

Examples:
  To list saved networks
  
      $ ffx wlan client list-saved-networks

Notes:
  Only one application at a time can interact with the WLAN policy
  layer.

listen


Usage: ffx wlan client listen

Listens for policy client connections updates

Options:


  --help            display usage information

Examples:
  To begin listening for client events
  
      $ ffx wlan client listen

remove-network


Usage: ffx wlan client remove-network [--ssid <ssid>] [--security-type <security-type>] [--credential-type <credential-type>] [--credential <credential>]

WLAN policy network storage container

Options:


  --ssid            WLAN network name
  --security-type   one of None, WEP, WPA, WPA2, WPA3
  --credential-type one of None, PSK, Password
  --credential      WLAN Password or PSK
  --help            display usage information

Examples:
  To remove a WLAN network
  
      $ffx wlan client remove-network
  
          --ssid TestNetwork
  
          --security-type wpa2
  
          --credential-type password
  
          --credential "Your very secure password here"

Notes:
  Only one application at a time can interact with the WLAN policy layer.

save-network


Usage: ffx wlan client save-network [--ssid <ssid>] [--security-type <security-type>] [--credential-type <credential-type>] [--credential <credential>]

WLAN policy network storage container

Options:


  --ssid            WLAN network name
  --security-type   one of None, WEP, WPA, WPA2, WPA3
  --credential-type one of None, PSK, Password
  --credential      WLAN Password or PSK
  --help            display usage information

Examples:
  To save a WLAN network
  
      $ffx wlan client save-network
  
          --ssid TestNetwork
  
          --security-type wpa2
  
          --credential-type password
  
          --credential "Your very secure password here"

Notes:
  Only one application at a time can interact with the WLAN policy layer.

scan


Usage: ffx wlan client scan

Scan for nearby WLAN networks.

Options:


  --help            display usage information

Examples:
  To scan
  
      $ ffx wlan client scan

Notes:
  Only one application at a time can interact with the WLAN policy
  layer.

start


Usage: ffx wlan client start

Allows wlancfg to automate WLAN client operation

Options:


  --help            display usage information

Examples:
  To start client connections
  
      $ ffx wlan client start

Notes:
  Only one application at a time can interact with the WLAN policy
  layer.

stop


Usage: ffx wlan client stop

Stops automated WLAN policy control of client interfaces and
destroys all client interfaces.

Options:


  --help            display usage information

Examples:
  To stop client connections
  
      $ ffx wlan client stop

Notes:
  Only one application at a time can interact with the WLAN policy
  layer.

deprecated


Usage: ffx wlan deprecated <command> [<args>]

Controls to-be-deleted WLAN functionality.

Options:


  --help            display usage information

Commands:


  suggest-mac       Notifies WLAN policy of a MAC address that ought to be used
                    when creating new AP interfaces

suggest-mac


Usage: ffx wlan deprecated suggest-mac <mac>

Notifies WLAN policy of a MAC address that ought to be used when creating new AP interfaces

Options:


  --help            display usage information

Examples:
  To suggest an AP MAC address
  
      $ ffx wlan deprecated suggest-mac 01:02:03:04:05:06

when


Unrecognized argument: when

dev


Usage: ffx wlan dev <command> [<args>]

Warning: this tool may cause state mismatches between layers of the WLAN
subsystem. It is intended for use by WLAN developers only. Please reach out
to the WLAN team if your use case relies on it.

To disable the WLAN policy layer:

ffx wlan client stop
ffx wlan ap stop-all

To enable WLAN policy layer and begin automated WLAN behavior:

ffx wlan client start
ffx wlan ap start --ssid <SSID_HERE>

Options:


  --help            display usage information

Commands:


  phy               Configure WLAN PHY device.
  iface             Create, destroy, and query the states of WLAN interfaces.
  client            Controls a WLAN client interface.
  ap                Controls a WLAN AP interface.
  mesh              Controls a WLAN mesh interface.

ap


Usage: ffx wlan dev ap <command> [<args>]

Controls a WLAN AP interface.

Options:


  --help            display usage information

Commands:


  start             Starts an AP interface.
  stop              Stops an AP interface.

start

Usage: ffx wlan dev ap start [-i <iface>] -s <ssid> [-p <password>] -c <channel>

Starts an AP interface.

Options:


  -i, --iface       interface ID to start AP on
  -s, --ssid        AP SSID
  -p, --password    AP password
  -c, --channel     channel to start AP on
  --help            display usage information

stop

Usage: ffx wlan dev ap stop [-i <iface>]

Stops an AP interface.

Options:


  -i, --iface       interface ID to stop AP on
  --help            display usage information

client


Usage: ffx wlan dev client <command> [<args>]

Controls a WLAN client interface.

Options:


  --help            display usage information

Commands:


  connect           Connects to the target network.
  scan              Scans for nearby networks.
  disconnect        Causes client to disconnect.
  wmm_status        Queries client WMM status.

connect

Usage: ffx wlan dev client connect <ssid> [-i <iface>] [-p <password>] [--hash <hash>] [-y <phy>] [-w <cbw>] [-s <scan-type>]

Connects to the target network.

Options:


  -i, --iface       iface ID to connect on.
  -p, --password    WPA2 PSK
  --hash            WPA2 PSK as hex string
  -y, --phy         PHY rate upper bound
  -w, --cbw         CBW upper bound
  -s, --scan-type   determines the type of scan performed on non-DFS channels
                    when connecting.
  --help            display usage information

disconnect

Usage: ffx wlan dev client disconnect [-i <iface>]

Causes client to disconnect.

Options:


  -i, --iface       iface ID to disconnect.
  --help            display usage information

scan

Usage: ffx wlan dev client scan [-i <iface>] [-s <scan-type>]

Scans for nearby networks.

Options:


  -i, --iface       iface ID to scan on.
  -s, --scan-type   experimental. Default scan type on each channel. Behavior
                    may differ on DFS channel
  --help            display usage information

wmm_status

Usage: ffx wlan dev client wmm_status [-i <iface>]

Queries client WMM status.

Options:


  -i, --iface       iface ID to disconnect.
  --help            display usage information

iface


Usage: ffx wlan dev iface <command> [<args>]

Create, destroy, and query the states of WLAN interfaces.

Options:


  --help            display usage information

Commands:


  new               Create a new WLAN interface.
  del               Destroy a WLAN interface.
  list              Lists all interface IDs.
  query             Query the properties of a WLAN interface.
  stats             Query WLAN interface stats.
  minstrel          Query interface minstrel stats.
  status            Query status of the target interface.

del

Usage: ffx wlan dev iface del <iface_id>

Destroy a WLAN interface.

Options:


  --help            display usage information

list

Usage: ffx wlan dev iface list

Lists all interface IDs.

Options:


  --help            display usage information

minstrel

Usage: ffx wlan dev iface minstrel <command> [<args>]

Query interface minstrel stats.

Options:


  --help            display usage information

Commands:


  list              List minstrel peers.
  show              Show stats for minstrel peers.

list

Usage: ffx wlan dev iface minstrel list [<iface_id>]

List minstrel peers.

Options:


  --help            display usage information

show

Usage: ffx wlan dev iface minstrel show [-i <iface>] [-p <peer>]

Show stats for minstrel peers.

Options:


  -i, --iface       interface ID to query, if no ID is provided, all interfaces
                    are queried.
  -p, --peer        target peer address, if none is provided, all will be shown.
  --help            display usage information

new

Usage: ffx wlan dev iface new -p <phy> -r <role> [-m <sta-addr>]

Create a new WLAN interface.

Options:


  -p, --phy         PHY ID on which to create the interface.
  -r, --role        MAC role for the new interface.
  -m, --sta-addr    MAC address for the new interface.
  --help            display usage information

query

Usage: ffx wlan dev iface query <iface_id>

Query the properties of a WLAN interface.

Options:


  --help            display usage information

stats

Usage: ffx wlan dev iface stats [<iface_id>]

Query WLAN interface stats.

Options:


  --help            display usage information

status

Usage: ffx wlan dev iface status [-i <iface>]

Query status of the target interface.

Options:


  -i, --iface       iface ID to query status on.
  --help            display usage information

mesh


Usage: ffx wlan dev mesh <command> [<args>]

Controls a WLAN mesh interface.

Options:


  --help            display usage information

Commands:


  join              Joins a mesh
  leave             Leaves a mesh
  paths             Retrieves mesh paths

join

Usage: ffx wlan dev mesh join [-i <iface>] -m <mesh-id> -c <channel>

Joins a mesh

Options:


  -i, --iface       interface ID to join mesh on
  -m, --mesh-id     WLAN mesh ID to join
  -c, --channel     channel to start AP on
  --help            display usage information

leave

Usage: ffx wlan dev mesh leave [-i <iface>]

Leaves a mesh

Options:


  -i, --iface       interface ID that should leave a mesh
  --help            display usage information

paths

Usage: ffx wlan dev mesh paths [-i <iface>]

Retrieves mesh paths

Options:


  -i, --iface       interface ID for which mesh paths will be queried
  --help            display usage information

phy


Usage: ffx wlan dev phy <command> [<args>]

Configure WLAN PHY device.

Options:


  --help            display usage information

Commands:


  list              List WLAN PHYs
  query             Query WLAN PHY properties by ID.
  get-country       Query PHY country code by ID.
  set-country       Set country code for target PHY.
  clear-country     Clear country code on target PHY.
  set-ps-mode       Sets the power save state of the target PHY.
  get-ps-mode       Query power save mode of target PHY.

clear-country

Usage: ffx wlan dev phy clear-country <phy_id>

Clear country code on target PHY.

Options:


  --help            display usage information

get-country

Usage: ffx wlan dev phy get-country <phy_id>

Query PHY country code by ID.

Options:


  --help            display usage information

get-ps-mode

Usage: ffx wlan dev phy get-ps-mode <phy_id>

Query power save mode of target PHY.

Options:


  --help            display usage information

list

Usage: ffx wlan dev phy list

List WLAN PHYs

Options:


  --help            display usage information

query

Usage: ffx wlan dev phy query <phy_id>

Query WLAN PHY properties by ID.

Options:


  --help            display usage information

set-country

Usage: ffx wlan dev phy set-country <phy_id> <country>

Set country code for target PHY.

Options:


  --help            display usage information

set-ps-mode

Usage: ffx wlan dev phy set-ps-mode <phy_id> <mode>

Sets the power save state of the target PHY.

Options:


  --help            display usage information

developers


Unrecognized argument: developers

of


Unrecognized argument: of

subsystem.


Unrecognized argument: subsystem.

to


Unrecognized argument: to

use


Unrecognized argument: use