Blame docs/api/html/nmcli.html

Packit 5756e2
Packit 5756e2
<html>
Packit 5756e2
<head>
Packit 5756e2
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 5756e2
<title>nmcli: NetworkManager Reference Manual</title>
Packit 5756e2
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit 5756e2
<link rel="home" href="index.html" title="NetworkManager Reference Manual">
Packit 5756e2
<link rel="up" href="manpages.html" title="Part I. Manual Pages">
Packit 5756e2
<link rel="prev" href="NetworkManager.conf.html" title="NetworkManager.conf">
Packit 5756e2
<link rel="next" href="nmcli-examples.html" title="nmcli-examples">
Packit Service a1bd4f
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
Packit 5756e2
<link rel="stylesheet" href="style.css" type="text/css">
Packit 5756e2
</head>
Packit 5756e2
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 5756e2
Packit 5756e2
Packit 5756e2
Home
Packit 5756e2
Up
Packit 5756e2
Prev
Packit 5756e2
Next
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

nmcli

Packit 5756e2

nmcli — command-line tool for controlling NetworkManager

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Synopsis

Packit 5756e2

nmcli [OPTIONS...] { help | general | networking | radio | connection | device | agent | monitor } [COMMAND] [ARGUMENTS...]

Packit 5756e2
Packit 5756e2
Packit 5756e2

Description

Packit 5756e2

nmcli is a command-line tool for controlling

Packit 5756e2
    NetworkManager and reporting network status. It can be utilized as a
Packit 5756e2
    replacement for nm-applet or other graphical clients.
Packit 5756e2
    nmcli is used to create, display, edit, delete, activate,
Packit 5756e2
    and deactivate network connections, as well as control and display network
Packit 5756e2
    device status. See
Packit 5756e2
    nmcli-examples(7)
Packit 5756e2
    for ready to run nmcli examples.

Packit 5756e2

Typical uses include:

Packit 5756e2
    Packit 5756e2
  • Scripts: Utilize NetworkManager via nmcli instead of

  • Packit 5756e2
            managing network connections manually. nmcli supports a
    Packit 5756e2
            terse output format which is better suited for script processing. Note that
    Packit 5756e2
            NetworkManager can also execute scripts, called "dispatcher scripts", in
    Packit 5756e2
            response to network events. See
    Packit 5756e2
            NetworkManager(8)
    Packit 5756e2
            for details about these dispatcher scripts.

    Packit 5756e2
  • Servers, headless machines, and terminals: nmcli can

  • Packit 5756e2
            be used to control NetworkManager without a GUI, including creating, editing,
    Packit 5756e2
            starting and stopping network connections and viewing network status.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    Options

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -a | --ask

    Packit 5756e2

    When using this option nmcli will stop and ask for any

    Packit 5756e2
              missing required arguments, so do not use this option for non-interactive
    Packit 5756e2
              purposes like scripts. This option controls, for example, whether you will be
    Packit 5756e2
              prompted for a password if it is required for connecting to a network.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -c | --colors { yes | no | auto }

    Packit 5756e2
    Packit 5756e2

    This option controls color output (using terminal escape sequences).

    Packit 5756e2
              yes enables colors, no disables them,
    Packit 5756e2
              auto only produces colors when standard output is directed
    Packit 5756e2
              to a terminal. The default value is auto.

    Packit 5756e2

    The actual colors used are configured as described in

    Packit 5756e2
              terminal-colors.d(5).
    Packit 5756e2
              Please refer to the Colors section for a
    Packit 5756e2
              list of color names supported by nmcli.

    Packit 5756e2

    If the environment variable NO_COLOR is set (to any value),

    Packit 5756e2
              then coloring is disabled with mode "auto". Explicitly enabling coloring overrides
    Packit 5756e2
              the environment variable.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    --complete-args

    Packit 5756e2
    Packit 5756e2

    Instead of conducting the desired action, nmcli

    Packit 5756e2
              will list possible completions for the last argument. This is useful to implement
    Packit 5756e2
              argument completion in shell.

    Packit 5756e2

    The exit status will indicate success

    Packit 5756e2
              or return a code 65 to indicate the last argument is a file name.

    Packit 5756e2

    NetworkManager ships with command completion support for GNU Bash.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -e | --escape { yes | no }

    Packit 5756e2
    Packit 5756e2

    Whether to escape : and \ characters in terse tabular mode. The

    Packit 5756e2
              escape character is \.

    Packit 5756e2

    If omitted, default is yes.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -f | --fields { field1,field2... | all | common }

    Packit 5756e2
    Packit 5756e2

    This option is used to specify what fields (column names) should be

    Packit 5756e2
              printed. Valid field names differ for specific commands. List available fields
    Packit 5756e2
              by providing an invalid value to the --fields option.
    Packit 5756e2
              all is used to print all valid field values of the
    Packit 5756e2
              command. common is used to print common field values of
    Packit 5756e2
              the command.

    Packit 5756e2

    If omitted, default is common.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -g | --get-values { field1,field2... | all | common }

    Packit 5756e2
    Packit 5756e2

    This option is used to print values from specific fields. It is basically

    Packit 5756e2
              a shortcut for --mode tabular --terse --fields and is a convenient
    Packit 5756e2
              way to retrieve values for particular fields. The values are printed one per line
    Packit 5756e2
              without headers.

    Packit 5756e2

    If a section is specified instead of a field, the section name will be printed

    Packit 5756e2
              followed by colon separated values of the fields belonging to that section, all on
    Packit 5756e2
              the same line.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -h | --help

    Packit 5756e2

    Print help information.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    -m | --mode { tabular | multiline }

    Packit 5756e2
    Packit 5756e2

    Switch between tabular and multiline output:

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    tabular

    Packit 5756e2

    Output is a table where each line describes a single entry.

    Packit 5756e2
                    Columns define particular properties of the entry.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    multiline

    Packit 5756e2

    Each entry comprises multiple lines, each property on its

    Packit 5756e2
                    own line. The values are prefixed with the property name.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    If omitted, default is tabular for most commands.

    Packit 5756e2
              For the commands producing more structured information, that cannot be
    Packit 5756e2
              displayed on a single line, default is multiline.
    Packit 5756e2
              Currently, they are:

    Packit 5756e2
      Packit 5756e2
    • nmcli connection show ID

    • Packit 5756e2
    • nmcli device show

    • Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      -p | --pretty

      Packit 5756e2

      Output is pretty. This causes nmcli to produce easily

      Packit 5756e2
                readable outputs for humans, i.e. values are aligned, headers are printed,
      Packit 5756e2
                etc.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      -s | --show-secrets

      Packit 5756e2

      When using this option nmcli will display passwords

      Packit 5756e2
                and secrets that might be present in an output of an operation. This option
      Packit 5756e2
                also influences echoing passwords typed by user as an input.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      -t | --terse

      Packit 5756e2

      Output is terse. This mode is designed and suitable for computer (script)

      Packit 5756e2
                processing.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      -v | --version

      Packit 5756e2

      Show nmcli version.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      -w | --wait

      Packit 5756e2
                  seconds 
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      This option sets a timeout period for which nmcli will

      Packit 5756e2
                wait for NetworkManager to finish operations. It is
      Packit 5756e2
                especially useful for commands that may take a longer time to complete, e.g.
      Packit 5756e2
                connection activation.

      Packit 5756e2

      Specifying a value of 0 instructs

      Packit 5756e2
                nmcli not to wait but to exit immediately with a status of
      Packit 5756e2
                success. The default value depends on the executed command.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      General Commands

      Packit 5756e2

      nmcli general { status | hostname | permissions | logging } [ARGUMENTS...]

      Packit 5756e2

      Use this command to show NetworkManager status and permissions. You can also get

      Packit 5756e2
          and change system hostname, as well as NetworkManager logging level and domains.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      status

      Packit 5756e2

      Show overall status of NetworkManager. This is the default action, when

      Packit 5756e2
                no additional command is provided for nmcli general.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                hostname
      Packit 5756e2
                 [hostname]
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Get and change system hostname. With no arguments, this prints currently

      Packit 5756e2
                configured hostname. When you pass a hostname, it will be handed over to
      Packit 5756e2
                NetworkManager to be set as a new system hostname.

      Packit 5756e2

      Note that the term "system" hostname may also be referred to as

      Packit 5756e2
                "persistent" or "static" by other programs or tools. The hostname is stored
      Packit 5756e2
                in /etc/hostname file in most distributions. For example,
      Packit 5756e2
                systemd-hostnamed service uses the term "static" hostname and it only reads
      Packit 5756e2
                the /etc/hostname file when it starts.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      permissions

      Packit 5756e2

      Show the permissions a caller has for various authenticated operations

      Packit 5756e2
                that NetworkManager provides, like enable and disable networking, changing
      Packit 5756e2
                Wi-Fi and WWAN state, modifying connections, etc.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                logging
      Packit 5756e2
                 [level level]
      Packit 5756e2
                 [domains domains...]
      Packit 5756e2
              

      Packit 5756e2

      Get and change NetworkManager logging level and

      Packit 5756e2
                domains. Without any argument current logging level and domains are shown. In
      Packit 5756e2
                order to change logging state, provide level and, or,
      Packit 5756e2
                domain parameters. See
      Packit 5756e2
                NetworkManager.conf(5)
      Packit 5756e2
                for available level and domain values.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Networking Control Commands

      Packit 5756e2

      nmcli networking { on | off | connectivity } [ARGUMENTS...]

      Packit 5756e2

      Query NetworkManager networking status, enable and disable networking.

      Packit 5756e2
          

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      on, off

      Packit 5756e2

      Enable or disable networking control by NetworkManager.

      Packit 5756e2
                All interfaces managed by NetworkManager are deactivated when networking
      Packit 5756e2
                is disabled.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                connectivity
      Packit 5756e2
                 [check]
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Get network connectivity state. The optional check

      Packit 5756e2
                argument tells NetworkManager to re-check the connectivity, else the most
      Packit 5756e2
                recent known connectivity state is displayed without re-checking.

      Packit 5756e2

      Possible states are:

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      none

      Packit 5756e2

      the host is not connected to any network.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      portal

      Packit 5756e2

      the host is behind a captive portal and cannot reach the full Internet.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      limited

      Packit 5756e2

      the host is connected to a network, but it has no access to the Internet.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      full

      Packit 5756e2

      the host is connected to a network and has full access to the Internet.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      unknown

      Packit 5756e2

      the connectivity status cannot be found out.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Radio Transmission Control Commands

      Packit 5756e2

      nmcli radio { all | wifi | wwan } [ARGUMENTS...]

      Packit 5756e2

      Show radio switches status, or enable and disable the switches.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                wifi
      Packit 5756e2
                 [ on  |   off ]
      Packit 5756e2
              

      Packit 5756e2

      Show or set status of Wi-Fi in NetworkManager. If no arguments are

      Packit 5756e2
                supplied, Wi-Fi status is printed; on enables Wi-Fi;
      Packit 5756e2
                off disables Wi-Fi.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                wwan
      Packit 5756e2
                 [ on  |   off ]
      Packit 5756e2
              

      Packit 5756e2

      Show or set status of WWAN (mobile broadband) in NetworkManager. If no

      Packit 5756e2
                arguments are supplied, mobile broadband status is printed;
      Packit 5756e2
                on enables mobile broadband, off
      Packit 5756e2
                disables it.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                all
      Packit 5756e2
                 [ on  |   off ]
      Packit 5756e2
              

      Packit 5756e2

      Show or set all previously mentioned radio switches at the same time.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Activity Monitor

      Packit 5756e2

      nmcli monitor

      Packit 5756e2

      Observe NetworkManager activity. Watches for changes

      Packit 5756e2
          in connectivity state, devices or connection profiles.

      Packit 5756e2

      See also nmcli connection monitor

      Packit 5756e2
          and nmcli device monitor to watch
      Packit 5756e2
          for changes in certain devices or connections.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Connection Management Commands

      Packit 5756e2

      nmcli connection { show | up | down | modify | add | edit | clone | delete | monitor | reload | load | import | export } [ARGUMENTS...]

      Packit 5756e2

      NetworkManager stores all network configuration as "connections",

      Packit 5756e2
          which are collections of data (Layer2 details, IP addressing, etc.) that
      Packit 5756e2
          describe how to create or connect to a network. A connection is "active"
      Packit 5756e2
          when a device uses that connection's configuration to create or connect to
      Packit 5756e2
          a network. There may be multiple connections that apply to a device, but only
      Packit 5756e2
          one of them can be active on that device at any given time. The additional
      Packit 5756e2
          connections can be used to allow quick switching between different networks
      Packit 5756e2
          and configurations.

      Packit 5756e2

      Consider a machine which is usually connected to a DHCP-enabled network,

      Packit 5756e2
          but sometimes connected to a testing network which uses static IP addressing.
      Packit 5756e2
          Instead of manually reconfiguring eth0 each time the network is changed, the
      Packit 5756e2
          settings can be saved as two connections which both apply to eth0, one for DHCP
      Packit 5756e2
          (called default) and one with the static addressing details (called
      Packit 5756e2
          testing). When connected to the DHCP-enabled network the user would run
      Packit 5756e2
          nmcli con up default , and when connected to the static network the user
      Packit 5756e2
          would run nmcli con up testing.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                show
      Packit 5756e2
                 [--active]
      Packit 5756e2
                 [
      Packit 5756e2
                   --order
      Packit 5756e2
                     [+-]category:... 
      Packit 5756e2
                ]
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      List in-memory and on-disk connection profiles, some of which may also be

      Packit 5756e2
                active if a device is using that connection profile. Without a parameter, all
      Packit 5756e2
                profiles are listed. When --active option is specified, only
      Packit 5756e2
                the active profiles are shown.

      Packit 5756e2

      The --order option can be used to get custom

      Packit 5756e2
                ordering of connections. The connections can be ordered by active status
      Packit 5756e2
                (active), name (name), type
      Packit 5756e2
                (type) or D-Bus path (path). If
      Packit 5756e2
                connections are equal according to a sort order category, an additional
      Packit 5756e2
                category can be specified. The default sorting order is equivalent to
      Packit 5756e2
                --order active:name:path. + or no
      Packit 5756e2
                prefix means sorting in ascending order (alphabetically or in numbers),
      Packit 5756e2
                - means reverse (descending) order. The category names
      Packit 5756e2
                can be abbreviated (e.g. --order -a:na).

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                show
      Packit 5756e2
                 [--active]
      Packit 5756e2
                 [ id  |   uuid  |   path  |   apath ]
      Packit 5756e2
                  ID... 
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Show details for specified connections. By default, both static

      Packit 5756e2
                configuration and active connection data are displayed. When
      Packit 5756e2
                --active option is specified, only the active profiles are
      Packit 5756e2
                taken into account. Use global --show-secrets option to
      Packit 5756e2
                display secrets associated with the profile.

      Packit 5756e2

      id, uuid,

      Packit 5756e2
                path and apath keywords can be used
      Packit 5756e2
                if ID is ambiguous.  Optional
      Packit 5756e2
                ID-specifying keywords are:

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      id

      Packit 5756e2

      the ID denotes a connection name.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      uuid

      Packit 5756e2

      the ID denotes a connection UUID.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      path

      Packit 5756e2

      the ID denotes a D-Bus

      Packit 5756e2
                      static connection path in the format of
      Packit 5756e2
                      /org/freedesktop/NetworkManager/Settings/num
      Packit 5756e2
                      or just num.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      apath

      Packit 5756e2

      the ID denotes a D-Bus active connection path in the format of

      Packit 5756e2
                      /org/freedesktop/NetworkManager/ActiveConnection/num or just
      Packit 5756e2
                      num.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      It is possible to filter the output using the global

      Packit 5756e2
                --fields option. Use the following values:

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      profile

      Packit 5756e2

      only shows static profile configuration.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      active

      Packit 5756e2

      only shows active connection data (when the profile is active).

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      You can also specify particular fields. For static configuration, use

      Packit 5756e2
                setting and property names as described in
      Packit 5756e2
                nm-settings-nmcli(5) manual page. For active data use GENERAL, IP4, DHCP4, IP6,
      Packit 5756e2
                DHCP6, VPN.

      Packit 5756e2

      When no command is given to the nmcli connection,

      Packit 5756e2
                the default action is nmcli connection show.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                up
      Packit 5756e2
                 [ id  |   uuid  |   path ]
      Packit 5756e2
                  ID 
      Packit 5756e2
                 [ifname ifname]
      Packit 5756e2
                 [ap BSSID]
      Packit 5756e2
                 [passwd-file file]
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Activate a connection. The connection is identified by its name, UUID or

      Packit 5756e2
                D-Bus path. If ID is ambiguous, a keyword id,
      Packit 5756e2
                uuid or path can be used. When
      Packit 5756e2
                requiring a particular device to activate the connection on, the
      Packit 5756e2
                ifname option with interface name should be given. If the
      Packit 5756e2
                ID is not given an ifname is required, and
      Packit 5756e2
                NetworkManager will activate the best available connection for the given
      Packit 5756e2
                ifname. In case of a VPN connection, the
      Packit 5756e2
                ifname option specifies the device of the base connection.
      Packit 5756e2
                The ap option specify what particular AP should be used in
      Packit 5756e2
                case of a Wi-Fi connection.

      Packit 5756e2

      If --wait option is not specified, the default timeout will be 90

      Packit 5756e2
                seconds.

      Packit 5756e2

      See connection show above for the description of the

      Packit 5756e2
                ID-specifying keywords.

      Packit 5756e2

      Available options are:

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      ifname

      Packit 5756e2

      interface that will be used for activation.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      ap

      Packit 5756e2

      BSSID of the AP which the command should connect to (for Wi-Fi connections).

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      passwd-file

      Packit 5756e2
      Packit 5756e2

      some networks may require credentials during activation. You can give

      Packit 5756e2
                      these credentials using this option. Each line of the file should contain one
      Packit 5756e2
                      password in the form:
      Packit 5756e2
      Packit 5756e2
                      

      Packit 5756e2
      setting_name.property_name:the password
      Packit 5756e2

      Packit 5756e2
      Packit 5756e2
                      For example, for WPA Wi-Fi with PSK, the line would be
      Packit 5756e2
      Packit 5756e2
                      

      Packit 5756e2
      802-11-wireless-security.psk:secret12345
      Packit 5756e2

      Packit 5756e2
      Packit 5756e2
                      For 802.1X password, the line would be
      Packit 5756e2
      Packit 5756e2
                      

      Packit 5756e2
      802-1x.password:my 1X password
      Packit 5756e2

      Packit 5756e2
      Packit 5756e2
                      nmcli also accepts wifi-sec and wifi strings instead of
      Packit 5756e2
                      802-11-wireless-security. When NetworkManager requires a password and it is
      Packit 5756e2
                      not given, nmcli will ask for it when run with --ask.
      Packit 5756e2
                      If --ask was not passed, NetworkManager can ask another secret
      Packit 5756e2
                      agent that may be running (typically a GUI secret agent, such as nm-applet or
      Packit 5756e2
                      gnome-shell).

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                down
      Packit 5756e2
                 [ id  |   uuid  |   path  |   apath ]
      Packit 5756e2
                  ID... 
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Deactivate a connection from a device without preventing the device from

      Packit 5756e2
                further auto-activation. Multiple connections can be passed to the
      Packit 5756e2
                command.

      Packit 5756e2

      Be aware that this command deactivates the specified active connection,

      Packit 5756e2
                but the device on which the connection was active, is still ready to connect
      Packit 5756e2
                and will perform auto-activation by looking for a suitable connection that has
      Packit 5756e2
                the 'autoconnect' flag set. Note that the deactivating connection profile is
      Packit 5756e2
                internally blocked from autoconnecting again. Hence it will not autoconnect
      Packit 5756e2
                until reboot or until the user performs an action that unblocks autoconnect,
      Packit 5756e2
                like modifying the profile or explicitly activating it.

      Packit 5756e2

      In most cases you may want to use device disconnect

      Packit 5756e2
                command instead.

      Packit 5756e2

      The connection is identified by its name, UUID or D-Bus path. If

      Packit 5756e2
                ID is ambiguous, a keyword id,
      Packit 5756e2
                uuid, path or
      Packit 5756e2
                apath can be used.

      Packit 5756e2

      See connection show above for the description of

      Packit 5756e2
                the ID-specifying keywords.

      Packit 5756e2

      If --wait option is not specified, the default timeout

      Packit 5756e2
                will be 10 seconds.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                modify
      Packit 5756e2
                 [--temporary]
      Packit 5756e2
                 [ id  |   uuid  |   path ]
      Packit 5756e2
                  ID 
      Packit 5756e2
                  
      Packit 5756e2
                  { option value  |   [+|-]setting.property value }
      Packit 5756e2
                ... 
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Add, modify or remove properties in the connection profile.

      Packit 5756e2

      To set the property just specify the property name followed by the

      Packit 5756e2
                value. An empty value ("") resets the property value to
      Packit 5756e2
                the default.

      Packit 5756e2

      See nm-settings-nmcli(5) for complete reference of setting and property names, their descriptions

      Packit 5756e2
                and default values. The setting and
      Packit 5756e2
                property can be abbreviated provided they are unique.

      Packit 5756e2

      If you want to append an item or a flag to the existing value, use

      Packit 5756e2
                + prefix for the property name or alias. If you want to
      Packit 5756e2
                remove items from a container-type or flag property, use - prefix.
      Packit 5756e2
                For certain properties you can also remove elements by specifying the zero-based
      Packit 5756e2
                index(es).
      Packit 5756e2
                The + and - modifiers
      Packit 5756e2
                only have a real effect for properties that support them.
      Packit 5756e2
                These are for example multi-value (container) properties or flags like ipv4.dns,
      Packit 5756e2
                ip4, ipv4.addresses, bond.options,
      Packit 5756e2
                802-1x.phase1-auth-flags etc.

      Packit 5756e2

      The connection is identified by its name, UUID or D-Bus path. If

      Packit 5756e2
                ID is ambiguous, a keyword id,
      Packit 5756e2
                uuid or path can be used.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                modify
      Packit 5756e2
                 [--temporary]
      Packit 5756e2
                 [ id  |   uuid  |   path ]
      Packit 5756e2
                  ID 
      Packit 5756e2
                  remove setting 
      Packit 5756e2
              

      Packit 5756e2

      Removes a setting from the connection profile.

      Packit 5756e2
      Packit 5756e2
      Packit 5756e2

      Packit 5756e2
                add
      Packit 5756e2
                 [save { yes  |   no }]
      Packit 5756e2
                  
      Packit 5756e2
                  { option value  |   [+|-]setting.property value }
      Packit 5756e2
                ... 
      Packit 5756e2
              

      Packit 5756e2
      Packit 5756e2

      Create a new connection using specified properties.

      Packit 5756e2

      You need to describe the newly created connections with the property and value pairs.

      Packit 5756e2
                See nm-settings-nmcli(5) for the complete reference. The syntax is
      Packit 5756e2
                the same as of the nmcli connection modify command.

      Packit 5756e2

      To construct a meaningful connection you at the very least need to set the

      Packit 5756e2
                connection.type property (or use the type alias)
      Packit 5756e2
                to one of known NetworkManager connection types:

      Packit 5756e2
        Packit Service a1bd4f
      • 6lowpan

      • Packit Service a1bd4f
      • 802-11-olpc-mesh (alias olpc-mesh)

      • Packit Service a1bd4f
      • 802-11-wireless (alias wifi)

      • Packit Service a1bd4f
      • 802-3-ethernet (alias ethernet)

      • Packit Service a1bd4f
      • adsl

      • Packit 5756e2
      • bluetooth

      • Packit 5756e2
      • bond

      • Packit Service a1bd4f
      • bond-slave (deprecated for ethernet with master)

      • Packit 5756e2
      • bridge

      • Packit Service a1bd4f
      • bridge-slave (deprecated for ethernet with master)

      • Packit Service a1bd4f
      • cdma

      • Packit Service a1bd4f
      • dummy

      • Packit Service a1bd4f
      • generic

      • Packit Service a1bd4f
      • gsm

      • Packit Service a1bd4f
      • infiniband

      • Packit 5756e2
      • ip-tunnel

      • Packit Service a1bd4f
      • macsec

      • Packit 5756e2
      • macvlan

      • Packit Service a1bd4f
      • olpc-mesh

      • Packit Service a1bd4f
      • ovs-bridge

      • Packit Service a1bd4f
      • ovs-dpdk

      • Packit Service a1bd4f
      • ovs-interface

      • Packit Service a1bd4f
      • ovs-patch

      • Packit Service a1bd4f
      • ovs-port

      • Packit Service a1bd4f
      • pppoe

      • Packit Service a1bd4f
      • team

      • Packit Service a1bd4f
      • team-slave (deprecated for ethernet with master)

      • Packit Service a1bd4f
      • tun

      • Packit Service a1bd4f
      • veth

      • Packit Service a1bd4f
      • vlan

      • Packit Service a1bd4f
      • vpn

      • Packit Service a1bd4f
      • vrf

      • Packit 5756e2
      • vxlan

      • Packit Service a1bd4f
      • wifi-p2p

      • Packit Service a1bd4f
      • wimax

      • Packit Service a1bd4f
      • wireguard

      • Packit Service a1bd4f
      • wpan

      • Packit 5756e2
        Packit 5756e2

        The most typical uses are described in the Examples section.

        Packit 5756e2

        Aside from the properties and values two special options are accepted:

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        save

        Packit 5756e2

        Controls whether the connection should be persistent, i.e. NetworkManager should

        Packit 5756e2
                        store it on disk (default: yes).

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        --

        Packit 5756e2

        If a single -- argument is encountered it is ignored.

        Packit 5756e2
                        This is for compatibility with older versions on nmcli.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  edit
        Packit 5756e2
                   { 
        Packit 5756e2
                      [ id  |   uuid  |   path ]
        Packit 5756e2
                        ID 
        Packit 5756e2
                      |   
        Packit 5756e2
                      [type type]
        Packit 5756e2
                       [con-name name]
        Packit 5756e2
                     }
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Edit an existing connection or add a new one, using an interactive editor.

        Packit 5756e2

        The existing connection is identified by its name, UUID or D-Bus path. If

        Packit 5756e2
                  ID is ambiguous, a keyword id,
        Packit 5756e2
                  uuid, or path can be used. See
        Packit 5756e2
                  connection show above for the description of the
        Packit 5756e2
                  ID-specifying keywords. Not providing an
        Packit 5756e2
                  ID means that a new connection will be added.

        Packit 5756e2

        The interactive editor will guide you through the connection editing and

        Packit 5756e2
                  allow you to change connection parameters according to your needs by means of
        Packit 5756e2
                  a simple menu-driven interface. The editor indicates what settings and
        Packit 5756e2
                  properties can be modified and provides in-line help.

        Packit 5756e2

        Available options:

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        type

        Packit 5756e2

        type of the new connection; valid types are the same as for

        Packit 5756e2
                          connection add command.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        con-name

        Packit 5756e2

        name for the new connection. It can be changed later in the editor.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        See also

        Packit 5756e2
                  nm-settings-nmcli(5) for all NetworkManager settings and property names, and their
        Packit 5756e2
                  descriptions; and
        Packit 5756e2
                  nmcli-examples(7)
        Packit 5756e2
                  for sample editor sessions.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  clone
        Packit 5756e2
                   [--temporary]
        Packit 5756e2
                   [ id  |   uuid  |   path ]
        Packit 5756e2
                    ID 
        Packit 5756e2
                    new_name 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Clone a connection. The connection to be cloned is identified by its

        Packit 5756e2
                  name, UUID or D-Bus path. If ID is ambiguous, a keyword
        Packit 5756e2
                  id, uuid or path
        Packit 5756e2
                  can be used. See connection show above for the description
        Packit 5756e2
                  of the ID-specifying keywords. new_name is
        Packit 5756e2
                  the name of the new cloned connection. The new connection will be the exact
        Packit 5756e2
                  copy except the connection.id (new_name) and
        Packit 5756e2
                  connection.uuid (generated) properties.

        Packit 5756e2

        The new connection profile will be saved as persistent unless

        Packit 5756e2
                  --temporary option is specified, in which case the new profile
        Packit 5756e2
                  won't exist after NetworkManager restart.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  delete
        Packit 5756e2
                   [ id  |   uuid  |   path ]
        Packit 5756e2
                    ID... 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Delete a configured connection. The connection to be deleted is

        Packit 5756e2
                  identified by its name, UUID or D-Bus path. If ID is ambiguous, a
        Packit 5756e2
                  keyword id, uuid or path can be used.
        Packit 5756e2
                  See connection show above for the description of
        Packit 5756e2
                  the ID-specifying keywords.

        Packit 5756e2

        If --wait option is not specified, the default timeout will be 10

        Packit 5756e2
                  seconds.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  monitor
        Packit 5756e2
                   [ id  |   uuid  |   path ]
        Packit 5756e2
                    ID... 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Monitor connection profile activity. This command prints a line whenever

        Packit 5756e2
                  the specified connection changes. The connection to be monitored is identified
        Packit 5756e2
                  by its name, UUID or D-Bus path. If ID is ambiguous, a keyword
        Packit 5756e2
                  id, uuid or path
        Packit 5756e2
                  can be used. See connection show above for the description of the
        Packit 5756e2
                  ID-specifying keywords.

        Packit 5756e2

        Monitors all connection profiles in case none is specified. The command

        Packit 5756e2
                  terminates when all monitored connections disappear. If you want to monitor
        Packit 5756e2
                  connection creation consider using the global monitor with nmcli
        Packit 5756e2
                  monitor command.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  reload
        Packit 5756e2
                

        Packit 5756e2

        Reload all connection files from disk.

        Packit 5756e2
                  NetworkManager does not monitor changes to connection.
        Packit 5756e2
                  So you need to use this command in order to tell
        Packit 5756e2
                  NetworkManager to re-read the connection profiles from
        Packit 5756e2
                  disk when a change was made to them.
        Packit 5756e2
                  

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  load
        Packit 5756e2
                    filename... 
        Packit 5756e2
                

        Packit 5756e2

        Load/reload one or more connection files from disk. Use this after

        Packit 5756e2
                  manually editing a connection file to ensure that
        Packit 5756e2
                  NetworkManager is aware of its latest state.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  import
        Packit 5756e2
                   [--temporary]
        Packit 5756e2
                    type type 
        Packit 5756e2
                    file file 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Import an external/foreign configuration as a NetworkManager connection

        Packit 5756e2
                  profile. The type of the input file is specified by type
        Packit 5756e2
                  option.

        Packit 5756e2

        Only VPN configurations are supported at the moment. The configuration is

        Packit 5756e2
                  imported by NetworkManager VPN plugins. type values are
        Packit 5756e2
                  the same as for vpn-type option in nmcli
        Packit 5756e2
                  connection add. VPN configurations are imported by VPN plugins.
        Packit 5756e2
                  Therefore the proper VPN plugin has to be installed so that nmcli could import
        Packit 5756e2
                  the data.

        Packit 5756e2

        The imported connection profile will be saved as persistent unless

        Packit 5756e2
                  --temporary option is specified, in which case the new profile
        Packit 5756e2
                  won't exist after NetworkManager restart.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  export
        Packit 5756e2
                   [ id  |   uuid  |   path ]
        Packit 5756e2
                    ID 
        Packit 5756e2
                   [file]
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Export a connection.

        Packit 5756e2

        Only VPN connections are supported at the moment. A proper VPN plugin has

        Packit 5756e2
                  to be installed so that nmcli could export a connection. If no
        Packit 5756e2
                  file is provided, the VPN configuration
        Packit 5756e2
                  data will be printed to standard output.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Device Management Commands

        Packit 5756e2

        nmcli device { status | show | set | connect | reapply | modify | disconnect | delete | monitor | wifi | lldp } [ARGUMENTS...]

        Packit 5756e2

        Show and manage network interfaces.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        status

        Packit 5756e2
        Packit 5756e2

        Print status of devices.

        Packit 5756e2

        This is the default action if no command is specified to

        Packit 5756e2
                  nmcli device.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  show
        Packit 5756e2
                   [ifname]
        Packit 5756e2
                

        Packit 5756e2

        Show detailed information about devices. Without an argument, all

        Packit 5756e2
                  devices are examined. To get information for a specific device, the interface
        Packit 5756e2
                  name has to be provided.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  set
        Packit 5756e2
                   [ifname]
        Packit 5756e2
                    ifname 
        Packit 5756e2
                   [
        Packit 5756e2
                    autoconnect
        Packit 5756e2
                     { yes  |   no }
        Packit 5756e2
                  ]
        Packit 5756e2
                   [
        Packit 5756e2
                    managed
        Packit 5756e2
                     { yes  |   no }
        Packit 5756e2
                  ]
        Packit 5756e2
                

        Packit 5756e2

        Set device properties.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  connect
        Packit 5756e2
                    ifname 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Connect the device. NetworkManager will try to find a suitable connection

        Packit 5756e2
                  that will be activated. It will also consider connections that are not set to
        Packit 5756e2
                  auto connect.

        Packit 5756e2

        If no compatible connection exists, a new profile with default

        Packit 5756e2
                  settings will be created and activated. This differentiates
        Packit 5756e2
                  nmcli connection up ifname "$DEVICE" from
        Packit 5756e2
                  nmcli device connect "$DEVICE"

        Packit 5756e2

        If --wait option is not specified, the default timeout will be 90

        Packit 5756e2
                  seconds.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  reapply
        Packit 5756e2
                    ifname 
        Packit 5756e2
                

        Packit 5756e2

        Attempt to update device with changes to the currently active connection

        Packit 5756e2
                  made since it was last applied.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  modify
        Packit 5756e2
                    ifname 
        Packit 5756e2
                    
        Packit 5756e2
                    { option value  |   [+|-]setting.property value }
        Packit 5756e2
                  ... 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Modify the settings currently active on the device.

        Packit 5756e2

        This command lets you do temporary changes to a configuration active on

        Packit 5756e2
                  a particular device. The changes are not preserved in the connection profile.

        Packit 5756e2

        See nm-settings-nmcli(5) for the list of available properties. Please note that some

        Packit 5756e2
                  properties can't be changed on an already connected device.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  disconnect
        Packit 5756e2
                    ifname... 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Disconnect a device and prevent the device from automatically activating

        Packit 5756e2
                  further connections without user/manual intervention. Note that disconnecting
        Packit 5756e2
                  software devices may mean that the devices will disappear.

        Packit 5756e2

        If --wait option is not specified, the default timeout

        Packit 5756e2
                  will be 10 seconds.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  delete
        Packit 5756e2
                    ifname... 
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Delete a device. The command removes the interface from the system. Note

        Packit 5756e2
                  that this only works for software devices like bonds, bridges, teams, etc.
        Packit 5756e2
                  Hardware devices (like Ethernet) cannot be deleted by the command.

        Packit 5756e2

        If --wait option is not specified, the default timeout will be 10

        Packit 5756e2
                  seconds.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  monitor
        Packit 5756e2
                   [ifname...]
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Monitor device activity. This command prints a line whenever the

        Packit 5756e2
                  specified devices change state.

        Packit 5756e2

        Monitors all devices in case no interface is specified. The monitor

        Packit 5756e2
                  terminates when all specified devices disappear. If you want to monitor device
        Packit 5756e2
                  addition consider using the global monitor with nmcli
        Packit 5756e2
                  monitor command.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  wifi
        Packit 5756e2
                   [
        Packit 5756e2
                    list
        Packit 5756e2
                     [--rescan |   auto  |   no  |   yes ]
        Packit 5756e2
                     [ifname ifname]
        Packit 5756e2
                     [bssid BSSID]
        Packit 5756e2
                  ]
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        List available Wi-Fi access points. The ifname and

        Packit 5756e2
                  bssid options can be used to list APs for a particular
        Packit 5756e2
                  interface or with a specific BSSID, respectively.

        Packit 5756e2

        By default, nmcli ensures that the access point list

        Packit 5756e2
                  is no older than 30 seconds and triggers a network scan if necessary. The
        Packit 5756e2
                  --rescan can be used to either force or disable the scan
        Packit 5756e2
                  regardless of how fresh the access point list is.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  wifi
        Packit 5756e2
                  connect
        Packit 5756e2
                    (B)SSID 
        Packit 5756e2
                   [password password]
        Packit 5756e2
                   [
        Packit 5756e2
                    wep-key-type
        Packit 5756e2
                     { key  |   phrase }
        Packit 5756e2
                  ]
        Packit 5756e2
                   [ifname ifname]
        Packit 5756e2
                   [bssid BSSID]
        Packit 5756e2
                   [name name]
        Packit 5756e2
                   [
        Packit 5756e2
                    private
        Packit 5756e2
                     { yes  |   no }
        Packit 5756e2
                  ]
        Packit 5756e2
                   [
        Packit 5756e2
                    hidden
        Packit 5756e2
                     { yes  |   no }
        Packit 5756e2
                  ]
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Connect to a Wi-Fi network specified by SSID or BSSID. The command

        Packit 5756e2
                  finds a matching connection or creates one and then activates it on a device.
        Packit 5756e2
                  This is a command-line counterpart of clicking an SSID in a GUI client. If
        Packit 5756e2
                  a connection for the network already exists, it is possible to bring up
        Packit 5756e2
                  (activate) the existing profile as follows:
        Packit 5756e2
                  nmcli con up id name. Note that
        Packit 5756e2
                  only open, WEP and WPA-PSK networks are supported if no previous connection
        Packit 5756e2
                  exists. It is also assumed that IP configuration is obtained via DHCP.

        Packit 5756e2

        If --wait option is not specified, the default timeout will be 90

        Packit 5756e2
                  seconds.

        Packit 5756e2

        Available options are:

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        password

        Packit 5756e2

        password for secured networks (WEP or WPA).

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        wep-key-type

        Packit 5756e2

        type of WEP secret, either key for ASCII/HEX key or

        Packit 5756e2
                        phrase for passphrase.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        ifname

        Packit 5756e2

        interface that will be used for activation.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        bssid

        Packit 5756e2

        if specified, the created connection will be restricted just for the

        Packit 5756e2
                        BSSID.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        name

        Packit 5756e2

        if specified, the connection will use the name (else NM creates a name

        Packit 5756e2
                        itself).

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        private

        Packit 5756e2

        if set to yes, the connection will only be visible

        Packit 5756e2
                        to the user who created it. Otherwise, the connection is system-wide, which is
        Packit 5756e2
                        the default.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        hidden

        Packit 5756e2

        set to yes when connecting for the first time to an

        Packit 5756e2
                        AP not broadcasting its SSID. Otherwise, the SSID would not be found and the
        Packit 5756e2
                        connection attempt would fail.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  wifi
        Packit 5756e2
                  hotspot
        Packit 5756e2
                   [ifname ifname]
        Packit 5756e2
                   [con-name name]
        Packit 5756e2
                   [ssid SSID]
        Packit 5756e2
                   [
        Packit 5756e2
                    band
        Packit 5756e2
                     { a  |   bg }
        Packit 5756e2
                  ]
        Packit 5756e2
                   [channel channel]
        Packit 5756e2
                   [password password]
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Create a Wi-Fi hotspot. The command creates a hotspot connection profile

        Packit 5756e2
                  according to Wi-Fi device capabilities and activates it on the device. The
        Packit 5756e2
                  hotspot is secured with WPA if device/driver supports that, otherwise WEP is
        Packit 5756e2
                  used. Use connection down or device
        Packit 5756e2
                  disconnect to stop the hotspot.

        Packit 5756e2

        Parameters of the hotspot can be influenced by the optional

        Packit 5756e2
                  parameters:

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        ifname

        Packit 5756e2

        what Wi-Fi device is used.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        con-name

        Packit 5756e2

        name of the created hotspot connection profile.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        ssid

        Packit 5756e2

        SSID of the hotspot.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        band

        Packit 5756e2

        Wi-Fi band to use.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        channel

        Packit 5756e2

        Wi-Fi channel to use.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        password

        Packit 5756e2
        Packit 5756e2

        password to use for the created hotspot. If not provided, nmcli will

        Packit 5756e2
                        generate a password. The password is either WPA pre-shared key or WEP
        Packit 5756e2
                        key.

        Packit 5756e2

        Note that --show-secrets global option can be used to

        Packit 5756e2
                        print the hotspot password. It is useful especially when the password was
        Packit 5756e2
                        generated.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  wifi
        Packit 5756e2
                  rescan
        Packit 5756e2
                   [ifname ifname]
        Packit 5756e2
                   [ssid SSID...]
        Packit 5756e2
                

        Packit 5756e2
        Packit 5756e2

        Request that NetworkManager immediately re-scan for

        Packit 5756e2
                  available access points. NetworkManager scans Wi-Fi networks periodically, but
        Packit 5756e2
                  in some cases it can be useful to start scanning manually (e.g. after resuming
        Packit 5756e2
                  the computer). By using ssid, it is possible to scan for a
        Packit 5756e2
                  specific SSID, which is useful for APs with hidden SSIDs. You can provide
        Packit 5756e2
                  multiple ssid parameters in order to scan more
        Packit 5756e2
                  SSIDs.

        Packit 5756e2

        This command does not show the APs, use nmcli device wifi list

        Packit 5756e2
                  for that.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  wifi
        Packit 5756e2
                  show-password
        Packit 5756e2
                   [ifname ifname]
        Packit 5756e2
                

        Packit 5756e2

        Show the details of the active Wi-Fi networks, including the

        Packit 5756e2
                  secrets.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  lldp
        Packit 5756e2
                   [
        Packit 5756e2
                    list
        Packit 5756e2
                     [ifname ifname]
        Packit 5756e2
                  ]
        Packit 5756e2
                

        Packit 5756e2

        Display information about neighboring devices learned through the Link

        Packit 5756e2
                  Layer Discovery Protocol (LLDP). The ifname option can be
        Packit 5756e2
                  used to list neighbors only for a given interface. The protocol must be enabled
        Packit 5756e2
                  in the connection settings.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Secret Agent

        Packit 5756e2

        nmcli agent { secret | polkit | all }

        Packit 5756e2

        Run nmcli as a NetworkManager secret agent, or polkit agent.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        secret

        Packit 5756e2

        Register nmcli as a NetworkManager secret agent and listen for secret

        Packit 5756e2
                  requests. You usually do not need this command, because nmcli can handle
        Packit 5756e2
                  secrets when connecting to networks. However, you may find the command useful
        Packit 5756e2
                  when you use another tool for activating connections and you do not have a
        Packit 5756e2
                  secret agent available (like nm-applet).

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  polkit
        Packit 5756e2
                

        Packit 5756e2

        Register nmcli as a polkit agent for the user session and listen for

        Packit 5756e2
                  authorization requests. You do not usually need this command, because nmcli can
        Packit 5756e2
                  handle polkit actions related to NetworkManager operations (when run with
        Packit 5756e2
                  --ask). However, you may find the command useful when you want
        Packit 5756e2
                  to run a simple text based polkit agent and you do not have an agent of a desktop
        Packit 5756e2
                  environment.  Note that running this command makes nmcli handle all polkit requests,
        Packit 5756e2
                  not only NetworkManager related ones, because only one polkit agent can run for the
        Packit 5756e2
                  session.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Packit 5756e2
                  all
        Packit 5756e2
                

        Packit 5756e2

        Runs nmcli as both NetworkManager secret and a polkit agent.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Colors

        Packit 5756e2

        Implicit coloring can be disabled by an empty file

        Packit 5756e2
            /etc/terminal-colors.d/nmcli.disable.

        Packit 5756e2

        See terminal-colors.d(5)

        Packit 5756e2
            for more details about colorization configuration.
        Packit 5756e2
            The logical color names supported by nmcli are:

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connection-activated

        Packit 5756e2

        A connection that is active.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connection-activating

        Packit 5756e2

        Connection that is being activated.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connection-disconnecting

        Packit 5756e2

        Connection that is being disconnected.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connection-invisible

        Packit 5756e2

        Connection whose details is the user not permitted to see.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connectivity-full

        Packit 5756e2

        Connectivity state when Internet is reachable.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connectivity-limited

        Packit 5756e2

        Connectivity state when only a local network reachable.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connectivity-none

        Packit 5756e2

        Connectivity state when the network is disconnected.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connectivity-portal

        Packit 5756e2

        Connectivity state when a captive portal hijacked the connection.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        connectivity-unknown

        Packit 5756e2

        Connectivity state when a connectivity check didn't run.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-activated

        Packit 5756e2

        Device that is connected.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-activating

        Packit 5756e2

        Device that is being configured.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-disconnected

        Packit 5756e2

        Device that is not connected.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-firmware-missing

        Packit 5756e2

        Warning of a missing device firmware.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-plugin-missing

        Packit 5756e2

        Warning of a missing device plugin.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-unavailable

        Packit 5756e2

        Device that is not available for activation.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        device-disabled

        Packit 5756e2

        Device is disabled by software or hardware kill switch.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        manager-running

        Packit 5756e2

        Notice that the NetworkManager daemon is available.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        manager-starting

        Packit 5756e2

        Notice that the NetworkManager daemon is being initially connected.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        manager-stopped

        Packit 5756e2

        Notice that the NetworkManager daemon is not available.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        permission-auth

        Packit 5756e2

        An action that requires user authentication to get permission.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        permission-no

        Packit 5756e2

        An action that is not permitted.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        permission-yes

        Packit 5756e2

        An action that is permitted.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        prompt

        Packit 5756e2

        Prompt in interactive mode.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-asleep

        Packit 5756e2

        Indication that NetworkManager in suspended state.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-connected-global

        Packit 5756e2

        Indication that NetworkManager in connected to Internet.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-connected-local

        Packit 5756e2

        Indication that NetworkManager in local network.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-connected-site

        Packit 5756e2

        Indication that NetworkManager in connected to networks other than Internet.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-connecting

        Packit 5756e2

        Indication that NetworkManager is establishing a network connection.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-disconnected

        Packit 5756e2

        Indication that NetworkManager is disconnected from a network.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        state-disconnecting

        Packit 5756e2

        Indication that NetworkManager is being disconnected from a network.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        wifi-signal-excellent

        Packit 5756e2

        Wi-Fi network with an excellent signal level.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        wifi-signal-fair

        Packit 5756e2

        Wi-Fi network with a fair signal level.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        wifi-signal-good

        Packit 5756e2

        Wi-Fi network with a good signal level.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        wifi-signal-poor

        Packit 5756e2

        Wi-Fi network with a poor signal level.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        wifi-signal-unknown

        Packit 5756e2

        Wi-Fi network that hasn't been actually seen (a hidden AP).

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        disabled

        Packit 5756e2

        A property that is turned off.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        enabled

        Packit 5756e2

        A property that is turned on.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Environment Variables

        Packit 5756e2

        nmcli's behavior is affected by the following

        Packit 5756e2
            environment variables.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        LC_ALL

        Packit 5756e2

        If set to a non-empty string value, it overrides the values of all the

        Packit 5756e2
                  other internationalization variables.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        LC_MESSAGES

        Packit 5756e2

        Determines the locale to be used for internationalized messages.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        LANG

        Packit 5756e2

        Provides a default value for the internationalization variables that are

        Packit 5756e2
                  unset or null.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Internationalization notes

        Packit 5756e2

        Be aware that nmcli is localized and that is why the

        Packit 5756e2
            output depends on your environment. This is important to realize especially
        Packit 5756e2
            when you parse the output.

        Packit 5756e2

        Call nmcli as LC_ALL=C nmcli to

        Packit 5756e2
            be sure the locale is set to C while executing in a script.

        Packit 5756e2

        LC_ALL, LC_MESSAGES, LANG

        Packit 5756e2
            variables specify the LC_MESSAGES locale category (in that
        Packit 5756e2
            order), which determines the language that nmcli uses for
        Packit 5756e2
            messages. The C locale is used if none of these variables are set, and this
        Packit 5756e2
            locale uses English messages.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Exit Status

        Packit 5756e2

        nmcli exits with status 0 if it succeeds, a value

        Packit 5756e2
            greater than 0 is returned if an error occurs.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        0

        Packit 5756e2

        Success – indicates the operation succeeded.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        1

        Packit 5756e2

        Unknown or unspecified error.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        2

        Packit 5756e2

        Invalid user input, wrong nmcli

        Packit 5756e2
                  invocation.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        3

        Packit 5756e2

        Timeout expired (see --wait option).

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        4

        Packit 5756e2

        Connection activation failed.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        5

        Packit 5756e2

        Connection deactivation failed.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        6

        Packit 5756e2

        Disconnecting device failed.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        7

        Packit 5756e2

        Connection deletion failed.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        8

        Packit 5756e2

        NetworkManager is not running.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        10

        Packit 5756e2

        Connection, device, or access point does not exist.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        65

        Packit 5756e2

        When used with --complete-args option, a file name is expected to follow.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Examples

        Packit 5756e2

        This section presents various examples of nmcli usage. If you want even

        Packit 5756e2
            more, please refer to
        Packit 5756e2
            nmcli-examples(7)
        Packit 5756e2
            manual page.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -t -f RUNNING general

        Packit 5756e2

        tells you whether NetworkManager is running or not.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -t -f STATE general

        Packit 5756e2

        shows the overall status of NetworkManager.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli radio wifi off

        Packit 5756e2

        switches Wi-Fi off.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli connection show

        Packit 5756e2

        lists all connections NetworkManager has.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -p -m multiline -f all con show

        Packit 5756e2

        shows all configured connections in multi-line mode.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli connection show --active

        Packit 5756e2

        lists all currently active connections.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -f name,autoconnect c s

        Packit 5756e2

        shows all connection profile names and their auto-connect property.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -p connection show "My default em1"

        Packit 5756e2

        shows details for "My default em1" connection profile.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli --show-secrets connection show "My Home Wi-Fi"

        Packit 5756e2

        shows details for "My Home Wi-Fi" connection profile with all passwords.

        Packit 5756e2
                  Without --show-secrets option, secrets would not be
        Packit 5756e2
                  displayed.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -f active connection show "My default em1"

        Packit 5756e2

        shows details for "My default em1" active connection, like IP, DHCP

        Packit 5756e2
                  information, etc.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -f profile con s "My wired connection"

        Packit 5756e2

        shows static configuration details of the connection profile with "My

        Packit 5756e2
                  wired connection" name.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -p con up "My wired connection" ifname eth0

        Packit 5756e2

        activates the connection profile with name "My wired connection" on

        Packit 5756e2
                  interface eth0. The -p option makes nmcli show progress of the
        Packit 5756e2
                  activation.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con up 6b028a27-6dc9-4411-9886-e9ad1dd43761 ap 00:3A:98:7C:42:D3

        Packit 5756e2

        connects the Wi-Fi connection with UUID

        Packit 5756e2
                  6b028a27-6dc9-4411-9886-e9ad1dd43761 to the AP with BSSID
        Packit 5756e2
                  00:3A:98:7C:42:D3.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli device status

        Packit 5756e2

        shows the status for all devices.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli dev disconnect em2

        Packit 5756e2

        disconnects a connection on interface em2 and marks the device as

        Packit 5756e2
                  unavailable for auto-connecting. As a result, no connection will automatically
        Packit 5756e2
                  be activated on the device until the device's 'autoconnect' is set to TRUE or
        Packit 5756e2
                  the user manually activates a connection.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -f GENERAL,WIFI-PROPERTIES dev show wlan0

        Packit 5756e2

        shows details for wlan0 interface; only GENERAL and WIFI-PROPERTIES

        Packit 5756e2
                  sections will be shown.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -f CONNECTIONS device show wlp3s0

        Packit 5756e2

        shows all available connection profiles for your Wi-Fi interface

        Packit 5756e2
                  wlp3s0.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli dev wifi

        Packit 5756e2

        lists available Wi-Fi access points known to NetworkManager.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli dev wifi con "Cafe Hotspot 1" password caffeine name "My cafe"

        Packit 5756e2

        creates a new connection named "My cafe" and then connects it to "Cafe

        Packit 5756e2
                  Hotspot 1" SSID using password "caffeine". This is mainly useful when
        Packit 5756e2
                  connecting to "Cafe Hotspot 1" for the first time. Next time, it is better to
        Packit 5756e2
                  use nmcli con up id "My cafe" so that the
        Packit 5756e2
                  existing connection profile can be used and no additional is created.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli -s dev wifi hotspot con-name QuickHotspot

        Packit 5756e2

        creates a hotspot profile and connects it. Prints the hotspot password

        Packit 5756e2
                  the user should use to connect to the hotspot from other devices.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli dev modify em1 ipv4.method shared

        Packit 5756e2

        starts IPv4 connection sharing using em1 device. The sharing will be active

        Packit 5756e2
                  until the device is disconnected.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli dev modify em1 ipv6.address 2001:db8::a:bad:c0de

        Packit 5756e2

        temporarily adds an IP address to a device. The address will be removed

        Packit 5756e2
                  when the same connection is activated again.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli connection add type ethernet autoconnect no ifname eth0

        Packit 5756e2

        non-interactively adds an Ethernet connection tied to eth0 interface with

        Packit 5756e2
                  automatic IP configuration (DHCP), and disables the connection's autoconnect
        Packit 5756e2
                  flag.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli c a ifname Maxipes-fik type vlan dev eth0 id 55

        Packit 5756e2

        non-interactively adds a VLAN connection with ID 55. The connection will

        Packit 5756e2
                  use eth0 and the VLAN interface will be named Maxipes-fik.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli c a ifname eth0 type ethernet ipv4.method disabled ipv6.method link-local

        Packit 5756e2

        non-interactively adds a connection that will use eth0 Ethernet interface

        Packit 5756e2
                  and only have an IPv6 link-local address configured.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli connection edit ethernet-em1-2

        Packit 5756e2

        edits existing "ethernet-em1-2" connection in the interactive

        Packit 5756e2
                  editor.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli connection edit type ethernet con-name "yet another Ethernet connection"

        Packit 5756e2

        adds a new Ethernet connection in the interactive editor.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con mod ethernet-2 connection.autoconnect no

        Packit 5756e2

        modifies 'autoconnect' property in the 'connection' setting of

        Packit 5756e2
                  'ethernet-2' connection.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con mod "Home Wi-Fi" wifi.mtu 1350

        Packit 5756e2

        modifies 'mtu' property in the 'wifi' setting of 'Home Wi-Fi'

        Packit 5756e2
                  connection.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con mod em1-1 ipv4.method manual ipv4.addr "192.168.1.23/24 192.168.1.1, 10.10.1.5/8, 10.0.0.11"

        Packit 5756e2

        sets manual addressing and the addresses in em1-1 profile.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con modify ABC +ipv4.dns 8.8.8.8

        Packit 5756e2

        appends a Google public DNS server to DNS servers in ABC profile.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con modify ABC -ipv4.addresses "192.168.100.25/24 192.168.1.1"

        Packit 5756e2

        removes the specified IP address from (static) profile ABC.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con import type openvpn file ~/Downloads/frootvpn.ovpn

        Packit 5756e2

        imports an OpenVPN configuration to NetworkManager.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        nmcli con export corp-vpnc /home/joe/corpvpn.conf

        Packit 5756e2

        exports NetworkManager VPN profile corp-vpnc as standard Cisco (vpnc)

        Packit 5756e2
                  configuration.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Notes

        Packit 5756e2

        nmcli accepts abbreviations, as long as they are a unique prefix in the set

        Packit 5756e2
            of possible options. As new options get added, these abbreviations are not guaranteed
        Packit 5756e2
            to stay unique. For scripting and long term compatibility it is therefore strongly
        Packit 5756e2
            advised to spell out the full option names.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        Bugs

        Packit 5756e2

        There are probably some bugs. If you find a bug, please report it to your distribution

        Packit 5756e2
            or upstream at https://gitlab.freedesktop.org/NetworkManager/NetworkManager.

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2

        See Also

        Packit 5756e2

        Packit 5756e2
            nmcli-examples(7),
        Packit 5756e2
            nm-settings-nmcli(5),
        Packit 5756e2
            nm-online(1),
        Packit 5756e2
            NetworkManager(8),
        Packit 5756e2
            NetworkManager.conf(5),
        Packit 5756e2
            nm-applet(1),
        Packit 5756e2
            nm-connection-editor(1),
        Packit 5756e2
            terminal-colors.d(5).
        Packit 5756e2
            

        Packit 5756e2
        Packit 5756e2
        Packit 5756e2
        Packit Service a1bd4f

        Generated by GTK-Doc V1.33.0
        Packit 5756e2
        </body>
        Packit 5756e2
        </html>