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

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、FAQ華為/H3C設(shè)備Q:交換機配置SNMP支持?A:#進入全局配置模式。system-view#設(shè)置系統(tǒng)啟用的SNMP版本號Quidway snmp-agent sys-info version all#設(shè)置團體名和訪問權(quán)限。Quidway snmp-agent community read publicQuidway snmp-agent community write private#設(shè)置管理員標識、聯(lián)系方法以及以太網(wǎng)交換機的物理位置。Quidway snmp-agent sys-info contact HYPERLINK mailto:master masterQuidway snm

2、p-agent sys-info location Shenzhen,GD#允許發(fā)送Trap。Quidway snmp-agent trap enable如果交換機還沒有配置VLAN IP,需要做下面的步驟:#配置VLAN接口 1的IP地址。 system-viewSwitch interface Vlan-interface 1Switch-Vlan-interface1 ip address x.x.x.x Cisco設(shè)備Catalyst OS配置SNMP的共同體名:set snmp community read-onlylread-writelread-write-all communi

3、ty_stringIOS全局模式配置SNMP的共同體名:snmp-server community community_string ro|rw港灣設(shè)備命令格式:config snmp community readonly|readwrite readonly|readwrite讀確認/讀寫確認字符串默認值:字符串值 readonly: public;readwrite:private使用指導community字符串為遠程網(wǎng)絡管理員配置交換機提供了一種用 戶確認機制。在交換機上有兩種Community字符串:讀確認字符串(readonly) 允許對交換機進行只讀訪問;讀寫確認字符串(readw

4、rite)提供了對交換機讀 寫操作的權(quán)限。配置實例 Harbour(config)# config snmp community readonly harbourservice snmp enable相關(guān)命令show snmp community-stringExtreme 設(shè)備configure snmp community命令格式:configure snmp community readonly I readwrite (encrypted 命令描述:Configures the value of the default SNMP read or read/write community

5、 string.readonly Specifies read-only access to the system.readwrite Specifies read and write access to the system.encrypted Specifies encryption, for use only by the switch when uploading ordownloading a configuration. Should not be used through the CLI.alphanumeric string Specifies an SNMP communit

6、y string name.默認值:The default read-only community string is public. The default read/write community string is private.舉例:以下命令是設(shè)置一個讀寫權(quán)限的共同體名extremeconfigure snmp community readwrite extreme用來替代第一種命令命令格式:configure snmp add community readonly I readwrite (encrypted 命令描述:Adds an SNMP read or read/write

7、 community string.readonly Specifies read-only access to the system.readwrite Specifies read and write access to the system.encrypted Specifies encryption, for use only by the switch when uploading ordownloading a configuration. alphanumeric string Specifies an SNMPcommunity string name. See “Usage

8、Guidelines” for moreinformation.默認值:The default read-only community string is public. The default read/writecommunity string is private.用法:Community strings provide a simple method of authentication between a switch and a remote networkmanager. Read community strings provide read-only access to the

9、switch. The default read-onlycommunity string is public. Read-write community strings provide read and write access to the switch.The default read/write community string is private.To change the value of the default read/write and read-only community strings,use the configuresnmp community command.舉

10、例:以下命令是設(shè)置一個讀寫權(quán)限的共同體名extremeconfigure snmp add community readwrite extreme北電設(shè)備北電passport 86系列snmp配置1、版本是系列的及以下版本確認版本命令show bootconfig infosnmp 配置命令:config/sys/set/snmp/community ro fjep_86062、版本是系列的snmp 配置命令:config/snmp-v3/com munity/name first fjep_8606passport 6400Provision one or more Vr Snmp Comm

11、unity ( Com) components. add Vr/ Snmp Community/Set the community string, used to authenticate SNMP messages from SNMPv1 management entities. The default value is public.set Vr/ Snmp Com/ communityString where: is the string used to authenticate SNMP messages.Specify the set of MIB subtrees accessible by this community.This must be set to a specific view index, see step 6, substep a.set Vr/ Snmp Com/ viewIndex Specify Vr Snmp Com accessMode ( acMode) attribute for this community. The default is readOnly.set Vr/ Snmp Com/ accessModewhere: indicates the level of access for each object i

溫馨提示

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

評論

0/150

提交評論