Line 0
Link Here
|
|
|
1 |
.\" Process this file with |
2 |
.\" groff -man -Tascii foo.1 |
3 |
.\" |
4 |
.TH CDPR 8 "OCTOBER 2006" "User Manuals" |
5 |
.SH NAME |
6 |
cdpr \- Cisco Discovery Protocol Reporter |
7 |
.SH SYNOPSIS |
8 |
.B cdpr [-h] [-t |
9 |
.I seconds |
10 |
.B ] |
11 |
.B [-d |
12 |
.I device |
13 |
.B ] |
14 |
.B [-u |
15 |
.I server-config-file |
16 |
.B ] |
17 |
.B [-l |
18 |
.I location |
19 |
.B ] |
20 |
.B [-n |
21 |
.I hostname |
22 |
.B ] |
23 |
.B [-s |
24 |
.I server |
25 |
.B ] |
26 |
.B [-p |
27 |
.I script-path |
28 |
.B ] |
29 |
.SH DESCRIPTION |
30 |
.B cdpr |
31 |
listens on specified network interfaces for Cisco Discovery Protocol packets. It then |
32 |
decodes those packets and outputs the information, optionally sending the information |
33 |
to a server for processing. |
34 |
.SH OPTIONS |
35 |
.IP "-d device" |
36 |
Specify device to use (eth0, hme0, etc.) |
37 |
.IP "-h, -?, --help" |
38 |
Print the usage. |
39 |
.IP "-t seconds" |
40 |
Time in seconds to abort waiting for a packet (should be > 60) |
41 |
.IP -v[vv] |
42 |
Set verbose mode. |
43 |
.IP "-u server-config-file" |
44 |
Send cdpr information to a cdpr server. See /usr/share/doc/cdpr/README.cdprs for details and /usr/share/doc/cdpr/cdpr.conf.sample for a sample configuration. |
45 |
.IP "-l location" |
46 |
Location/description of this port; for use with -u or -s and -p. |
47 |
.IP "-n hostname" |
48 |
Override the hostname reported to the server; for use with -u or -s and -p. |
49 |
.IP "-s server" |
50 |
Server to send information to, specify port with a: after server/IP. |
51 |
Example: 192.168.1.20:88 (default: 80) requires -p (overridden by -u) |
52 |
.IP "-p script-path" |
53 |
Path of server script to send data to; requires -s (overridden by -u) |
54 |
.SH AUTHOR |
55 |
Lance O'Connor <lance at ronnoco dot net> |
56 |
|
57 |
This manual page was written by Matt Zagrabelny <mzagrabe at d dot umn dot edu>, for the Debian system (but may be used by others). |