2014-02-14 09:55:19 -08:00
|
|
|
========
|
|
|
|
ifreload
|
|
|
|
========
|
|
|
|
|
|
|
|
--------------------------------------
|
|
|
|
reload network interface configuration
|
|
|
|
--------------------------------------
|
|
|
|
|
|
|
|
:Author: roopa@cumulusnetworks.com
|
|
|
|
:Date: 2014-02-05
|
|
|
|
:Copyright: Copyright 2014 Cumulus Networks, Inc. All rights reserved.
|
|
|
|
:Version: 0.1
|
|
|
|
:Manual section: 8
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
========
|
2014-03-27 16:36:54 -07:00
|
|
|
ifreload [-h] [-a] [-v] [-d] [-f] [-n]
|
2014-02-14 09:55:19 -08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
===========
|
|
|
|
reloads network interfaces(5) file /etc/network/interfaces.
|
|
|
|
|
2014-03-27 16:36:54 -07:00
|
|
|
runs ifdown on interfaces that changed in the interfaces file and
|
|
|
|
subsequently runs ifup on all interfaces.
|
|
|
|
|
|
|
|
ifreload is equivalent to ``ifdown -a`` followed by ``ifup -a``
|
|
|
|
but it skips ifdown for interfaces that did not change in the config
|
|
|
|
file.
|
|
|
|
|
2014-02-14 09:55:19 -08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
=======
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
|
|
|
|
-a, --all process all interfaces marked "auto"
|
|
|
|
|
|
|
|
-v, --verbose verbose
|
|
|
|
|
|
|
|
-d, --debug output debug info
|
|
|
|
|
|
|
|
-f, --force force run all operations
|
|
|
|
|
2014-03-27 16:36:54 -07:00
|
|
|
EXAMPLES
|
|
|
|
========
|
2014-02-14 09:55:19 -08:00
|
|
|
# reload /etc/network/interfaces file
|
|
|
|
ifreload -a
|
|
|
|
|
|
|
|
# reload all interfaces using service command
|
|
|
|
service networking reload
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
========
|
|
|
|
ifup(8)
|
|
|
|
ifdown(8)
|
|
|
|
ifquery(8)
|
|
|
|
interfaces(5)
|
|
|
|
interfaces-addons(5)
|