LWIP官方资料snmpagent.doc

  1. 1、本文档共9页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SNMPv?1 age?nt fo?r lwI?P Au?thor:? Chri?stiaa?n Sim?ons ?This ?is a ?brief? intr?oduct?ion h?ow to? use ?and c?onfig?ure t?he SN?MP ag?ent. ?Note ?the a?gent ?uses ?the r?aw-AP?I UDP? inte?rface? so y?ou ma?y als?o wan?t to ?read ?rawap?i.txt? to g?ain a? bett?er un?derst?andin?g of ?the S?NMP m?essag?e han?dling?. /* ?本文档将简要介绍如何使用和配置SNMP代理。注意代理中使用了RAW-A?PI的UDP接口, 所以你可能也需要去阅读一下rawapi.?txt中的内容以便更好的理解SNMP消息的处理机制。 */ 0 Ag?ent C?apabi?litie?s ===?=====?=====?=====?== /*? 0 代理的处理能力 ====?=====?=====?== */? SNM?Pv1 p?er RF?C1157? Th?is is? an o?ld(er?) sta?ndard? but ?is st?ill w?idely? supp?orted?. F?or SN?MPv2c? and ?v3 ha?ve a ?great?er co?mplex?ity a?nd ne?ed ma?ny ?more ?lines? of c?ode. ?IMHO ?this ?break?s the? idea? of ?light?weigh?t IP?. ?Note ?the S? in S?NMP s?tands? for ?Simp?le. ?Note ?that ?Simp?le i?s r?elati?ve. S?NMP i?s sim?ple c?ompar?ed to? the ?compl?ex IS?O net?work ? man?ageme?nt pr?otoco?ls CM?IP (C?ommon? Mana?gemen?t Inf?ormat?ion P?rotoc?ol) ? and ?CMOT ?(CMip? Over? Tcp)?. /* ?支持RFC1157定义的SNMPv1 这是一个比较老的标准了,但是它仍然被广泛的支持。因为SNMP ?V2C和V3的实现 更加的复杂,需要增加非常多的源码,以我个人之愚见,这与我们所倡导的轻量化的IP协议 是相背离的,所以我们选择只支持V1。 SNMP中的S代表simple?,但是simple?是相对的,SNMP相对于复杂的ISO网络管理协议CMIP ?(Comm?on Ma?nagem?ent I?nform?ation? Prot?ocol)?和CMOT(TCP之上的CMIP)是简单的。 */ MIB? II p?er RF?C1213? Th?e sta?ndard? lwIP? stac?k man?ageme?nt in?forma?tion ?base.? Th?is is? a re?quire?d MIB?, so ?this ?is al?ways ?enabl?ed. ? When? buil?ing l?wIP w?ithou?t TCP?, the? mib-?2.tcp? grou?p is ?omitt?ed. ? The ?group?s EGP?, CMO?T and? tran?smiss?ion a?re di?sable?d by ?defau?lt. /?* RFC?1213定义的MIB II 标准LWIP协议栈管理信息基础。这是一个必需的MIB,所以它总是被激活了的。 当不使用TCP构建LWIP时,mib-2.t?xt组被省略。EGP,CMOT?组和传输默认是被屏蔽了的。 */ ? Mos?t mib?-2 ob?jects? are ?not w?ritab?le ex?cept:? sy?sName?, sys?Locat?ion, ?sysCo?ntact?, snm?pEnab?leAut?henTr?aps. ? Wri?ting ?to or? chan?ging ?the A?RP an?d IP ?addre?ss an?d rou?te ?table?s is ?not p?ossib?le. /?* 多数mib-2对象都是不可写的,除了:sysN?ame,s?ysLoc?ation?,sysC?ontac?t,snm?pEn

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档