summaryrefslogtreecommitdiff
path: root/usr.sbin/map-mbone/map-mbone.8
blob: d374e33b9623ee07edda21afc06289857b8e8e3c (plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
.\"	$OpenBSD: map-mbone.8,v 1.9 2003/02/18 07:51:09 jmc Exp $
.\"	$NetBSD: map-mbone.8,v 1.2 1995/10/03 23:16:53 thorpej Exp $
.\"
.\" Mapper for connections between MRouteD multicast routers.
.\" Written by Pavel Curtis <Pavel@PARC.Xerox.Com>
.\" 
.\" Copyright (c) 1992, 2001 Xerox Corporation.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
.\"
.\" Redistributions of source code must retain the above copyright notice,
.\" this list of conditions and the following disclaimer.
.\"
.\" Redistributions in binary form must reproduce the above copyright notice,
.\" this list of conditions and the following disclaimer in the documentation
.\" and/or other materials provided with the distribution.
.\"
.\" Neither name of the Xerox, PARC, nor the names of its contributors may be
.\" used to endorse or promote products derived from this software 
.\" without specific prior written permission. 
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE XEROX CORPORATION OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
.\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
.\"
.Dd June 13, 1999
.Dt MAP-MBONE 8
.Os
.Sh NAME
.Nm map-mbone
.Nd Multicast connection mapper
.Sh SYNOPSIS
.Nm map-mbone
.Op Fl d Ar level
.Op Fl fgn
.Op Fl r Ar count
.Op Fl t Ar seconds
.Op Ar starting_router
.Sh DESCRIPTION
.Nm
attempts to display all multicast routers that are reachable from the multicast
router
.Ar starting_router .
If not specified on the command line,
.Ar starting_router
is
.Dq localhost .
.Pp
.Nm
sends an
.Dv ASK_NEIGHBORS
.Tn IGMP
message to
.Ar starting_router .
A response contains the
multicast version number
of
.Ar starting_router
and the addresses of
all its neighboring multicast routers.
If the multicast version number is recent, then
.Nm
requests additional information such as metrics, thresholds, and flags.
.Pp
If a recursive search has been requested (see
.Fl f ) ,
.Nm
repeats the above operation for each new
multicast router in the list of neighbors and
continues the process until no new multicast routers are reported.
.Pp
.Nm
must be run as root.
.Pp
.Em Options
.Bl -tag -width "-t seconds"
.It Fl d Ar level
Sets the debug level to
.Ar level .
When the debug level is greater than
0, additional debugging messages are printed to stderr.
Regardless of
the debug level, an error condition will always write an error message and will
cause
.Nm
to terminate.
Non-zero debug levels are
.Bl -tag -width "1: " -offset indent
.It 1 :
Print packet warnings, plus level 0 messages.
.It 2 :
Print notifications of down networks, plus level 1 messages.
.It 3 :
Print notifications of all packet timeouts, plus level 2 messages.
.El
.Pp
Default is 0.
.It Fl f
Causes a recursive (flooding) search.
If no
.Ar starting_router
is specified, a recursive search is always performed.
.It Fl g
Sets graphing format to GraphEd format.
.It Fl n
Disables DNS lookup for the names of the multicast routers.
.It Fl r Ar count
Sets the neighbor query retry limit to
.Ar count .
Default is 1.
.It Fl t Ar seconds
Sets the number of seconds to wait for a neighbor query
reply before retrying to
.Ar seconds .
Default is 2.
.El
.Sh SEE ALSO
.Xr mrinfo 8 ,
.Xr mrouted 8 ,
.Xr mtrace 8
.Sh AUTHORS
Pavel Curtis