]>
Commit | Line | Data |
---|---|---|
e37ad4a6 | 1 | ======== |
2 | ifreload | |
3 | ======== | |
4 | ||
5 | -------------------------------------- | |
6 | reload network interface configuration | |
7 | -------------------------------------- | |
8 | ||
c5a54d73 | 9 | :Author: Roopa Prabhu <roopa@cumulusnetworks.com> |
e37ad4a6 | 10 | :Date: 2014-02-05 |
11 | :Copyright: Copyright 2014 Cumulus Networks, Inc. All rights reserved. | |
12 | :Version: 0.1 | |
13 | :Manual section: 8 | |
14 | ||
15 | SYNOPSIS | |
16 | ======== | |
91067b3d | 17 | ifreload [-h] [-a] [-v] [-d] [-f] [-n] |
e37ad4a6 | 18 | |
19 | DESCRIPTION | |
20 | =========== | |
d40e96ee | 21 | reloads network **interfaces(5)** file **/etc/network/interfaces**. |
e37ad4a6 | 22 | |
c5a54d73 RP |
23 | Runs **ifdown** on interfaces that changed in the interfaces file and |
24 | subsequently runs **ifup** on all interfaces. | |
91067b3d | 25 | |
c5a54d73 RP |
26 | **ifreload** is equivalent to **ifdown -a** followed by **ifup -a** |
27 | but it skips **ifdown** for interfaces that did not change in the config | |
91067b3d | 28 | file. |
29 | ||
e37ad4a6 | 30 | |
31 | OPTIONS | |
32 | ======= | |
33 | -h, --help show this help message and exit | |
34 | ||
35 | -a, --all process all interfaces marked "auto" | |
36 | ||
37 | -v, --verbose verbose | |
38 | ||
39 | -d, --debug output debug info | |
40 | ||
41 | -f, --force force run all operations | |
42 | ||
91067b3d | 43 | EXAMPLES |
44 | ======== | |
d40e96ee | 45 | # reload all auto interfaces in **interfaces(5)** file |
46 | ||
47 | **ifreload -a** | |
e37ad4a6 | 48 | |
49 | # reload all interfaces using service command | |
d40e96ee | 50 | |
51 | **service networking reload** | |
e37ad4a6 | 52 | |
53 | SEE ALSO | |
54 | ======== | |
d40e96ee | 55 | ifup(8), |
56 | ifdown(8), | |
57 | ifquery(8), | |
58 | interfaces(5), | |
35c868a0 | 59 | ifupdown-addons-interfaces(5) |