]> git.ipfire.org Git - people/ms/network.git/blame - man/network-zone.8.in
Make a better removal of zones possible.
[people/ms/network.git] / man / network-zone.8.in
CommitLineData
de28a630
MT
1.TH network-zone 8 "1 Jun 2012" "@VERSION@" "network man page"
2
3.SH NAME
4network-zone \- Network Configuration Control Program
5
6.SH SYNOPSIS
7\fBnetwork [OPTIONS] zone create <zone> ...\fR
8.P
9\fBnetwork [OPTIONS] zone <zone> command ...\fR
10
11.SH DESCRIPTION
12By the zone subcommands, it is very easy to configure network zones.
13.PP
14It is possible to create zones and remove them. Zones may also
15be brought up and down and reconfigured. Their status may be viewed
16as well.
17
18.SH OPTIONS
19The \fBnetwork zone\fR command offers various commands:
20
21\fBcreate <zone> <hook> [options]\fR
22.RS 4
23A new zone may be created by the \fBcreate\fR command. There are at least two arguments
24required.
25.PP
26\fB<zone>\fR must be valid name for a zone which does not already exist.
27\fB<hook>\fR is a valid zone hook which may require additional options.
28.RE
29.PP
30
31\fBremove <zone>\fR
32.RS 4
69ace22b
MT
33A zone can be simple removed with this command.
34.PP
35There are two possible ways to remove a zone. The case is when the zone is not up. Then,
36it will be removed immediately. When the zone is current up and used, it will tagged
37to be remove later, after it has been brought down.
de28a630
MT
38.RE
39.PP
40
41For all other commands, the name of the zone needs to be passed first:
42\fBnetwork zone <zone> command\fR.
43
44\fB<zone> edit [OPTIONS]\fR
45.RS 4
46The settings of a zone may be edited after it has been created. The options that can
47be passed depend on the hook that is used for the zone. Run \fBnetwork zone <zone> edit --help\fR
48to learn more about that.
49.PP
50It normally is required to restart/reload the zone until the new settings are taken into account.
51.RE
52.PP
53
54\fB<zone> [up|down]\fR
55.RS 4
56These commands will bring the zone up/down. This is done without control of systemd, therefore
57not intended to be done in a productive environment. However, these commands may be used for
58debugging.
59.RE
60.PP
61
62\fB<zone> status\fR
63.RS 4
64This will show some detailed information about the state if the specified zone.
65.RE
66.PP
67
68.SH SEE ALSO
69network(8)
70
71.SH AUTHOR
72Michael Tremer (michael.tremer@ipfire.org)