網(wǎng)絡設備SNMP配置常見問題_第1頁
網(wǎng)絡設備SNMP配置常見問題_第2頁
網(wǎng)絡設備SNMP配置常見問題_第3頁
網(wǎng)絡設備SNMP配置常見問題_第4頁
全文預覽已結束

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

FAQ華為/H3C設備Q:交換機配置SNMP支持?A:#進入全局配置模式。system-view#設置系統(tǒng)啟用的SNMP版本號[Quidway]snmp-agentsys-infoversionall#設置團體名和訪問權限。[Quidway]snmp-agentcommunityreadpublic[Quidway]snmp-agentcommunitywriteprivate#設置管理員標識、聯(lián)系方法以及以太網(wǎng)交換機的物理位置。[Quidway]snmp-agentsys-infocontactmaster@[Quidway]snmp-agentsys-infolocationShenzhen,GD#允許發(fā)送Trap。[Quidway]snmp-agenttrapenable如果交換機還沒有配置VLANIP,需要做下面的步驟:#配置VLAN接口1的IP地址。<Switch>system-view[Switch]interfaceVlan-interface1[Switch-Vlan-interface1]ipaddressx.x.x.xCisco設備CatalystOS配置SNMP的共同體名:setsnmpcommunity[read-onlylread-writelread-write-all]community_stringIOS全局模式配置SNMP的共同體名:snmp-servercommunitycommunity_string[ro|rw]港灣設備命令格式:configsnmpcommunity[readonly|readwrite]<string>[readonly|readwrite]讀確認/讀寫確認字符串默認值:<string>字符串值readonly:public;readwrite:private使用指導community字符串為遠程網(wǎng)絡管理員配置交換機提供了一種用戶確認機制。在交換機上有兩種Community字符串:讀確認字符串(readonly)允許對交換機進行只讀訪問;讀寫確認字符串(readwrite)提供了對交換機讀寫操作的權限。配置實例Harbour(config)#configsnmpcommunityreadonlyharbourservicesnmpenable相關命令showsnmpcommunity-stringExtreme設備configuresnmpcommunity命令格式:configuresnmpcommunity[readonlyIreadwrite](encrypted}<alphanumericstring>命令描述:ConfiguresthevalueofthedefaultSNMPreadorread/writecommunitystring.readonlySpecifiesread-onlyaccesstothesystem.readwriteSpecifiesreadandwriteaccesstothesystem.encryptedSpecifiesencryption,foruseonlybytheswitchwhenuploadingordownloadingaconfiguration.ShouldnotbeusedthroughtheCLI.alphanumericstringSpecifiesanSNMPcommunitystringname.默認值:Thedefaultread-onlycommunitystringispublic.Thedefaultread/writecommunitystringisprivate.舉例:以下命令是設置一個讀寫權限的共同體名extremeconfiguresnmpcommunityreadwriteextreme用來替代第一種命令命令格式:configuresnmpaddcommunity[readonlyIreadwrite](encrypted}<alphanumericstring>命令描述:AddsanSNMPreadorread/writecommunitystring.readonlySpecifiesread-onlyaccesstothesystem.readwriteSpecifiesreadandwriteaccesstothesystem.encryptedSpecifiesencryption,foruseonlybytheswitchwhenuploadingordownloadingaconfiguration.alphanumericstringSpecifiesanSNMPcommunitystringname.See“UsageGuidelines”formoreinformation.默認值:Thedefaultread-onlycommunitystringispublic.Thedefaultread/writecommunitystringisprivate.用法:Communitystringsprovideasimplemethodofauthenticationbetweenaswitchandaremotenetworkmanager.Readcommunitystringsprovideread-onlyaccesstotheswitch.Thedefaultread-onlycommunitystringispublic.Read-writecommunitystringsprovidereadandwriteaccesstotheswitch.Thedefaultread/writecommunitystringisprivate.Tochangethevalueofthedefaultread/writeandread-onlycommunitystrings,usetheconfiguresnmpcommunitycommand.舉例:以下命令是設置一個讀寫權限的共同體名extremeconfiguresnmpaddcommunityreadwriteextreme北電設備北電passport86系列snmp配置1、版本是系列的及以下版本確認版本命令showbootconfiginfosnmp配置命令:config/sys/set/snmp/communityrofjep_86062、版本是系列的snmp配置命令:config/snmp-v3/community/namefirstfjep_8606passport6400ProvisiononeormoreVrSnmpCommunity(Com)components.addVr/<n>SnmpCommunity/<m>Setthecommunitystring,usedtoauthenticateSNMPmessagesfromSNMPv1managemententities.Thedefaultvalueispublic.setVr/<n>SnmpCom/<m>communityString<community_name>where:<community_name>isthestringusedtoauthenticateSNMPmessages.SpecifythesetofMIBsubtreesaccessiblebythiscommunity.Thismustbesettoaspecificviewindex,seestep6,substepa.setVr/<n>SnmpCom/<m>viewIndex<a>SpecifyVrSnmpComaccessMode(acMode)attributeforthiscommunity.ThedefaultisreadOnly.setVr/<n>SnmpCom/<m>accessMode<readWrite_readOnly>where:<readWrite_readOnly>indicatesthelevelofac

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論