Skip to content

Commit d246570

Browse files
authored
Update ip.md
1 parent 5dfa329 commit d246570

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

command/ip.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ ip
1111

1212
```
1313
ip(选项)(参数)
14+
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
15+
ip [ -force ] -batch filename
1416
```
1517

1618
### 选项
1719

1820
```
21+
OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |
22+
tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
23+
netns | l2tp | macsec | tcp_metrics | token }
24+
1925
-V:显示指令版本信息;
2026
-s:输出更详细的信息;
2127
-f:强制使用指定的协议族;
@@ -28,6 +34,14 @@ ip(选项)(参数)
2834
### 参数
2935

3036
```
37+
OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
38+
-h[uman-readable] | -iec |
39+
-f[amily] { inet | inet6 | ipx | dnet | bridge | link } |
40+
-4 | -6 | -I | -D | -B | -0 |
41+
-l[oops] { maximum-addr-flush-attempts } |
42+
-o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
43+
-rc[vbuf] [size] | -n[etns] name | -a[ll] }
44+
3145
网络对象:指定要管理的网络对象;
3246
具体操作:对指定的网络对象完成具体操作;
3347
help:显示网络对象支持的操作命令的帮助信息。

0 commit comments

Comments
 (0)