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