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