5 --------------------------------------
6 reload network interface configuration
7 --------------------------------------
9 :Author: Roopa Prabhu <roopa@cumulusnetworks.com>
11 :Copyright: Copyright 2014 Cumulus Networks, Inc. All rights reserved.
17 ifreload [-h] (-a|-c) [-v] [-d] [-f] [-n]
21 reloads network **interfaces(5)** file **/etc/network/interfaces**.
23 Runs **ifdown** on interfaces that were removed from the file and
24 subsequently runs **ifup** on all interfaces.
26 When removing an interface (iface section) from the interfaces file
27 please make sure all its references are removed as well. Similarly
28 when renaming an interface, please make sure all references to the
29 interface are changed to the new name. Renaming an interface
30 in the interfaces file results in ifdown of the old and ifup
31 of the interface with the new name.
33 If you do not wish to execute **down** on any interfaces, but only **up** on
34 interfaces that were already **up**, please see the **--currently-up**
40 -h, --help show this help message and exit
42 -a, --all process all interfaces marked "auto"
46 -d, --debug output debug info
48 -f, --force force run all operations
50 -c, --currently-up only reload auto and other interfaces that are
51 currently up. This can be used as a non-disruptive
52 alternative to -a because it will not down any
55 -X EXCLUDEPATS, --exclude EXCLUDEPATS
56 Exclude interfaces from the list of interfaces to
57 operate on. Can be specified multiple times
62 # reload all auto interfaces in **interfaces(5)** file
66 # reload all interfaces using service command
68 **service networking reload**
70 # reload all currently up interfaces without bringing any interfaces down
72 **service networking reload-currently-up**
80 ifupdown-addons-interfaces(5)