1999-08-28 23:23:38 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
1997-09-30 06:15:23 +00:00
|
|
|
.Dd May 8, 1995
|
|
|
|
.Dt MRINFO 8
|
2000-11-10 17:46:15 +00:00
|
|
|
.Os
|
1997-09-30 06:15:23 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm mrinfo
|
|
|
|
.Nd display configuration info from a multicast router
|
|
|
|
.Sh SYNOPSIS
|
2000-11-20 20:10:44 +00:00
|
|
|
.Nm
|
1997-09-30 06:15:23 +00:00
|
|
|
.Op Fl d Ar debug_level
|
|
|
|
.Op Fl r Ar retry_count
|
|
|
|
.Op Fl t Ar timeout_count
|
|
|
|
.Ar multicast_router
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm Mrinfo
|
1995-06-13 18:05:16 +00:00
|
|
|
attempts to display the configuration information from the multicast router
|
1997-09-30 06:15:23 +00:00
|
|
|
.Ar multicast_router .
|
|
|
|
.Pp
|
|
|
|
.Nm Mrinfo
|
2000-03-01 14:09:25 +00:00
|
|
|
uses the ASK_NEIGHBORS IGMP message to the specified multicast router.
|
|
|
|
If this
|
1995-06-13 18:05:16 +00:00
|
|
|
multicast router responds, the version number and a list of their neighboring
|
2000-03-01 14:09:25 +00:00
|
|
|
multicast router addresses is part of that response.
|
|
|
|
If the responding router
|
1995-06-13 18:05:16 +00:00
|
|
|
has a recent multicast version number, then
|
1997-09-30 06:15:23 +00:00
|
|
|
.Nm
|
1995-06-13 18:05:16 +00:00
|
|
|
requests additional information such as metrics, thresholds, and flags from the
|
2000-03-01 14:09:25 +00:00
|
|
|
multicast router.
|
|
|
|
Once the specified multicast router responds, the
|
1995-06-13 18:05:16 +00:00
|
|
|
configuration is displayed to the standard output.
|
1997-09-30 06:15:23 +00:00
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl d Ar debug_level
|
2000-03-01 14:09:25 +00:00
|
|
|
Set the debug level.
|
|
|
|
When the debug level is greater than the
|
|
|
|
default value of 0, addition debugging messages are printed.
|
|
|
|
Regardless of
|
1995-06-13 18:05:16 +00:00
|
|
|
the debug level, an error condition, will always write an error message and will
|
|
|
|
cause
|
1997-09-30 06:15:23 +00:00
|
|
|
.Nm
|
1995-03-31 21:18:13 +00:00
|
|
|
to terminate.
|
|
|
|
Non-zero debug levels have the following effects:
|
1997-09-30 06:15:23 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It "level 1"
|
1995-03-31 21:18:13 +00:00
|
|
|
packet warnings are printed to stderr.
|
1997-09-30 06:15:23 +00:00
|
|
|
.It "level 2"
|
1995-03-31 21:18:13 +00:00
|
|
|
all level 1 messages plus notifications down networks are printed to stderr.
|
1997-09-30 06:15:23 +00:00
|
|
|
.It "level 3"
|
1995-03-31 21:18:13 +00:00
|
|
|
all level 2 messages plus notifications of all packet
|
|
|
|
timeouts are printed to stderr.
|
1997-09-30 06:15:23 +00:00
|
|
|
.El
|
|
|
|
.It Fl r Ar retry_count
|
2000-03-01 14:09:25 +00:00
|
|
|
Set the neighbor query retry limit.
|
|
|
|
Default is 3 retries.
|
1997-09-30 06:15:23 +00:00
|
|
|
.It Fl t Ar timeout_count
|
|
|
|
Set the number of seconds to wait for a neighbor query
|
2000-03-01 14:09:25 +00:00
|
|
|
reply.
|
|
|
|
Default timeout is 4 seconds.
|
1997-09-30 06:15:23 +00:00
|
|
|
.El
|
|
|
|
.Sh SAMPLE OUTPUT
|
2000-11-10 17:46:15 +00:00
|
|
|
.Bd -literal
|
|
|
|
.Nm mrinfo Ar mbone.phony.dom.net
|
1995-03-31 21:18:13 +00:00
|
|
|
127.148.176.10 (mbone.phony.dom.net) [version 3.3]:
|
|
|
|
127.148.176.10 -> 0.0.0.0 (?) [1/1/querier]
|
|
|
|
127.148.176.10 -> 127.0.8.4 (mbone2.phony.dom.net) [1/45/tunnel]
|
|
|
|
127.148.176.10 -> 105.1.41.9 (momoney.com) [1/32/tunnel/down]
|
|
|
|
127.148.176.10 -> 143.192.152.119 (mbone.dipu.edu) [1/32/tunnel]
|
2000-11-10 17:46:15 +00:00
|
|
|
.Ed
|
1997-09-30 06:15:23 +00:00
|
|
|
.Pp
|
1995-06-13 18:05:16 +00:00
|
|
|
For each neighbor of the queried multicast router, the IP of the queried router
|
2000-03-01 14:09:25 +00:00
|
|
|
is displayed, followed by the IP and name of the neighbor.
|
|
|
|
In square brackets
|
|
|
|
the metric (cost of connection), the treashold (multicast ttl) is displayed.
|
|
|
|
If
|
1995-06-13 18:05:16 +00:00
|
|
|
the queried multicast router has a newer version number, the type (tunnel,
|
|
|
|
srcrt) and status (disabled, down) of the connection is displayed.
|
1997-09-30 06:15:23 +00:00
|
|
|
.Sh IMPORTANT NOTE
|
|
|
|
.Nm Mrinfo
|
1995-06-13 18:05:16 +00:00
|
|
|
must be run as root.
|
1997-09-30 06:15:23 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr map-mbone 8 ,
|
1998-08-31 16:41:09 +00:00
|
|
|
.Xr mrouted 8 ,
|
1997-09-30 06:15:23 +00:00
|
|
|
.Xr mtrace 8
|
1998-03-23 08:31:20 +00:00
|
|
|
.Sh AUTHORS
|
1997-09-30 06:15:23 +00:00
|
|
|
.An Van Jacobson
|