The network management of Red Hat Enterprise Linux 7 and CentOS 7 is actually the management of NetworkManager, which can be controlled by the nmcli command. The following is a brief introduction to RedHat. /CentOS 7 manages the network through the nmcli command. Friends who don't know how to manage the network can learn.
NetworkManager can be used for the following types of connections: Ethernet, VLANS, Bridges, Bonds, Teams, Wi-Fi, mobile boradband (eg mobile 3G) and IP-over-InfiniBand. For these network types, NetworkManager can configure their network aliases, IP addresses, static routes, DNS, VPN connections, and many other special parameters.
You can use the command line tool nmcli to control NetworkManager.
1, nmcli Usage
# nmcli [ OPTIONS ] OBJECT { COMMAND |
Help }
We can use the TAB key to complete the command. When you forget the syntax of this command, you only need to press TAB to see the list of options. Some examples
Use nmcli of:
# nmcli general status
This command will NetworkManager all states are printed.
# nmcli connection show
Show all connections.
# nmcli connection show -a
Show only the currently active connections.
# nmcli device status
Lists the list of devices identified by NetworkManager and their status.
2, start /stop network interfaces
Use nmcli tool to start or stop network interfaces, and ifconfig the up /down is the same.
Use the following command to stop an interface:
# nmcli device disconnect eno16777736
The following command is used to start the interface:
# nmcli device connect eno16777736< Br> Previous12Next Total 2 Pages
With the upgrade of hardware devices, in order to support these hardware, the updat
When Linux users want to view the contents of a directory, can they be viewed with
Linux system operation, yum source installation prompt ERROR: dbus error, many peop
DNS refers to the computer domain name system, which consists of a domain name reso
Linux system uses commands to print files
Five Ways to Improve Linux System Security
Linux network management command list
Ubuntu install and switch Nvidia dual graphics driver method
Linux system 11 terminal commands that cannot be known
How Linux distinguishes between install command and cp command
Linux system Rhythmbox player how to solve Chinese garbled?
What should I do if the Linux boot file rc.local cannot be executed?
Linux uses KSysguard to monitor remote hosts
Linux when installing PyCharm prompts can not start PyCharm error how to do?
Skills experience: What preparations should be made to build a private cloud?
New Year's greetings from Microsoft late! Desktop theme 1.0
Computer talks Win10 control panel will be canceled?
Boot prompt Error loading OS two solutions
You can delete any files that cannot be deleted by the system. Command
Linux how to install and configure rz/sz command
How to do black bars on the right side of the browser after Win7 system upgrades IE10
How to add songs to groove music? Win10 system groove music add song method