版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、2011-08-2011-08-。您。您:客戶服務(wù)郵箱:ill斜命令行參數(shù)(命令中必須由實(shí)際值進(jìn)行替代的部分)斜體表示 表示用“ x |y |. x |y |. x |斜命令行參數(shù)(命令中必須由實(shí)際值進(jìn)行替代的部分)斜體表示 表示用“ x |y |. x |y |. x |y |. x |y |. &displaysnmp-agentcommunityread Community name:Storagetype:nonVolatile View name: ViewDefault口1SNMPAcl: Total number is displaysnmp-agentsys-infoSNMP
2、display snmp-agent sys-info SNMP verhe displayaclacl-numberdisplayacl2000 Basic ACL 2000, 1 ruleAcls s rule 5 permit source displaysnmp-agentmib-viewMIBdisplaysnmp-agentmib-view View name:ViewDefaultMIB Subtree:Subtree mask:Storagetype:nonVolatile View Type:includedView View name:ViewDefault MIBSubt
3、ree:snmpUsmMIB Subtree mask:1SNMPAcl: Total number is displaysnmp-agentsys-infoSNMP display snmp-agent sys-info SNMP verhe displayaclacl-numberdisplayacl2000 Basic ACL 2000, 1 ruleAcls s rule 5 permit source displaysnmp-agentmib-viewMIBdisplaysnmp-agentmib-view View name:ViewDefaultMIB Subtree:Subtr
4、ee mask:Storagetype:nonVolatile View Type:includedView View name:ViewDefault MIBSubtree:snmpUsmMIB Subtree mask:Storagetype:nonVolatile View Type:excludedView View name:ViewDefault MIBSubtree:snmpVacmMIB Subtree mask:Storagetype:nonVolatile View Type:excludedView View MIBSubtree:snmpModules.18 Subtr
5、ee mask:Storagetype:nonVolatile View Type:excludedView Total number is displaysnmp-agentsys-infocontact display snmp-agent sys-info The for this managed R&D Technologies .displaysnmp-agentsys-infolocationdisplaysnmp-agentsys-infolocation The physical location of this node:Beijing displaycurrent-conf
6、iguration |includetraptrap display current-configuration configuration | include snmp-agent displaysnmp-agentextenderror-codeusSNMP display snmp-agent extend error-code Extend error-code 1SNMP1.3 SNMPv2cSNMPv2c和設(shè)備之間將使用SNMPv2c進(jìn)行通信。為了保側(cè)和Agent側(cè),本節(jié)只介紹Agent側(cè)的配置SetRequest 操作,獲取需要的數(shù)據(jù)并進(jìn)行相應(yīng)設(shè)置。ll1.3.1 使用1SNMP
7、1.3 SNMPv2cSNMPv2c和設(shè)備之間將使用SNMPv2c進(jìn)行通信。為了保側(cè)和Agent側(cè),本節(jié)只介紹Agent側(cè)的配置SetRequest 操作,獲取需要的數(shù)據(jù)并進(jìn)行相應(yīng)設(shè)置。ll1.3.1 使用SNMPv2c管理設(shè)備功能前了解它的應(yīng)用環(huán)境、配置此特性的前置任務(wù)安全(網(wǎng)絡(luò)),SNMPv2c保和設(shè)備間的通信在完成配使用SNMPv2c管理設(shè)備功能之前,需完成以下任務(wù)lSNMPv2c12(可選控制列表號(hào)站的IP地址、MIB 的節(jié)3(可選)發(fā)送告警的模塊名稱、Trap報(bào)文的源地址、TrapTrap4(可選)1SNMP1.3.2 SNMPv2c GETSET1 system-view2(可選)
8、snmp-agentSNMPAgentSNMPAgentsnmp-agent參數(shù)SNMP Agent 服務(wù)啟動(dòng),故該步驟可選。snmp-agentsys-infov2cSNMP 1SNMP1.3.2 SNMPv2c GETSET1 system-view2(可選)snmp-agentSNMPAgentSNMPAgentsnmp-agent參數(shù)SNMP Agent 服務(wù)啟動(dòng),故該步驟可選。snmp-agentsys-infov2cSNMP snmp-agentcommunityread|writecommunity-name,配置設(shè)備的讀寫(xiě)團(tuán)體MIBViewdefault視圖()l在指定視圖下具
9、有只讀權(quán)限時(shí)(比如級(jí)別比較低的管理員),readl -host trap-paramsname paramsname v2csecurityname binding-private-valuetrap-Traprofilenameudp-portidpublic-net-hosttrap-hostnamehostname addressipv4-addr udpinstance-name trap-paramsname,lUDP162,如果有特殊需求(配置l時(shí),選擇參-instance-name7(可選)snmp-agentsys-infocontactcontact|locationloca
10、tion,配置設(shè)備管當(dāng)1SNMPl需要使用該團(tuán)體名中的指(比如指定IP 地址)節(jié)點(diǎn),請(qǐng)參考權(quán)限ll的設(shè)備,可以選擇SNMPl1.3.3 (可選)MIB和SNMPlViewdefault視圖()l5 可以省略。1SNMPl需要使用該團(tuán)體名中的指(比如指定IP 地址)節(jié)點(diǎn),請(qǐng)參考權(quán)限ll的設(shè)備,可以選擇SNMPl1.3.3 (可選)MIB和SNMPlViewdefault視圖()l5 可以省略。Viewdefault視圖()l2、3、4 laclacl-numberrulerule-iddeny|permitsourcesource-ip-addresssource-wildcardanyACL
11、snmp-agentmib-viewview-nameinclude|excludesubtree-namemaskMIBMIB1SNMPlMIBMIBexcludeMIBl需管理設(shè)備上的一少部分MIB節(jié)點(diǎn),絕大部分節(jié)點(diǎn)不允MIB視圖中添加MIBsnmp-agentcommunityread|writecommunity-namemib-viewview-nameacl acl-number *l在指定視圖下具有只讀權(quán)限時(shí)(比如級(jí)別比較低的管理員),read參l1SNMPlMIBMIBexcludeMIBl需管理設(shè)備上的一少部分MIB節(jié)點(diǎn),絕大部分節(jié)點(diǎn)不允MIB視圖中添加MIBsnmp-age
12、ntcommunityread|writecommunity-namemib-viewview-nameacl acl-number *l在指定視圖下具有只讀權(quán)限時(shí)(比如級(jí)別比較低的管理員),read參lmib-view view-namelaclacl-numberlIPIP。1.3.4 (可選)SNMP和被管理設(shè)備設(shè)備時(shí),通過(guò)配置SNMP擴(kuò)展錯(cuò)誤碼,可以擴(kuò)展標(biāo)準(zhǔn)錯(cuò)當(dāng)1 system-view2 snmp-agentextenderror-codeenableSNMP1.3.5 (可選)1 system-view2 snmp-agentnableTrap1SNMP-host trap-rof
13、ilename rofilename includeexcludefiltersubtreesubtree-namemaskmasksnmp-agenttraperface-erface-number,指定發(fā)送TrapackTrap否則會(huì)引站無(wú)法接收Trap報(bào)文的情況1SNMP-host trap-rofilename rofilename includeexcludefiltersubtreesubtree-namemaskmasksnmp-agenttraperface-erface-number,指定發(fā)送TrapackTrap否則會(huì)引站無(wú)法接收Trap報(bào)文的情況 Trap信息比較頻繁時(shí),
14、可以適當(dāng)?shù)陌殃?duì)列長(zhǎng)度加長(zhǎng),減少告警丟失snmp-agenttraplifesecondsTrapTrapTrapTrap信息比較頻繁時(shí),可以使用此命令配置增加報(bào)文的保存時(shí)間,減少1.3.6 (可選)1 system-view2 ifindex constantsave 命令,保存接口的配置信息,否則接口的索引值在系1.3.7 SNMPv2cSNMPv2cSNMPv2cldisplaysnmp-agentcommunityread|write口1SNMPldisplaysnmp-agentsys-infoSNMPdisplayaclacl-numberdisplaysnmp-agentmib-v
15、iewMIB視圖信息。display snmp-agent sys-info contact 命令查看管理員的displaysnmp-agentsys-infolocation。displaycurrent-configuration|includetrap,Trapdisplaysnmp-host displaysnmp-agent1SNMPldisplaysnmp-agentsys-infoSNMPdisplayaclacl-numberdisplaysnmp-agentmib-viewMIB視圖信息。display snmp-agent sys-info contact 命令查看管理員的
16、displaysnmp-agentsys-infolocation。displaycurrent-configuration|includetrap,Trapdisplaysnmp-host displaysnmp-agentextenderror-codeusSNMPdisplaysnmp-agentcommunitydisplaysnmp-agentcommunityread Community name:Storagetype:nonVolatile View name: ViewDefault Acl: 2001Total number is displaysnmp-agentsys-
17、info命令,查看當(dāng)中運(yùn)行的SNMP版本號(hào) display snmp-agent sys-info SNMP verhe displayaclacl-numberdisplayacl2000 Basic ACL 2000, 1 ruleAcls s rule 5 permit source displaysnmp-agentmib-viewMIBdisplaysnmp-agentmib-view View name:ViewDefaultMIB Subtree:Subtree mask:Storagetype:nonVolatile View Type:includedView View na
18、me:ViewDefault MIBSubtree:snmpUsmMIB Subtree mask:Storagetype:nonVolatile View Type:excludedView View name:ViewDefault MIBSubtree:snmpVacmMIB Subtree mask:Storagetype:nonVolatile View Type:excludedView View MIBSubtree:snmpModules.18 Subtree mask:Storagetype:nonVolatile View Type:excludedView Total n
19、umber is 1SNMPdisplaysnmp-agentsys-infocontact display snmp-agent sys-info The for this managed R&D Technologies .displaysnmp-agentsys-infolocationdisplaysnmp-agentsys-infolocation The physical location of this node:Beijing displaycurrent-configuration |includetraptrap display current-configuration
20、configuration | include snmp-agent displaysnmp-agentextenderror-codeusSNMP display snmp-agent extend error-code Extend error-code displaysnmp-1SNMPdisplaysnmp-agentsys-infocontact display snmp-agent sys-info The for this managed R&D Technologies .displaysnmp-agentsys-infolocationdisplaysnmp-agentsys
21、-infolocation The physical location of this node:Beijing displaycurrent-configuration |includetraptrap display current-configuration configuration | include snmp-agent displaysnmp-agentextenderror-codeusSNMP display snmp-agent extend error-code Extend error-code displaysnmp-displaysnmp-agent Traphos
22、t list:host name: nsm2 Traphost address: Traphost portnumber: 162 host parameter: -host -Total number is Parameter list trap Parameternameofthe Message mode of thehost: tr host:SNMPV2C host: v2cTrap of Securitynameofthe rofile host: Total number is Trap rofile Total number is 1.4 SNMPv3SNMPv3SNMPv3側(cè)
23、側(cè)和Agent側(cè),本節(jié)只介紹Agent側(cè)的配置SetRequest 操作,獲取需要的數(shù)據(jù)并進(jìn)行相應(yīng)設(shè)置。ll1.4.1 1SNMP 在完成配使用SNMPv3管理設(shè)備功能之前,需完成以下任務(wù)lSNMPv31.4.2 SNMPv3 GETSET1SNMP 在完成配使用SNMPv3管理設(shè)備功能之前,需完成以下任務(wù)lSNMPv31.4.2 SNMPv3 GETSET1 system-view2(可選)snmp-agentSNMPAgentSNMPAgentsnmp-agent參數(shù)SNMP Agent 服務(wù)啟動(dòng),故該步驟可選。3(可選)snmp-agentsys-infov3SNMP12(可選控制列表號(hào)
24、站的IP地址、MIB 的節(jié)3(可選)發(fā)送告警的模塊名稱、Trap報(bào)文的源地址、TrapTrap4(可選)1SNMP snmp-agentgroupv3group-nameauthentication|noauth|privacy,配置 SNMP 用戶組。當(dāng)authenticationprivacylauthentication l l。snmp-agentusm-userv3user-namegroup-nameauthentication-mode1SNMP snmp-agentgroupv3group-nameauthentication|noauth|privacy,配置 SNMP 用戶
25、組。當(dāng)authenticationprivacylauthentication l l。snmp-agentusm-userv3user-namegroup-nameauthentication-modemd5shapasswordprivacy-modeaes128|des56passwordSNMPv3Viewdefault視圖()l認(rèn)證方MD5(MessageDigest5):MD5128bit的消息SHA-1(SecureHashAlgorithm):SHA-1264次方比特的160bit 的消息摘要。MD5SHA-1SHA-1MD5lAES128bit 128bit DES56bit
26、 64bit -host trap-paramsname paramsname v3 securityname binding-private-valuetrap-Traprofilenameudp-portidpublic-net-hosttrap-hostnamehostname addressipv4-addr udpinstance-name trap-paramsname,lUDP162,如果有特殊需求(配置l-instance-name1SNMP8(可選)snmp-agentsys-infocontactcontact|locationlocation,配置設(shè)備管當(dāng)l(IP )節(jié)點(diǎn)
27、,請(qǐng)參考權(quán)限ll的設(shè)備,可以選擇SNMPl1.4.3 (可選)SNMPv3MIB1SNMP8(可選)snmp-agentsys-infocontactcontact|locationlocation,配置設(shè)備管當(dāng)l(IP )節(jié)點(diǎn),請(qǐng)參考權(quán)限ll的設(shè)備,可以選擇SNMPl1.4.3 (可選)SNMPv3MIBl擁有Viewdefault視圖(即)的權(quán)限時(shí),下面的步驟可以l5 可以省略。Viewdefault視圖()l2、3、4 laclacl-numberrulerule-iddeny|permitsourcesource-ip-addresssource-wildcardanyACL 1SNM
28、Psnmp-agentmib-viewview-nameinclude|excludesubtree-namemaskMIBMIBviewdefault()l需MIBMIBexcludeMIBl需MIBMIB視圖中添加MIBsnmp-agent group v3 group-name authentication | noauth | privacy 1SNMPsnmp-agentmib-viewview-nameinclude|excludesubtree-namemaskMIBMIBviewdefault()l需MIBMIBexcludeMIBl需MIBMIB視圖中添加MIBsnmp-ag
29、ent group v3 group-name authentication | noauth | privacy read- viewread-view|write-viewwrite-view|notify-viewnotify-view|aclacl-number*,配置用l在指定視圖下具有只讀權(quán)限時(shí)(比如級(jí)別比較低的管理員),view 在指定視圖下具有讀寫(xiě)權(quán)限時(shí)(比如級(jí)別比較高的管理員write-view lMIBnotify-viewMIB。l為了加強(qiáng)安全性,用戶可以選擇配置 authentication 或 privacy 參數(shù),authentication對(duì)用戶只認(rèn)證不加密,pr
30、ivacy對(duì)用戶既認(rèn)證又加密,具體請(qǐng)參考認(rèn)證和加密選取原lviewdefault()read-viewread-view|write-viewwrite-view|notify-viewnotify-viewlaclacl-numberl管理設(shè)備上的某些節(jié)點(diǎn),ACLMIBIP IP 。1.4.4 (可選)SNMP和被管理設(shè)備設(shè)備時(shí),通過(guò)配置SNMP擴(kuò)展錯(cuò)誤碼,可以擴(kuò)展標(biāo)準(zhǔn)錯(cuò)當(dāng)1 system-view2 snmp-agentextenderror-codeenableSNMP擴(kuò)展錯(cuò)誤碼功能。缺省情況下,SNMP 發(fā)送標(biāo)準(zhǔn)錯(cuò)誤碼,只有使能了擴(kuò)展錯(cuò)誤碼功能后,才能向1SNMP1.4.5 (可選)s
31、nmp-agentnableTrap-host trap-rofilename rofilename includeexcludefiltersubtreesubtree-namemaskmasksnmp-agenttraperface-erface-number,指定發(fā)送TrapackTrap1SNMP1.4.5 (可選)snmp-agentnableTrap-host trap-rofilename rofilename includeexcludefiltersubtreesubtree-namemaskmasksnmp-agenttraperface-erface-number,指定發(fā)
32、送TrapackTrap否則會(huì)引站無(wú)法接收Trap報(bào)文的情況 Trap信息比較頻繁時(shí),可以適當(dāng)?shù)陌殃?duì)列長(zhǎng)度加長(zhǎng),減少告警丟失snmp-agenttraplifesecondsTrapTrapTrapTrap信息比較頻繁時(shí),可以使用此命令配置增加報(bào)文的保存時(shí)間,減少1.4.6 (可選)1 system-view2 ifindex constantsave 命令,保存接口的配置信息,否則接口的索引值在系口1SNMP1.4.7 SNMPv3SNMPv3SNMPv3ldisplaysnmp-agentusm-useruser-namedisplaysnmp-agentsys-infoSNMPdispl
33、ayaclacl-numberdisplaysnmp-agentmib-viewMIB視圖信息。display snmp-agent sys-info contact 命令查看管理員的displaysnmp-agentsys-infolocation1SNMP1.4.7 SNMPv3SNMPv3SNMPv3ldisplaysnmp-agentusm-useruser-namedisplaysnmp-agentsys-infoSNMPdisplayaclacl-numberdisplaysnmp-agentmib-viewMIB視圖信息。display snmp-agent sys-info c
34、ontact 命令查看管理員的displaysnmp-agentsys-infolocation。displaycurrent-configuration |includetrapTrapdisplaysnmp-agentextenderror-codeusSNMPldisplayconstant-ifindexconfiguration命令查看接口索引固定的狀態(tài)和配置信displaysnmp-agentusm-userSNMPdisplaysnmp-agentusm-user User name: testuserEngine ID: Group name: Authenticationmo
35、de:md5,Privacymode:des56 Storage type: nonVolatileUser us:Total number is displaysnmp-agentsys-infoSNMP display snmp-agent sys-info SNMP verhe displayaclacl-numberdisplayacl2000 Basic ACL 2000, 1 ruleAcls s rule 5 permit source displaysnmp-agentmib-viewMIBdisplaysnmp-agentmib-view View name:ViewDefa
36、ultMIB Subtree:Subtree mask:Storagetype:nonVolatile View Type:includedView View name:ViewDefault MIB 1SNMPSubtree Storagetype:nonVolatile View Type:excludedView View name:ViewDefault MIBSubtree:snmpVacmMIB Subtree mask:Storagetype:nonVolatile View Type:excludedView View MIBSubtree:snmpModules.18 Sub
37、tree mask:Storagetype:nonVolatile View Type:excludedView Total number is displaysnmp-agentsys-infocontact display snmp-agent sys-info The for this managed R&D Technologies .displaysnmp-agentsys-info1SNMPSubtree Storagetype:nonVolatile View Type:excludedView View name:ViewDefault MIBSubtree:snmpVacmM
38、IB Subtree mask:Storagetype:nonVolatile View Type:excludedView View MIBSubtree:snmpModules.18 Subtree mask:Storagetype:nonVolatile View Type:excludedView Total number is displaysnmp-agentsys-infocontact display snmp-agent sys-info The for this managed R&D Technologies .displaysnmp-agentsys-infolocat
39、iondisplaysnmp-agentsys-infolocation The physical location of this node:Beijing displaycurrent-configuration |includetraptrap display current-configuration configuration | include snmp-agent displaysnmp-agentextenderror-codeusSNMP display snmp-agent extend error-code Extend error-code display consta
40、nt-ifindex ifindex constant : Enable ifindexmax-number:131070current ifindex suberfacemode:dense-mode next ifindex suberface mode : dense-mode current ifindex allocation : multi-chassis1.5SNMP1.5.1 SNMPv1MIB 節(jié)點(diǎn)。如1-4 NMS2僅可以管理該設(shè)備上的DNS節(jié)點(diǎn),NMS11SNMPNMS。1-4 SNMPv1NMS/24GE1/0/0 /241SNMPNMS。1-4 SNMPv1NMS/2
41、4GE1/0/0 /24IP NetworkRouterNMS/24SNMPAgentSNMPSNMPv1NMS2DNSTrapNMSllSNMP版本ACL 號(hào)NMS站之間路由可達(dá)(略SNMP system- snmp-SNMP1SNMP snmp-agent sys-info SNMP display snmp-agent sys-info SNMP he ACLNMS2可以管理設(shè)備,NMS1 acl -acl-basic-2001 rule 5 permit source -acl-basic-2001 rule 6 deny source -acl-basic-2001 MIBNMS2D
42、NS snmp-agent mib-view dnsmib include # 配置團(tuán)體ACL和MIB視圖 snmp-agent community write adminnms2 mib-view dnsmib acl snmp- snmp-host trap-paramsname trapnms2 v1 securityname -host trap-hostname nms2 address trap-paramsname snmp-agent trap queue-size snmp-agent trap life 1SNMP snmp-agent sys-info SNMP disp
43、lay snmp-agent sys-info SNMP he ACLNMS2可以管理設(shè)備,NMS1 acl -acl-basic-2001 rule 5 permit source -acl-basic-2001 rule 6 deny source -acl-basic-2001 MIBNMS2DNS snmp-agent mib-view dnsmib include # 配置團(tuán)體ACL和MIB視圖 snmp-agent community write adminnms2 mib-view dnsmib acl snmp- snmp-host trap-paramsname trapnm
44、s2 v1 securityname -host trap-hostname nms2 address trap-paramsname snmp-agent trap queue-size snmp-agent trap life snmp-agent snmp-agent sys-info contact call Operator 的配置請(qǐng)根據(jù)采用產(chǎn)品參考對(duì)應(yīng)# displaysnmp-agentcommunitywrite Community name:adminnms2Storagetype:nonVolatile View name: dnsmib Total number is A
45、CL displayacl2001 Basic ACL 2001, 2 rulesAcls s rule 5 permit source rule 6 deny source MIB displaysnmp-agentmib-viewdnsmib View name:dnsmibMIBSubtree:hwDnsMIB Subtree mask:Storage type: 1SNMPView View u# displaysnmp-agent Traphost list:host name: nms2 Traphost address: Traphost portnumber: host par
46、ameter: -Total number is Parameter list trap Parameternameofthe Message mode of thehost:trapnms2 host: SNMPV1 host: v1host: Trap of Securitynameofthe rofile Total number is Trap rofile Total number is 1SNMPView View u# displaysnmp-agent Traphost list:host name: nms2 Traphost address: Traphost portnu
47、mber: host parameter: -Total number is Parameter list trap Parameternameofthe Message mode of thehost:trapnms2 host: SNMPV1 host: v1host: Trap of Securitynameofthe rofile Total number is Trap rofile Total number is displaytrapbufferdisplay bufferconfigurationandcontents:enabled Allowed max buffer si
48、ze : 1024Actual buffer size : Channelnumber:3,Channelname:trapbuffer Dropped messages : 0Overwrittenmessages:0 Current messages : 98#Oct 11 2010 18:57:59 RouterA DS/4/DATASYNC_CFGCHANGE:OID .1 configurations have been changed. The current change number is the change loop count is 0, and um number of
49、 records is # display snmp-agent sys-info The for this managed call Operator #acl number rule 5 permit source rule 6 deny source #erface ip address #ospf area network network #snmp-agent local-engineid snmp-agent community write adminnms2 mib-view dnsmib acl 1SNMPsnmp-agent sys-info contact call Ope
50、rator snmp-agent sys-info snmp-host trap-hostname nms2 address udp-port 162 trap-paramsname -host trap-paramsname trapnms2 v1 securityname snmp-agentmib-viewdnsmibincludehwDnsMIB snmp-agent trsnmp-agenttrapqueue-size200 snmp-agent trap life 60snmp-#1.5.2 SNMPv2cSNMPv2c版本保證互通,在互通的過(guò)程中限制指定的MIB 節(jié)點(diǎn)。如1-5
51、NMS21SNMPsnmp-agent sys-info contact call Operator snmp-agent sys-info snmp-host trap-hostname nms2 address udp-port 162 trap-paramsname -host trap-paramsname trapnms2 v1 securityname snmp-agentmib-viewdnsmibincludehwDnsMIB snmp-agent trsnmp-agenttrapqueue-size200 snmp-agent trap life 60snmp-#1.5.2
52、SNMPv2cSNMPv2c版本保證互通,在互通的過(guò)程中限制指定的MIB 節(jié)點(diǎn)。如1-5 NMS2DNSNMS1NMS。1-5 SNMPv2cNMS/24GE1/0/0 /24IP NetworkRouterNMS/24SNMPAgentSNMPSNMPv2cNMS2DNS1SNMPllSNMP版本ACL 號(hào)NMS站之間路由可達(dá)(略SNMP system- snmp-SNMP snmp-agent sys-info SNMP display snmp-agent sys-info SNMP he ACLNMS2可以管理設(shè)備,NMS1 acl -acl-basic-2001 rule 5 per
53、mit source -acl-basic-2001 rule 6 deny source -acl-basic-2001 MIB snmp-agent mib-view dnsmib include # 配置團(tuán)體ACL1SNMPllSNMP版本ACL 號(hào)NMS站之間路由可達(dá)(略SNMP system- snmp-SNMP snmp-agent sys-info SNMP display snmp-agent sys-info SNMP he ACLNMS2可以管理設(shè)備,NMS1 acl -acl-basic-2001 rule 5 permit source -acl-basic-2001
54、rule 6 deny source -acl-basic-2001 MIB snmp-agent mib-view dnsmib include # 配置團(tuán)體ACL和MIB視圖 snmp-agent community write adminnms2 mib-view dnsmib acl snmp- snmp-host trap-paramsname trapnms2 v2c securityname -host trap-hostname nms2 address trap-paramsname snmp-agent trap queue-size snmp-agent trap lif
55、e snmp-agent snmp-agent sys-info contact call Operator 的配置請(qǐng)根據(jù)采用產(chǎn)品參考對(duì)應(yīng)1SNMP# displaysnmp-agentcommunitywrite Community name:adminnms2Storagetype:nonVolatile View name: dnsmib Total number is ACLdisplayacl2001 Basic ACL 2001, 2 rulesAcls s rule 5 permit source rule 6 deny source MIB displaysnmp-agentm
56、ib-viewdnsmib View name:dnsmibMIBSubtree:hwDnsMib Subtree mask:Storage1SNMP# displaysnmp-agentcommunitywrite Community name:adminnms2Storagetype:nonVolatile View name: dnsmib Total number is ACLdisplayacl2001 Basic ACL 2001, 2 rulesAcls s rule 5 permit source rule 6 deny source MIB displaysnmp-agent
57、mib-viewdnsmib View name:dnsmibMIBSubtree:hwDnsMib Subtree mask:Storagetype:nonVolatile View Type:includedView u# displaysnmp-agent Traphost list:host name: nms2 Traphost address: Traphost portnumber: host parameter: -Total number is Parameter list trap Parameternameofthe Message mode of thehost:tra
58、pnms2 host: SNMPV2C host: v2chost: Trap of Securitynameofthe rofile Total number is Trap rofile Total number is displaytrapbufferdisplay bufferconfigurationandcontents:enabled Allowed max buffer size : 1024Actual buffer size : Channelnumber:3,Channelname:trapbuffer Dropped messages : 0Overwrittenmes
59、sages:0 Current messages : 98#Oct 11 2010 18:57:59 RouterA DS/4/DATASYNC_CFGCHANGE:OID .1 configurations have been changed. The current change number is the change loop count is 0, and um number of records is # 1SNMP display snmp-agent sys-info The for this managed call Operator #acl number rule 5 p
60、ermit source rule 6 deny source 0 #erface ip address #ospf area network #local-engineid communitywriteadminnms2mib-viewdnsmibacl1SNMP display snmp-agent sys-info The for this managed call Operator #acl number rule 5 permit source rule 6 deny source 0 #erface ip address #ospf area network #local-engi
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 安全生產(chǎn)責(zé)任清單
- 二零二五版2025年度駕校綜合設(shè)施改造施工合同范本3篇
- 室外消火栓系統(tǒng)概述與室外消防用水量
- 2024年淮北職業(yè)技術(shù)學(xué)院高職單招語(yǔ)文歷年參考題庫(kù)含答案解析
- 《陶罐和鐵罐》課件圖文
- 二零二五年度藝術(shù)壁畫(huà)粉刷班組服務(wù)協(xié)議6篇
- 21三體綜合征產(chǎn)前診斷
- 《科幻小說(shuō)賞析與寫(xiě)作》 課件 第1、2章 導(dǎo)論科幻小說(shuō)賞析與寫(xiě)作的“關(guān)鍵詞”;“時(shí)間旅行”的歷史與未來(lái)-《時(shí)間機(jī)器》
- 2024年瀘州醫(yī)療器械職業(yè)學(xué)院高職單招職業(yè)適應(yīng)性測(cè)試歷年參考題庫(kù)含答案解析
- 2024年泉州工程職業(yè)技術(shù)學(xué)院高職單招職業(yè)技能測(cè)驗(yàn)歷年參考題庫(kù)(頻考版)含答案解析
- 第二版《高中物理題型筆記》下冊(cè)
- 人大提案格式范文
- 《那一刻我長(zhǎng)大了》五年級(jí)語(yǔ)文下冊(cè)作文12篇
- 南充化工碼頭管網(wǎng)施工方案(初稿)
- 2023年消防接警員崗位理論知識(shí)考試參考題庫(kù)(濃縮500題)
- GB/T 30285-2013信息安全技術(shù)災(zāi)難恢復(fù)中心建設(shè)與運(yùn)維管理規(guī)范
- 魯濱遜漂流記閱讀任務(wù)單
- 第一章 運(yùn)營(yíng)管理概論1
- 主體結(jié)構(gòu)驗(yàn)收匯報(bào)材料T圖文并茂
- 管理學(xué)原理(南大馬工程)
- 過(guò)一個(gè)有意義的寒假課件
評(píng)論
0/150
提交評(píng)論