{"id":96,"date":"2022-11-09T15:53:32","date_gmt":"2022-11-09T07:53:32","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/?p=96"},"modified":"2022-11-16T10:36:18","modified_gmt":"2022-11-16T02:36:18","slug":"%e5%8d%8e%e4%b8%ba%e4%ba%a4%e6%8d%a2%e6%9c%ba%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aesnmp%ef%bc%8c%e9%99%90%e9%80%9f%ef%bc%8c%e9%99%90%e5%88%b6%e7%ab%af%e5%8f%a3%e5%b8%a6%e5%ae%bd%ef%bc%8c%e5%85%b3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/96.html","title":{"rendered":"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f"},"content":{"rendered":"\n<p><strong>\u914d\u7f6eSNMP<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>system-view                         \/\/ \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u7684\u547d\u4ee4\nsnmp-agent                         \/\/ \u542f\u52a8SNMP\u670d\u52a1\nsnmp-agent community read  wsisp                    \/\/ \u8bbe\u7f6e\u8bfb\u56e2\u4f53\u540d\uff1awsisp\uff0c\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u4f7f\u7528\u9ed8\u8ba4\u7684public\uff0c\u7ecf\u9a8c\u8bc1\u4f1a\u51fa\u73b0\u5f02\u5e38\u7f51\u7edc\u4e2d\u65ad\u7684\u60c5\u51b5\u3002\nsnmp-agent community write  private                  \/\/ \u8bbe\u7f6e\u5199\u56e2\u4f53\u540d\uff1aprivate\nsnmp-agent sys-info version all                  \/\/ \u914d\u7f6eSNMP\u7248\u672c \uff08v1\u548cv2\uff09 \u53ef\u4ee5\u5c06all \u6539\u6210\uff1f\u67e5\u770b\u652f\u6301\u7684\u7248\u672c\nsnmp-agent sys-info contact ITCA:10086               \/\/ \u8bbe\u7f6e\u8054\u7cfb\u65b9\u5f0f \nsnmp-agent sys-info location 3rd-flood               \/\/ \u8bbe\u7f6e\u8bbe\u5907\u4f4d\u7f6e \nsnmp-agent trap enable\nsnmp-agent target-host trap address udp-domain 192.168.1.10 params securityname public\n\/\/ \u5141\u8bb8\u5411\u7f51\u7ba1\u5de5\u4f5c\u7ad9\uff08NMS\uff09192.168.1.10\u53d1\u9001Trap\u62a5\u6587\uff0c\u4f7f\u7528\u7684\u56e2\u4f53\u540d\u4e3apublic\nundo snmp-agent target-host x.x.x.x securityname public        \/\/\u53d6\u6d88trap\u4e3b\u673a\u7684\u5730\u5740\n\nq                          \/\/ \u9000\u51fa\u7cfb\u7edf\u89c6\u56fe\u7684\u547d\u4ee4\nsave                         \/\/ \u4fdd\u5b58\u914d\u7f6e\n\n<\/code><\/pre>\n\n\n\n<p><strong>\u9650\u5236\u6307\u5b9a\u7aef\u53e3\u5e26\u5bbd\u901f\u5ea6<\/strong><\/p>\n\n\n\n<p>\u4f7f\u7528QOS\u547d\u4ee4\u6765\u914d\u7f6e(\u7f51\u7edc\u5e26\u5bbd\u768410M\u3001100M\u548c1000M\u7684\u5355\u4f4d\u662fbps(\u5373bit\/s,\u4f4d\/\u79d2),\u800c\u6211\u4eec\u901a\u5e38\u6240\u8bf4\u7684100M\u5927\u5c0f\u7684\u6587\u4ef6,\u8fd9\u91cc\u7684\u5355\u4f4d\u662fByte,\u800c1Byte=8bit,\u663e\u7136100M bit=(100\/8)M Byte=12.5M Byte)<br>qos lr\u547d\u4ee4\u7528\u6765\u5728\u63a5\u53e3\u51fa\u65b9\u5411\u4e0a\u5b9e\u65bd\u9650\u901f\u3002<br>undo qos lr\u547d\u4ee4\u7528\u6765\u7981\u6b62\u63a5\u53e3\u51fa\u65b9\u5411\u4e0a\u7684\u9650\u901f\u3002<br>\u547d\u4ee4\u683c\u5f0fqos lr cir cir cbs cbs<br>undo qos lr<br>cir cir \u8868\u793a\u627f\u8bfa\u4fe1\u606f\u901f\u7387\u3002\u6574\u6570\u5f62\u5f0f,\u53d6\u503c\u8303\u56f4\u662f64~\u63a5\u53e3\u81ea\u8eab\u5e26\u5bbd(\u4f8b\u5982Ethernet\u63a5\u53e3\u5e26\u5bbd\u4e3a100000, GE\u63a5\u53e3\u5e26\u5bbd\u4e3a1000000),\u5355\u4f4d\u662fkbit\/s\u3002<br>cbs cbs \u8868\u793a\u627f\u8bfa\u7a81\u53d1\u5c3a\u5bf8\u3002\u6574\u6570\u5f62\u5f0f,\u53d6\u503c\u8303\u56f4\u662f8192~1040384,\u5355\u4f4d\u662fbyte\u30028192Kbps=1M=1024Kbit.<br>\u4f7f\u7528\u5b9e\u4f8b1:<br>\u9650\u52361\u53f7\u7aef\u53e3\u7684\u5e26\u5bbd\u4e3a20M<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>system-view                         \/\/ \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u7684\u547d\u4ee4\nInterface gigabitethernet 0\/0\/1                         \/\/ \u8fdb\u5165\u8981\u9650\u901f\u7684\u7aef\u53e3 \uff0c\u6ce8\u610f\uff1a\u8fd9\u91ccgigabitethernet  \u662f\u5343\u5146\u7aef\u53e3\uff0c \u5982\u679c\u662f\u767e\u5146\u7aef\u53e3 \u6539\u6210 ethernet \nqos lr inbound cir 20480 cbs 1040384                         \/\/ \u9650\u5236\u4e0a\u884c\u5e26\u5bbd20M\nqos lr outbound cir 20480 cbs 1040384                         \/\/ \u9650\u5236\u4e0a\u884c\u5e26\u5bbd20M\ndisplay cur                         \/\/ \u67e5\u770b\u5f53\u524d\u4ea4\u6362\u673a\u914d\u7f6e\u548c\u72b6\u6001\nq                          \/\/ \u9000\u51fa\u7cfb\u7edf\u89c6\u56fe\u7684\u547d\u4ee4\nsave                         \/\/ \u4fdd\u5b58\u914d\u7f6e\n<\/code><\/pre>\n\n\n\n<p>\u5173\u95ed\u6216\u8005\u6253\u5f00\u6307\u5b9a\u7aef\u53e3<\/p>\n\n\n\n<p>\u4e3e\u4f8b\uff1a\u5047\u5982\u6211\u73b0\u5728\u8981\u5173\u95ed7\u53f7\u7aef\u53e3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>system-view                         \/\/ \u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe\u7684\u547d\u4ee4\nInterface gigabitethernet 0\/0\/7                         \/\/ \u8fdb\u5165\u8981\u9650\u901f\u7684\u7aef\u53e3 \uff0c\u6ce8\u610f\uff1a\u8fd9\u91ccgigabitethernet  \u662f\u5343\u5146\u7aef\u53e3\uff0c \u5982\u679c\u662f\u767e\u5146\u7aef\u53e3 \u6539\u6210 ethernet \nshutdown                         \/\/ \u5173\u95ed\u5f53\u524d\u7aef\u53e3\nundo shutdown                          \/\/ \u5f00\u542f\u5f53\u524d\u7aef\u53e3\n\n\n<\/code><\/pre>\n\n\n\n<p>\u9644\u5176\u4ed6\u914d\u7f6eSNMP\u8be6\u7ec6\u547d\u4ee4\uff0c\u8bf7\u4ed4\u7ec6\u9605\u8bfb\uff1a<\/p>\n\n\n\n<p><strong>\u8be6\u7ec6\u547d\u4ee4\u5982\u4e0b\uff08\u4ee5\u4e0b\u4ec5\u4f9b\u53c2\u8003\uff09<\/strong><\/p>\n\n\n\n<p><strong>1.\u542f\u52a8\/\u5173\u95edSNMP Agent\u670d\u52a1<\/strong><\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u542f\u7528\uff1asnmp-agent<\/p>\n\n\n\n<p>\u5173\u95ed\uff1aundo snmp-agent<\/p>\n\n\n\n<p>\u6ce8\uff1a\u7f3a\u7701\u60c5\u51b5\u4e0bsnmp agent\u662f\u5173\u95ed\u7684<\/p>\n\n\n\n<p><strong>2. \u4f7f\u80fd\u6216\u7981\u6b62SNMP\u76f8\u5e94\u7248\u672c<\/strong><\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u4e0b\uff1a<\/p>\n\n\n\n<p>\u4f7f\u80fdSNMP\u534f\u8bae\u76f8\u5e94\u7248\u672c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>snmp-agent sys-info version v1<\/li>\n\n\n\n<li>Snmp-agent sys-info version v2c<\/li>\n\n\n\n<li>Snmp-agent sys-info version v3<\/li>\n\n\n\n<li>Snmp-agent sys-info version all<\/li>\n<\/ul>\n\n\n\n<p>\u7981\u6b62SNMP\u534f\u8bae\u76f8\u5e94\u7248\u672c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>undo snmp-agent sys-info version v1<\/li>\n\n\n\n<li>Undo snmp-agent sys-info version v2c<\/li>\n\n\n\n<li>Undo sump-agent sys-info version v3<\/li>\n\n\n\n<li>Undo sump-agent sys-info version all\\<\/li>\n<\/ul>\n\n\n\n<p>\u6ce8\uff1a\u7f3a\u7701\u60c5\u51b5\u4e0b\u4e3a snmp v3<\/p>\n\n\n\n<p><strong>3. \u914d\u7f6e\u56e2\u4f53\u540d \uff08community name\uff09<\/strong><\/p>\n\n\n\n<p>Snmpv1 snmpv2 \u91c7\u7528\u56e2\u4f53\u540d\u8ba4\u8bc1\uff0c\u8bbe\u5907\u8ba4\u53ef\u7684\u56e2\u4f53\u540d\u4e0d\u7b26\u7684snmp\u62a5\u6587\u5c06\u88ab\u4e22\u5f03\u3002Snmp\u56e2\u4f53\u7531\u4e00\u5b57\u7b26\u4e32\u6765\u547d\u540d\uff0c\u6210\u4e3a\u56e2\u4f53\u540d\u3002\u4e0d\u540c\u7684\u56e2\u4f53\u53ef\u5177\u6709\u53ea\u8bfb\u6216\u8bfb\u5199\u8bbf\u95ee\u6a21\u5f0f\u3002\u5177\u6709\u53ea\u8bfb\u6743\u9650\u7684\u56e2\u4f53\u53ea\u80fd\u5bf9\u8bbe\u5907\u4fe1\u606f\u8fdb\u884c\u67e5\u8be2\uff0c\u800c\u5177\u6709\u8bfb\u5199\u6743\u9650\u7684\u56e2\u4f53\u8fd8\u53ef\u4ee5\u5bf9\u8bbe\u5907\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6e\u56e2\u4f53\u540d\u53ca\u8bbf\u95ee\u6743\u9650\uff1asnmp-agent community {raid\/write} community-name [[mib-view view-name] \/[acl acl-number]]<\/p>\n\n\n\n<p>\u53d6\u6d88\u914d\u7f6e\u7684\u56e2\u4f53\u540d\uff1aundo sump-agent community community-name<\/p>\n\n\n\n<p><strong>4. \u914d\u7f6e\u6216\u5220\u9664\u4e00\u4e2aSNMP\u7ec4<\/strong><\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6e\u4e00\u4e2aSNMP\u7ec4\uff1a<\/p>\n\n\n\n<p>snmp-agent group {v1\/v2c} group-name [read-view read-view] [write-view write-view ][notify-view notify-view][acl acl-number]<\/p>\n\n\n\n<p>snmp-agent group v3 group-name [authentication\/privacy] [read-view read-view] [write-view write-view ][notify-view notify-view][acl acl-number]<\/p>\n\n\n\n<p>\u5220\u9664\u4e00\u4e2aSNMP\u7ec4\uff1a<\/p>\n\n\n\n<p>undo snmp-agent group {v1\/v2} group-name<\/p>\n\n\n\n<p>Undo snmp-agent group v3 group-name [authentication\/privacy]<\/p>\n\n\n\n<p><strong>5. \u6dfb\u52a0\/\u5220\u9664\u7528\u6237<\/strong><\/p>\n\n\n\n<p>\u4e3aSNMP\u7ec4\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7528\u6237\uff1a<\/p>\n\n\n\n<p>snmp-agent usm-user {v1\/v2c} user-name group-name [acl acl-number]<\/p>\n\n\n\n<p>Snmp-agent usm-user v3 user-name group-name [[ authentication-mode {md5\/sha} auth-password] [privacy-mode des56 priv-password]] [acl acl-number]<\/p>\n\n\n\n<p>\u5220\u9664SNMP\u7684\u4e00\u4e2a\u7528\u6237\uff1a<\/p>\n\n\n\n<p>Undo snmp-agent usm-user {v1\/v2c} user-name group-name<\/p>\n\n\n\n<p>Undo snmp-agent usm-user v3 user-name group-name [engineid engine-id\/local]<\/p>\n\n\n\n<p><strong>6. \u914d\u7f6e\u7ba1\u7406\u5458\u7684\u6807\u8bc6\u53ca\u8054\u7cfb\u65b9\u6cd5\uff08syscontact\uff09<\/strong><\/p>\n\n\n\n<p>Syscontact\u662f\u662fmib ii\u4e2dsystem\u7ec4\u7684\u4e00\u4e2a\u7ba1\u7406\u53d8\u91cf\uff0c\u5185\u5bb9\u4e3a\u88ab\u7ba1\u7406\u8bbe\u5907\u7684\u6807\u8bc6\u53ca\u8054\u7cfb\u65b9\u6cd5\uff0c\u53ef\u4ee5\u914d\u7f6e\u6b64\u53c2\u6570\uff0c\u5c06\u91cd\u8981\u4fe1\u606f\u5b58\u50a8\u5728\u9632\u706b\u5899\u4e2d\uff0c\u4ee5\u4fbf\u51fa\u73b0\u95ee\u9898\u65f6\u67e5\u8be2\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\u914d\u7f6e\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6e\u7ba1\u7406\u5458\u7684\u6807\u8bc6\u53ca\u8054\u7cfb\u65b9\u6cd5\uff1asnmp-agent sys-info contact syscontact<\/p>\n\n\n\n<p>\u6062\u590d\u7ba1\u7406\u5458\u7684\u6807\u8bc6\u53ca\u8054\u7cfb\u65b9\u6cd5\u4e3a\u7f3a\u7701\u503c\uff1aundo snmp-agent sys-info contact<\/p>\n\n\n\n<p><strong>7. \u5141\u8bb8\/\u7981\u6b62\u53d1\u9001trap\u62a5\u6587<\/strong><\/p>\n\n\n\n<p>Trap\u662f\u88ab\u7ba1\u7406\u8bbe\u5907\u4e3b\u52a8\u5411nms\u53d1\u9001\u7684\u4e0d\u7ecf\u8bf7\u6c42\u7684\u4fe1\u606f\uff0c\u7528\u4e8e\u62a5\u544a\u4e00\u4e9b\u7d27\u6025\u7684\u91cd\u8981\u4e8b\u4ef6\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u5141\u8bb8\u53d1\u9001trap\u62a5\u6587\uff1asnmp-agent trap enable [trap-type[trap-list]]<\/p>\n\n\n\n<p>\u7981\u6b62\u53d1\u9001trap\u62a5\u6587\uff1aundo snmp-agent trap enable [trap-type [trap-list]]<\/p>\n\n\n\n<p>\u6ce8\uff1a\u7f3a\u7701\u60c5\u51b5\u4e0b\u7981\u6b62\u53d1\u9001trap\u62a5\u6587\u3002Snmp-agent trap enable\u547d\u4ee4\u4e0d\u5e26\u53c2\u6570\u8868\u793a\u5141\u8bb8\u53d1\u9001\u6240\u6709\u6a21\u5757\u7684\u6240\u6709\u7c7b\u578b\u7684trap\u62a5\u6587\u3002<\/p>\n\n\n\n<p><strong>8. \u914d\u7f6e\u672c\u5730\u8bbe\u5907\u7684\u5f15\u64ceid<\/strong><\/p>\n\n\n\n<p>\u8be5\u914d\u7f6e\u4efb\u52a1\u53ef\u4ee5\u914d\u7f6e\u672c\u5730\u8bbe\u5907\u7684\u5f15\u64ceid\uff0c\u5f15\u64ceid\u662f16\u4f4d\u8fdb\u5236\u6570\u5b57\u4e32\uff0c\u5e76\u4e14\u957f\u5ea6\u5927\u4e8e\u7b49\u4e8e10\u5c0f\u4e8e\u7b49\u4e8e64\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6e\u8bbe\u5907\u7684\u5f15\u64ceID\uff1asnmp-agent local-engineid engineid<\/p>\n\n\n\n<p>\u914d\u7f6e\u8bbe\u5907\u7684\u5f15\u64ceID\u4e3a\u7f3a\u7701\u503c\uff1aundo snmp-agent local-engineid<\/p>\n\n\n\n<p>\u6ce8\uff1a\u7f3a\u7701\u4e3a\u516c\u53f8\u7684\u4f01\u4e1a\u53f7+\u8bbe\u5907\u4fe1\u606f\uff0c\u8bbe\u5907\u4fe1\u606f\u53ef\u4ee5\u4f7fip\u5730\u5740\u3001mac\u5730\u5740\u6216\u81ea\u5df1\u5b9a\u4e49\u768416\u8fdb\u5236\u6570\u5b57\u4e32\u3002<\/p>\n\n\n\n<p>\u5728\u6267\u884cundo snmp-agent local-engineid \u547d\u4ee4\u540e\uff0c\u5fc5\u987b\u5220\u9664\u5e76\u91cd\u65b0\u521b\u5efausm-user\uff0c\u5426\u5219\u8be5usm-user\u7684engine id\u53d8\u4e3a\u7f3a\u7701\u503c\u3002<\/p>\n\n\n\n<p><strong>9. \u914d\u7f6etrap\u76ee\u6807\u4e3b\u673a\u7684\u5730\u5740<\/strong><\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6etrap\u4e3b\u673a\u7684\u5730\u5740\uff1asnmp-agent target-host trap address udp-domain x.x.x.x [udp-port port-number] params securityname security-string [v1\/v2c\/v3{authentication\/privacy}]<\/p>\n\n\n\n<p>\u53d6\u6d88trap\u4e3b\u673a\u7684\u5730\u5740\uff1aundo snmp-agent target-host x.x.x.x securityname security-string<\/p>\n\n\n\n<p><strong>10. \u914d\u7f6e\u9632\u706b\u5899\u4f4d\u7f6e\uff08syslocation\uff09<\/strong><\/p>\n\n\n\n<p>syslocation\u662fmib\u4e2dsystem\u7ec4\u7684\u4e00\u4e2a\u7ba1\u7406\u53d8\u91cf\uff0c\u7528\u4e8e\u8868\u793a\u88ab\u7ba1\u7406\u8bbe\u5907\u7684\u4f4d\u7f6e\u3002<\/p>\n\n\n\n<p>\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6e\u9632\u706b\u5899\u4f4d\u7f6e\uff1asnmp-agent sys-info location syslocation<\/p>\n\n\n\n<p>\u6062\u590d\u9632\u706b\u5899\u4f4d\u7f6e\u4e3a\u7f3a\u7701\u503c\uff1aundo snmp-agent sys-info location<\/p>\n\n\n\n<p><strong>11. \u6307\u5b9a\u53d1\u9001trap\u7684\u6e90\u5730\u5740<\/strong><\/p>\n\n\n\n<p>\u8be5\u914d\u7f6e\u53ef\u4ee5\u8bbe\u5b9a\u548c\u5220\u9664\u53d1\u9001trap\u7684\u6e90\u5730\u5740\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b:<\/p>\n\n\n\n<p>\u6307\u5b9a\u53d1\u9001trap\u7684\u6e90\u5730\u5740\uff1asnmp-agent trap source {interface-type interface-number} [subinterface-type]<\/p>\n\n\n\n<p>\u53d6\u6d88\u53d1\u9001trap\u7684\u6e90\u5730\u5740\uff1aundo snmp-agent trap source<\/p>\n\n\n\n<p><strong>12\uff0e \u89c6\u56fe\u914d\u7f6e\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>\u8be5\u914d\u7f6e\u53ef\u4ee5\u521b\u5efa\u3001\u66f4\u65b0\u6216\u8005\u5220\u9664\u89c6\u56fe\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u521b\u5efa\u6216\u66f4\u65b0\u89c6\u56fe\u7684\u4fe1\u606f\uff1asnmp-agent mib-view {included\/excluded} view-name oid-tree<\/p>\n\n\n\n<p>\u5220\u9664\u89c6\u56fe\uff1aundo snmp-agent mib-view view-name<\/p>\n\n\n\n<p><strong>13. \u914d\u7f6e\u6d88\u606f\u5305\u7684\u6700\u5927\u503c<\/strong><\/p>\n\n\n\n<p>\u8be5\u914d\u7f6e\u53ef\u4ee5\u914d\u7f6eagent\u80fd\u63a5\u6536\/\u53d1\u9001\u7684snmp\u6d88\u606f\u5305\u7684\u6700\u5927\u503c\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6eagent\u63a5\u6536\/\u53d1\u9001\u7684snmp\u6d88\u606f\u5305\u7684\u6700\u5927\u503c\uff1asnmp-agent packer max-size byte-count<\/p>\n\n\n\n<p>\u6062\u590dagent\u6d88\u606f\u5305\u7684\u6700\u5927\u503c\u7684\u7f3a\u7701\u503c\uff1aundo snmp-agent packer max-size<\/p>\n\n\n\n<p>\u6ce8\uff1aagent\u80fd\u63a5\u6536\/\u53d1\u9001\u7684snmp\u6d88\u606f\u5305\u6700\u5927\u503c\u7684\u53d6\u503c\u8303\u56f4\u4e3a\u3010484-17940\u3011\uff0c\u5355\u4f4d\u4e3a\u5b57\u8282\uff0c\u7f3a\u7701\u503c\u4e3a1500\u5b57\u8282\u3002<\/p>\n\n\n\n<p><strong>14. \u914d\u7f6etrap\u62a5\u6587\u7684\u6d88\u606f\u961f\u5217\u7684\u957f\u5ea6<\/strong><\/p>\n\n\n\n<p>\u8be5\u914d\u7f6e\u4efb\u52a1\u53ef\u4ee5\u914d\u7f6e\u53d1\u5f80\u76ee\u7684\u4e3b\u673a\uff08host\uff09\u7684trap\u62a5\u6587\u7684\u6d88\u606f\u961f\u5217\u7684\u957f\u5ea6\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6e\u53d1\u5f80\u76ee\u7684\u4e3b\u673a\u7684trap\u62a5\u6587\u7684\u6d88\u606f\u961f\u5217\u7684\u957f\u5ea6\uff1asnmp-agent trap queue-size size<\/p>\n\n\n\n<p>\u6062\u590d\u6d88\u606f\u961f\u5217\u957f\u5ea6\u7684\u7f3a\u7701\u503c\uff1aundo snmp-agent trap queue-size<\/p>\n\n\n\n<p><strong>15 \u914d\u7f6etrap\u62a5\u6587\u7684\u4fdd\u5b58\u65f6\u95f4<\/strong><\/p>\n\n\n\n<p>\u8be5\u914d\u7f6e\u4efb\u52a1\u7528\u6765\u914d\u7f6etrap\u62a5\u6587\u7684\u4fdd\u5b58\u65f6\u95f4\uff0c\u8d85\u8fc7\u8be5\u65f6\u95f4\u7684trap\u62a5\u6587\u90fd\u5c06\u88ab\u4e22\u5f03\u3002<\/p>\n\n\n\n<p>\u5728\u7cfb\u7edf\u89c6\u56fe\u6a21\u5f0f\u4e0b\uff1a<\/p>\n\n\n\n<p>\u914d\u7f6etrap\u62a5\u6587\u7684\u4fdd\u5b58\u65f6\u95f4\uff1asnmp-agent trap life seconds<\/p>\n\n\n\n<p>\u6062\u590dtrap\u62a5\u6587\u4fdd\u5b58\u65f6\u95f4\u7684\u7f3a\u7701\u503c\uff1aundo sump-agent trap life<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u5b8c\u6bd5\u4ea4\u6362\u673a\u7684snmp\u529f\u80fd\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5229\u7528snmp\u5b9e\u73b0\u5404\u79cd\u7f51\u7edc\u63a7\u5236\u529f\u80fd\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[18,20,22,23,19],"topic":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-server","tag-18","tag-20","tag-snmp","tag-23","tag-19"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/96.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/96.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-09T07:53:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-16T02:36:18+00:00\" \/>\n<meta name=\"author\" content=\"\u7f51\u7855\u5c0fA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7f51\u7855\u5c0fA\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/96.html\",\"name\":\"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2022-11-09T07:53:32+00:00\",\"dateModified\":\"2022-11-16T02:36:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/5c8055c670c9d136620185663d0813ab\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/96.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/96.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/5c8055c670c9d136620185663d0813ab\",\"name\":\"\u7f51\u7855\u5c0fA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/0812f751cb127092dc3a9e310765b8b68fc3fd388d0ccef020588dbb4c61de91?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/0812f751cb127092dc3a9e310765b8b68fc3fd388d0ccef020588dbb4c61de91?s=96&d=mystery\",\"caption\":\"\u7f51\u7855\u5c0fA\"},\"sameAs\":[\"https:\/\/www.wsisp.com\/helps\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/wsisphelp\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/96.html","og_locale":"zh_CN","og_type":"article","og_title":"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f","og_url":"https:\/\/www.wsisp.com\/helps\/96.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2022-11-09T07:53:32+00:00","article_modified_time":"2022-11-16T02:36:18+00:00","author":"\u7f51\u7855\u5c0fA","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u7f51\u7855\u5c0fA","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/96.html","url":"https:\/\/www.wsisp.com\/helps\/96.html","name":"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2022-11-09T07:53:32+00:00","dateModified":"2022-11-16T02:36:18+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/5c8055c670c9d136620185663d0813ab"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/96.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/96.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/96.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u534e\u4e3a\u4ea4\u6362\u673a\u5982\u4f55\u914d\u7f6eSNMP\uff0c\u9650\u901f\uff0c\u9650\u5236\u7aef\u53e3\u5e26\u5bbd\uff0c\u5173\u95ed\u542f\u7528\u7aef\u53e3\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/5c8055c670c9d136620185663d0813ab","name":"\u7f51\u7855\u5c0fA","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/0812f751cb127092dc3a9e310765b8b68fc3fd388d0ccef020588dbb4c61de91?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/0812f751cb127092dc3a9e310765b8b68fc3fd388d0ccef020588dbb4c61de91?s=96&d=mystery","caption":"\u7f51\u7855\u5c0fA"},"sameAs":["https:\/\/www.wsisp.com\/helps"],"url":"https:\/\/www.wsisp.com\/helps\/author\/wsisphelp"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":10,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96\/revisions\/107"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=96"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}