下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 中醫(yī)護理學傳統(tǒng)療法
- 化學制藥工藝技術
- 《GAZ 03-2008道路交通管理標準體系表》專題研究報告深度
- 游戲技術發(fā)展
- 人力資源外包服務合同2026年社保協(xié)議
- 2025年企業(yè)產(chǎn)品生命周期管理與質量控制手冊
- 2026年美容院護理服務合同協(xié)議
- 2026年無人農場管理合同協(xié)議
- 2026年餐飲企業(yè)員工培訓協(xié)議合同
- 2026英特爾(中國)校招面試題及答案
- 山東省青島市城陽區(qū)2024-2025學年九年級上學期語文期末試卷(含答案)
- 安全生產(chǎn)考試點管理制度(3篇)
- 孕婦尿液捐獻協(xié)議書
- 2025年立體倉庫維護服務合同
- BIM技術在建筑施工環(huán)境管理中的應用
- 2025全國高考Ⅰ卷第16題說題比賽課件-2026屆高三數(shù)學二輪復習
- 快消品市場調研分析報告模板
- 裝修保護電梯施工技術交底
- 社保專員工作述職報告
- DB15∕T 2385-2021 草原退化評價技術規(guī)程
- 焦化廠儀表工崗位考試試卷及答案
評論
0/150
提交評論