snmp配置过程步骤方法实例

snmp配置过程步骤方法实例:

snmp配置过程实例

snmp配置过程实例

system-view ###进入system-view

snmp-agent community read string###修改community为string
snmp-agent sys-info version all###修还snmp版本为所有版本。(也可以是其他版本详情请看帮助信息:snmp-agent sys-info version ?)
quit###退出system-view
save###记得保存!
 
如果已有snmp设置,可以用以下命令查看:
display snmp-agent ?
 community        Display the SNMPv1 or SNMPv2c community name
 group            Display the information of groups based on USM
 local-engineid   Display the engine ID of local SNMP entity 
 mib-view         Display the SNMP MIB view
 remote-engineid  Display the engine ID of remote SNMP entity 
 statistics       Display the SNMP statistics
 sys-info         Display the system information of SNMP agent 
 usm-user         Display the information of all SNMPv3 users
 
system-view下
snmp-agent的帮助信息:
 
snmp-agent ?
 community       Set a community for the access of SNMPv1&SNMPv2c
 group           Set an SNMP group based on USM
 local-engineid  Set the engineID of local SNMP entity
 mib-view        Set SNMP MIB view information
 packet          Set SNMP packet’s parameters
 sys-info        Set system information of the node
 target-host     Set the target hosts to receive SNMP notification/trap
                 packets
 trap            Set trap or notification parameters
 usm-user        Set a new user for access to SNMP entity 
         
 
snmp-agent community ?       
 read   Read-only access for this community in the view
 write  Read-write access for this community in the view
snmp-agent sys-info ?
 contact   Set the contact information for system maintenance
 location  Set the physical position information of this node
 version   Enable the SNMP protocol version
 
snmp-agent sys-info version ?
 all  Enable the device to support SNMPv1, SNMPv2c and SNMPv3
 v1   Enable the device to support SNMPv1
 v2c  Enable the device to support SNMPv2c
 v3   Enable the device to support SNMPv3
本文链接地址: snmp配置过程步骤方法实例