📄 snmp.texi
字号:
@node SNMP Support, Zebra Protocol, Kernel Interface, Top@comment node-name, next, previous, up@chapter SNMP SupportSNMP (Simple Network Managing Protocol) is widely implemented featurefor collecting network information from router and/or host. Zebraitself does not support SNMP agent functionality. But conjuction withSNMP agent, Zebra provides routing protocol MIBs.Zebra uses SMUX protocol (RFC1227) for making communication with SNMPagent. There are several SNMP agent which support SMUX. We recommendto use the latest @command{net-snmp} software. @menu* How to get net-snmp:: * SMUX configuration:: @end menu@node How to get net-snmp, SMUX configuration, SNMP Support, SNMP Support@comment node-name, next, previous, up@section How to get net-snmpnet-snmp is a free software which distributed so called "as is" softwarelicense. Please check the license which comes with distribution of@command{net-snmp}. The authors of net-snmp are the University ofCalifornia, the University of California at Davis, and the ElectricalEngineering department at the University of California at Davis.You can get net-snmp from @url{http://www.net-snmp.org/}.To enable SMUX protocol support, please configure @command{net-snmp}like below.@example% configure --with-mib-modules=smux@end exampleAfter compile and install @command{net-snmp}, you will need to configuresmuxpeer. I'm now using configuration shown below. This means SMUX clientconnects to MIB 1.3.6.1.6.3.1 with password test. @example/usr/local/share/snmp/snmpd.conf================================smuxpeer 1.3.6.1.6.3.1 test@end example@node SMUX configuration, , How to get net-snmp, SNMP Support@comment node-name, next, previous, up@section SMUX configurationTo enable SNMP support of Zebra, you have to configure Zebra with@command{--enable-snmp} (@pxref{Configure the Software}).@deffn {Command} {smux peer @var{oid}} {}@deffnx {Command} {no smux peer @var{oid}} {}@end deffn@deffn {Command} {smux peer @var{oid} @var{password}} {}@deffnx {Command} {no smux peer @var{oid} @var{password}} {}@end deffn@example!smux peer .1.3.6.1.6.3.1 test!@end example
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -