mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
tree to external This also combines python-ifupdown2 and python-ifupdown2-addons package into a single python-ifupdown2 package
117 lines
2.6 KiB
Groff
117 lines
2.6 KiB
Groff
.\" Man page generated from reStructeredText.
|
|
.
|
|
.TH IFRELOAD 8 "2014-02-05" "0.1" ""
|
|
.SH NAME
|
|
ifreload \- reload network interface configuration
|
|
.
|
|
.nr rst2man-indent-level 0
|
|
.
|
|
.de1 rstReportMargin
|
|
\\$1 \\n[an-margin]
|
|
level \\n[rst2man-indent-level]
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
-
|
|
\\n[rst2man-indent0]
|
|
\\n[rst2man-indent1]
|
|
\\n[rst2man-indent2]
|
|
..
|
|
.de1 INDENT
|
|
.\" .rstReportMargin pre:
|
|
. RS \\$1
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
. nr rst2man-indent-level +1
|
|
.\" .rstReportMargin post:
|
|
..
|
|
.de UNINDENT
|
|
. RE
|
|
.\" indent \\n[an-margin]
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
.nr rst2man-indent-level -1
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
..
|
|
.SH SYNOPSIS
|
|
.INDENT 0.0
|
|
.INDENT 3.5
|
|
ifreload [\-h] (\-a|\-c) [\-v] [\-d] [\-f] [\-n]
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.SH DESCRIPTION
|
|
.INDENT 0.0
|
|
.INDENT 3.5
|
|
reloads network \fBinterfaces(5)\fP file \fB/etc/network/interfaces\fP.
|
|
.sp
|
|
Runs \fBifdown\fP on interfaces that changed in the interfaces file and
|
|
subsequently runs \fBifup\fP on all interfaces.
|
|
.sp
|
|
\fBifreload\fP is equivalent to \fBifdown \-a\fP followed by \fBifup \-a\fP
|
|
but it skips \fBifdown\fP for interfaces that did not change in the config
|
|
file.
|
|
.sp
|
|
If you do not wish to execute \fBdown\fP on any interfaces, but only \fBup\fP on
|
|
interfaces that were already \fBup\fP, please see the \fB\-\-currently\-up\fP
|
|
option below.
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.SH OPTIONS
|
|
.INDENT 0.0
|
|
.INDENT 3.5
|
|
.INDENT 0.0
|
|
.TP
|
|
.B \-h, \-\-help
|
|
show this help message and exit
|
|
.TP
|
|
.B \-a, \-\-all
|
|
process all interfaces marked "auto"
|
|
.TP
|
|
.B \-v, \-\-verbose
|
|
verbose
|
|
.TP
|
|
.B \-d, \-\-debug
|
|
output debug info
|
|
.TP
|
|
.B \-f, \-\-force
|
|
force run all operations
|
|
.TP
|
|
.B \-c, \-\-currently\-up
|
|
only reload auto and other interfaces that are
|
|
currently up. This can be used as a non\-disruptive
|
|
alternative to \-a because it will not down any
|
|
interfaces
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.SH EXAMPLES
|
|
.INDENT 0.0
|
|
.INDENT 3.5
|
|
# reload all auto interfaces in \fBinterfaces(5)\fP file
|
|
.sp
|
|
\fBifreload \-a\fP
|
|
.sp
|
|
# reload all interfaces using service command
|
|
.sp
|
|
\fBservice networking reload\fP
|
|
.sp
|
|
# reload all currently up interfaces without bringing any interfaces down
|
|
.sp
|
|
\fBservice networking reload\-currently\-up\fP
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.SH SEE ALSO
|
|
.INDENT 0.0
|
|
.INDENT 3.5
|
|
ifup(8),
|
|
ifdown(8),
|
|
ifquery(8),
|
|
interfaces(5),
|
|
ifupdown\-addons\-interfaces(5)
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.SH AUTHOR
|
|
Roopa Prabhu <roopa@cumulusnetworks.com>
|
|
.SH COPYRIGHT
|
|
Copyright 2014 Cumulus Networks, Inc. All rights reserved.
|
|
.\" Generated by docutils manpage writer.
|
|
.\"
|
|
.
|