CmdID

CmdID / Commands

nmcli-connection

Manage connections with NetworkManager. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

List all NetworkManager connections (shows name, UUID, type, and device)

nmcli [cIdentify

Activate a connection

nmcli [c [u uuidIdentify

Deactivate a connection

nmcli [c [d uuidIdentify

Create an auto-configured dual stack connection

nmcli [c [a ifname interface_name type ethernet ipv4.method auto ipv6.method autoIdentify

Create a static IPv6-only connection

nmcli [c [a ifname interface_name type ethernet ip6 2001:db8::2/64 gw6 2001:db8::1 ipv6.dns 2001:db8::1 ipv4.method ignoreIdentify

Create a static IPv4-only connection

nmcli [c [a ifname interface_name type ethernet ip4 10.0.0.7/8 gw4 10.0.0.1 ipv4.dns 10.0.0.1 ipv6.method ignoreIdentify

Create a VPN connection using OpenVPN from an OVPN file

nmcli [c [i type openvpn file path/to/vpn_config.ovpnIdentify