What is the ip command in linux

(*-*)浩
Release: 2019-12-04 14:28:49
Original
4353 people have browsed it

What is the ip command in linux

ip is a powerful network configuration tool in the iproute2 software package. It can replace some traditional network management tools, such as ifconfig, route, etc., use permissions as superuser. Almost all Linux distributions support this command.                                                                                                             (Recommended learning: linux tutorial)

As every Linux network administrator and all Linux users, the ip command is an essential tool, and this command perfectly replaces ifconfig command, so this article will comprehensively summarize the ip command. I hope that through my summary, everyone can become more familiar with the ip command.

ip commonly used command format is as follows:

ip [ OPTIONS ] OBJECT { COMMAND | help }
Copy after login

Object OBJECT={ link | addr | addrlabel | route | rule | neigh | ntable | tunnel | maddr | mroute | mrule | monitor | iec | -f[amily] { inet | inet6 | ipx | dnet | link } | -o[neline] | -t[imestamp] | -b[atch] [filename] | -rc[vbuf] [size] }

The values ​​of common objects have the following meanings:

link:网络设备
address:设备上的协议(IP或IPv6)地址
addrlabel:协议地址选择的标签配置
route:路由表条目
rule:路由策略数据库中的规则
Copy after login

The values ​​of common options have the following meanings:

-V,-Version:显示指令版本信息
-s,-stats,statistics:输出详细信息
-h,-human,-human-readable:输出人类可读的统计信息和后缀
-o,-oneline:将每条记录输出到一行,用‘\’字符替换换行符
Copy after login

The above is the detailed content of What is the ip command in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!