Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
5cb6aa03
Commit
5cb6aa03
authored
Nov 04, 2014
by
vadimk
Committed by
Stephen Hemminger
Nov 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc ip-cref: Added missing ip options
Signed-off-by:
Vadim Kochan
<
vadim4j@gmail.com
>
parent
f4fe81d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
doc/ip-cref.tex
doc/ip-cref.tex
+35
-0
No files found.
doc/ip-cref.tex
View file @
5cb6aa03
...
@@ -61,6 +61,9 @@ forms. Currently, the following options are available:
...
@@ -61,6 +61,9 @@ forms. Currently, the following options are available:
appears twice or more, the amount of information increases.
appears twice or more, the amount of information increases.
As a rule, the information is statistics or some time values.
As a rule, the information is statistics or some time values.
\item
\verb
|
-d
|
,
\verb
|
-details
|
--- output more detailed information.
\item
\verb
|
-f
|
,
\verb
|
-family
|
followed by a protocol family
\item
\verb
|
-f
|
,
\verb
|
-family
|
followed by a protocol family
identifier:
\verb
|
inet
|
,
\verb
|
inet6
|
or
\verb
|
link
|
.
identifier:
\verb
|
inet
|
,
\verb
|
inet6
|
or
\verb
|
link
|
.
...
@@ -103,6 +106,38 @@ host addresses.
...
@@ -103,6 +106,38 @@ host addresses.
\verb
|
ip
|
never uses DNS to resolve names to addresses.
\verb
|
ip
|
never uses DNS to resolve names to addresses.
\end{NB}
\end{NB}
\item
\verb
|
-b
|
,
\verb
|
-batch FILE
|
--- read commands from provided file or standart input and invoke them.
First failure will cause termination of
\verb
|
ip
|
.
In batch
\verb
|
FILE
|
everything which begins with
\verb
|
#
|
symbol is
ignored and can be used for comments.
\paragraph
{
Example:
}
\begin{verbatim}
kuznet@kaiser
$
cat
/
tmp
/
ip
_
batch.ip
# This is a comment
tuntap add mode tap tap
1
# This is an another comment
link set up dev tap
1
addr add
10
.
0
.
0
.
1
/
24
dev tap
1
kuznet@kaiser
$
sudo ip -b /tmp/ip
_
batch.ip
\end{verbatim}
or from standart input:
\begin{verbatim}
kuznet@kaiser
$
cat
/
tmp
/
ip
_
batch.ip | sudo ip
-
b
-
\end
{
verbatim
}
\item
\verb
|
-
force|
---
don't terminate ip on errors in batch mode.
If there were any errors during execution of the commands,
the application return code will be non zero.
\item
\verb
|
-
l|,
\verb
|
-
loops COUNT|
---
specify maximum number of loops the 'ip addr flush' logic will attempt
before giving up. The default is
10
. Zero
(
0
)
means loop until all
addresses are removed.
\end
{
itemize
}
\end
{
itemize
}
\verb
|OBJECT| is the object to manage or to get information about.
\verb
|OBJECT| is the object to manage or to get information about.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment