xref: /freebsd/usr.sbin/mtest/mtest.8 (revision c4f6a2a9e1b1879b618c436ab4f56ff75c73a0f5)
1.\"
2.\" $FreeBSD$
3.\"
4.\" The following requests are required for all man pages.
5.Dd December 15, 1996
6.Os
7.Dt MTEST 8
8.Sh NAME
9.Nm mtest
10.Nd test multicast membership socket operations and ioctls
11.Sh SYNOPSIS
12.Nm
13.Sh DESCRIPTION
14The
15.Nm
16utility
17is a small program for testing the multicast membership socket operations
18and ioctls.  It accepts the following commands, interactively:
19.Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent
20.It Ic j Ar g.g.g.g Ar i.i.i.i
21Join the IP group address
22.Ar g.g.g.g
23on the interface with address
24.Ar i.i.i.i .
25.Ar i.i.i.i
26may be specified as 0.0.0.0 to use the default interface.
27.It Ic l Ar g.g.g.g Ar i.i.i.i
28Leave the IP group address
29.Ar g.g.g.g
30on the interface with address
31.Ar i.i.i.i .
32.It Ic a Ar ifname Ar e.e.e.e.e.e
33Join the Ethernet group address
34.Ar e.e.e.e.e.e
35on interface
36.Ar ifname .
37.It Ic d Ar ifname Ar e.e.e.e.e.e
38Leave the Ethernet group address
39.Ar e.e.e.e.e.e
40on interface
41.Ar ifname .
42.It Ic m Ar ifname Ar 1/0
43Set or reset ALLMULTI mode on interface
44.Ar ifname .
45.It Ic p Ar ifname Ar 1/0
46Set or reset promiscuous mode on interface
47.Ar ifname .
48.It Ic ?\&
49List legal commands.
50.It Ic q
51Quit the program.
52.El
53.\" .Sh SEE ALSO
54.Sh AUTHORS
55.An Steve Deering
56.Sh BUGS
57The command parser is not very flexible.
58