为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

网络设备SNMP配置常见问题

2017-09-19 5页 doc 24KB 14阅读

用户头像

is_624976

暂无简介

举报
网络设备SNMP配置常见问题FAQ 华为/H3C设备 Q:交换机配置SNMP支持? A: # 进入全局配置模式。 system-view # 设置系统启用的SNMP版本号 [Quidway] snmp-agent sys-info version all # 设置团体名和访问权限。 [Quidway] snmp-agent community read public [Quidway] snmp-agent community write private # 设置管理员标识、联系方法以及以太网交换机的物理位置。 [Quidway] snmp-agent ...
网络设备SNMP配置常见问题
FAQ 华为/H3C设备 Q:交换机配置SNMP支持? A: # 进入全局配置模式。 system-view # 设置系统启用的SNMP版本号 [Quidway] snmp-agent sys-info version all # 设置团体名和访问权限。 [Quidway] snmp-agent community read public [Quidway] snmp-agent community write private # 设置管理员标识、联系方法以及以太网交换机的物理位置。 [Quidway] snmp-agent sys-info contact master@abc.com [Quidway] snmp-agent sys-info location Shenzhen,GD # 允许发送Trap。 [Quidway] snmp-agent trap enable 如果交换机还没有配置VLAN IP,需要做下面的步骤: # 配置VLAN 接口1 的IP 地址。 system-view [Switch] interface Vlan-interface 1 [Switch-Vlan-interface1] ip address x.x.x.x 255.255.255.0 Cisco设备 Catalyst OS 配置SNMP的共同体名: set snmp community [read-only|read-write|read-write-all] community_string IOS 全局模式配置SNMP的共同体名: snmp-server community community_string [ro|rw] 港湾设备 命令格式:config snmp community [readonly|readwrite] [readonly|readwrite]读确认/读写确认字符串 默认值:字符串值readonly:public;                         readwrite:private 使用指导community字符串为远程网络管理员配置交换机提供了一种用户确认机制。在交换机上有两种Community字符串:读确认字符串(readonly)允许对交换机进行只读访问;读写确认字符串(readwrite)提供了对交换机读写操作的权限。 配置实例Harbour(config)# config snmp community readonly harbour service snmp enable 相关命令 show snmp community-string Extreme设备 configure snmp community 命令格式: configure snmp community [readonly | readwrite] {encrypted} 命令描述: Configures the value of the default SNMP read or read/write 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 or downloading a configuration. Should not be used through the CLI. alphanumeric string Specifies an SNMP community string name. 默认值: The default read-only community string is public. The default read/write community string is private. 举例:以下命令是设置一个读写权限的共同体名extreme   configure snmp community readwrite extreme 用来替代第一种命令 命令格式: configure snmp add community [readonly | readwrite] {encrypted} 命令描述: Adds an SNMP read or read/write 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 or downloading a configuration. alphanumeric string Specifies an SNMP community string name. See “Usage Guidelines” for more information. 默认值: The default read-only community string is public. The default read/write community string is private. 用法: Community strings provide a simple method of authentication between a switch and a remote network manager. Read community strings provide read-only access to the switch. The default read-only community 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 configure snmp community command. 举例:以下命令是设置一个读写权限的共同体名extreme configure snmp add community readwrite extreme 北电设备 北电passport 86系列snmp配置 1、版本是3.5.0.0系列的及以下版本 确认版本命令show bootconfig info snmp配置命令:config/sys/set/snmp/community ro fjep_8606 2、版本是3.7.0.0系列的 snmp配置命令:config/snmp-v3/com munity/name first fjep_8606 passport 6400 Provision one or more Vr Snmp Community ( 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/ accessMode where: indicates the level of access for each object in the view. passport 8006 sys set snmp community ro public sys set snmp community l2 private sys set snmp community l3 private sys set snmp community rw private sys set snmp trap-recv10.1.1.1 v2cpublic 文档已经阅读完毕,请返回上一页!
/
本文档为【网络设备SNMP配置常见问题】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索