Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mtest(8) [freebsd man page]

MTEST(8)						    BSD System Manager's Manual 						  MTEST(8)

NAME
mtest -- test multicast socket operations SYNOPSIS
mtest DESCRIPTION
The mtest utility is a small program for testing multicast socket operations. It accepts the following commands, interactively, or as part of a scripted input file (useful for automated testing): a ifname mac-addr Join the link-layer group address mac-addr on interface ifname. The group address should be in IEEE 802 MAC format, delimited by colon (':') characters. d ifname mac-addr Leave the link-layer group address mac-addr on interface ifname. m ifname 1/0 Set or reset ALLMULTI mode on interface ifname. This option is deprecated and is now a no-op. p ifname 1/0 Set or reset promiscuous mode on interface ifname. j mcast-addr ifname [source-addr] Join the multicast address mcast-addr on the interface with name ifname. If an optional source source-addr is specified, a source-specific join will be performed; if mtest is already joined to the multicast address, the source will be added to its filter list. l mcast-addr ifname [source-addr] Leave the multicast address mcast-addr on the interface with address ifname. If a source source-addr is specified, only that source will be left. i mcast-addr ifname n source-addr ... Set the socket with membership of mcast-addr on interface ifname to include filter mode, and add n sources beginning with source-addr to the inclusion filter list. e mcast-addr ifname n source-addr ... Set the socket with membership of mcast-addr on interface ifname to exclude filter mode, and add n sources beginning with source-addr to the exclusion filter list. t mcast-addr ifname source-addr Set the socket with membership of mcast-addr on interface ifname to block traffic from source source-addr. b mcast-addr ifname source-addr Set the socket with membership of mcast-addr on interface ifname to allow traffic from source source-addr. g mcast-addr ifname n Print n source filter entries for mcast-addr on interface ifname. f filename Read commands from the file filename. s n Sleep for n seconds. ? List legal commands. q Quit the program. IMPLEMENTATION NOTES
For each command implemented by mtest, the address family of each argument must be identical; it is not possible to mix IPv4 multicast mem- berships with IPv6, for example. To support IPv6, all commands have now changed to accept an interface name rather than an interface address. For IPv4, the program will per- form a lookup of the primary IP address based on the interface name. This may fail if no primary IP address is assigned. SEE ALSO
D. Thaler, B. Fenner, and B. Quinn, Socket Interface Extensions for Multicast Filters, RFC 3678. AUTHORS
Bruce Simpson Steve Deering Wilbert De Graaf BSD
April 29, 2009 BSD

Check Out this Related Man Page

HOSTAPD_CLI(1)						  hostapd command-line interface					    HOSTAPD_CLI(1)

NAME
       hostapd_cli - hostapd command-line interface

SYNOPSIS
       hostapd_cli [-p<path>] [-i<ifname>] [-a<path>] [-hvB] [command..]

DESCRIPTION
       This manual page documents briefly the hostapd_cli utility.

       hostapd_cli is a command-line interface for the hostapd daemon.

       hostapd	is  a  user  space  daemon  for  access point and authentication servers.  It implements IEEE 802.11 access point management, IEEE
       802.1X/WPA/WPA2/EAP Authenticators and RADIUS authentication server.  For more information about hostapd refer to the hostapd(8) man page.

OPTIONS
       A summary of options is included below.	For a complete description, run hostapd_cli from the command line.

       -p<path>
	      Path to find control sockets.

	      Default: /var/run/hostapd

       -i<ifname>
	      Interface to listen on.

	      Default: first interface found in socket path.

       -a<path>
	      Run in daemon mode executing the action file based on events from hostapd.

       -B     Run a daemon in the background.

       -h     Show usage.

       -v     Show hostapd_cli version.

COMMANDS
       A summary of commands is included below.  For a complete description, run hostapd_cli from the command line.

       mib    Get MIB variables (dot1x, dot11, radius).

       sta <addr>
	      Get MIB variables for one station.

       all_sta
	      Get MIB variables for all stations.

       help   Get usage help.

       interface [ifname]
	      Show interfaces/select interface.

       level <debug level>
	      Change debug level.

       license
	      Show full hostapd_cli license.

       quit   Exit hostapd_cli.

SEE ALSO
       hostapd(8).

AUTHOR
       hostapd_cli was written by Jouni Malinen <j@w1.fi>.

       This manual page was written by Faidon Liambotis <faidon@cube.gr>, for the Debian project (but may be used by others).

hostapd_cli							  April  7, 2005						    HOSTAPD_CLI(1)
Man Page