blob: f74bb513d5c0bf5e16f22c7da6fd1b13468cbfbb [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001@node SNMP Support, Zebra Protocol, Kernel Interface, Top
2@comment node-name, next, previous, up
3@chapter SNMP Support
4
5SNMP (Simple Network Managing Protocol) is widely implemented feature
paul7190f4e2003-08-12 12:40:20 +00006for collecting network information from router and/or host. Quagga
paul718e3742002-12-13 20:15:29 +00007itself does not support SNMP agent functionality. But conjuction with
paul7190f4e2003-08-12 12:40:20 +00008SNMP agent, Quagga provides routing protocol MIBs.
paul718e3742002-12-13 20:15:29 +00009
paul7190f4e2003-08-12 12:40:20 +000010Quagga uses SMUX protocol (RFC1227) for making communication with SNMP
paul718e3742002-12-13 20:15:29 +000011agent. There are several SNMP agent which support SMUX. We recommend
12to use the latest @command{ucd-snmp} software.
13
14@menu
15* How to get ucd-snmp::
16* SMUX configuration::
17@end menu
18
19@node How to get ucd-snmp, SMUX configuration, SNMP Support, SNMP Support
20@comment node-name, next, previous, up
21@section How to get ucd-snmp
22
23ucd-snmp is a free software which distributed so called "as is" software
24license. Please check the license which comes with distribution of
25@command{ucd-snmp}. The authors of ucd-snmp are the University of
26California, the University of California at Davis, and the Electrical
27Engineering department at the University of California at Davis.
28
29You can get ucd-snmp from @url{ftp://ucd-snmp.ucdavis.edu/}. As of this
30writing we are testing with @command{ucd-snmp-4.1.pre1.tar.gz}.
31
32To enable SMUX protocol support, please configure @command{ucd-snmp}
33like below.
34
35@example
36% configure --with-mib-modules=smux
37@end example
38
39After compile and install @command{ucd-snmp}, you will need to configure
40smuxpeer. I'm now using configuration shown below. This means SMUX client
41connects to MIB 1.3.6.1.6.3.1 with password test.
42
43@example
44/usr/local/share/snmp/snmpd.conf
45================================
46smuxpeer 1.3.6.1.6.3.1 test
47@end example
48
49@node SMUX configuration, , How to get ucd-snmp, SNMP Support
50@comment node-name, next, previous, up
51@section SMUX configuration
52
paul7190f4e2003-08-12 12:40:20 +000053To enable SNMP support of Quagga, you have to configure Quagga with
paul718e3742002-12-13 20:15:29 +000054@command{--enable-snmp} (@pxref{Configure the Software}).
55
56@deffn {Command} {smux peer @var{oid}} {}
57@deffnx {Command} {no smux peer @var{oid}} {}
58@end deffn
59
60@deffn {Command} {smux peer @var{oid} @var{password}} {}
61@deffnx {Command} {no smux peer @var{oid} @var{password}} {}
62@end deffn
63
64@example
65!
66smux peer .1.3.6.1.6.3.1 test
67!
68@end example