Tomato 1.28
[tomato.git] / release / src / router / zebra / doc / snmp.texi
blob315c91c978934f0e7e977211e39bb74e92ecbd7d
1 @node SNMP Support, Zebra Protocol, Kernel Interface, Top
2 @comment  node-name,  next,  previous,  up
3 @chapter SNMP Support
5 SNMP (Simple Network Managing Protocol) is widely implemented feature
6 for collecting network information from router and/or host.  Zebra
7 itself does not support SNMP agent functionality.  But conjuction with
8 SNMP agent, Zebra provides routing protocol MIBs.
10 Zebra uses SMUX protocol (RFC1227) for making communication with SNMP
11 agent.  There are several SNMP agent which support SMUX.  We recommend
12 to use the latest @command{ucd-snmp} software.  
14 @menu
15 * How to get ucd-snmp::         
16 * SMUX configuration::          
17 @end menu
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
23 ucd-snmp is a free software which distributed so called "as is" software
24 license.  Please check the license which comes with distribution of
25 @command{ucd-snmp}.  The authors of ucd-snmp are the University of
26 California, the University of California at Davis, and the Electrical
27 Engineering department at the University of California at Davis.
29 You can get ucd-snmp from @url{ftp://ucd-snmp.ucdavis.edu/}.  As of this
30 writing we are testing with @command{ucd-snmp-4.1.pre1.tar.gz}.
32 To enable SMUX protocol support, please configure @command{ucd-snmp}
33 like below.
35 @example
36 % configure --with-mib-modules=smux
37 @end example
39 After compile and install @command{ucd-snmp}, you will need to configure
40 smuxpeer.  I'm now using configuration shown below.  This means SMUX client
41 connects to MIB 1.3.6.1.6.3.1 with password test.
42   
43 @example
44 /usr/local/share/snmp/snmpd.conf
45 ================================
46 smuxpeer 1.3.6.1.6.3.1 test
47 @end example
49 @node SMUX configuration,  , How to get ucd-snmp, SNMP Support
50 @comment  node-name,  next,  previous,  up
51 @section SMUX configuration
53 To enable SNMP support of Zebra, you have to configure Zebra with
54 @command{--enable-snmp} (@pxref{Configure the Software}).
56 @deffn {Command} {smux peer @var{oid}} {}
57 @deffnx {Command} {no smux peer @var{oid}} {}
58 @end deffn
60 @deffn {Command} {smux peer @var{oid} @var{password}} {}
61 @deffnx {Command} {no smux peer @var{oid} @var{password}} {}
62 @end deffn
64 @example
66 smux peer .1.3.6.1.6.3.1 test
68 @end example