-
Notifications
You must be signed in to change notification settings - Fork 4
/
aoecfg.8
77 lines (77 loc) · 2.2 KB
/
aoecfg.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.TH aoecfg 8
.SH NAME
aoecfg \- manipulate AoE configuration strings
.SH SYNOPSIS
.B aoecfg
[\-c \fIcmd\fR] [\-s \fIcfgstr\fR] [\-t \fItimeout\fR] [\fIshelf slot\fR] [\fInetif\fR]
.fi
.SH DESCRIPTION
.IR Aoecfg (8)
sends AoE configuration commands that control the retrivial, conditional
or unconditional setting of AoE configuration strings. Since configuration
happens before the MAC address of the target is known, the packet is
broadcast. AoE targets with a matching shelf and slot respond. Since
the default shelf and slot are the wildcard values 0xffff and 0xff,
with no arguments
.IR aoecfg (8)
will return configuration strings from all targets visible
on the default interface,
.IR eth0 .
.SH OPTIONS
.TP 8
.BI \-c " cmd"
specify the AoE configuration command. The default is
.IR read .
The available commands are
.HP 8
.B read
Read the server config string without performing any test and
respond.
.HP 8
.B test
Respond only if the specified string exactly matches the server
configuration string.
.HP 8
.B prefix
Respond only if the specified string is a prefix of the server
configuration string.
.HP 8
.B set
If the current server config string is empty, set the server config
string to the argument string and respond. If the current server
config string is not empty, return a response with Flags bit E set
and Error set to 4.
.HP 8
.B fset
Force set the server config string to the argument string and respond.
.TP
.BI \-s " cfgstr"
specify the config string.
.TP
.BI \-t " timeout"
specify the timeout in seconds. The default is no timeout. If neither the shelf
nor the slot are specified,
.IR aoecfg (8)
will exit after the first result. Otherwise,
.IR aoecfg (8)
will exit only after the timeout has expired since it does not know
how many responses to expect.
.TP
.B shelf slot
specify the shelf and slot used in the query. If unspecified, they
default to broadcast.
.TP
.B netif
specify the network interface. The default is
.IR eth0 .
.SH "SEE ALSO"
.IR aoe-discover (8),
.IR aoe-interfaces (8),
.IR aoe-mkdevs (8),
.IR aoe-mkshelf (8),
.IR aoe-stat (8),
.IR aoeping (8),
\fIAoE (ATA over Ethernet)\fP: http://support.coraid.com/documents/AoEr10.txt,
\fIATA specification\fP
.SH AUTHOR
Erik Quanstrom ([email protected])