3com S7906E 참조 가이드

다운로드
페이지 2327
 
1-15 
[Sysname] snmp-agent sys-info version v1 v2c 
[Sysname] snmp-agent mib-view included test system 
[Sysname] snmp-agent community write wr-sys-acc mib-view system 
Set the SNMP version on the NMS to SNMPv1 or SNMPv2c 
Fill in the write community name wr-sys-acc 
Establish a connection, and the NMS can perform read and write operations to the MIB objects in 
system view on the device 
snmp-agent group 
Syntax 
The following syntax applies to SNMPv1 and SNMP v2c: 
snmp-agent group { v1 | v2c } group-name [ read-view  read-view ] [ write-view  write-view ] 
notify-view notify-view ] [ acl acl-number ] 
undo snmp-agent group { v1 | v2c group-name 
The following syntax applies to SNMPv3: 
snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view ] [ write-view 
write-view ] [ notify-view notify-view ] [ acl acl-number 
undo snmp-agent group v3 group-name [ authentication | privacy ] 
View 
System view 
Default Level 
3: Manage level 
Parameters 
v1: SNMPv1. 
v2c: SNMPv2c. 
v3: SNMPv3. 
group-name: Group name, a string of 1 to 32 characters. 
authentication: Specifies the security model of the SNMP group to be authentication only (without 
privacy). 
privacy: Specifies the security model of the SNMP group to be authentication and privacy. 
read-view read-view: Read view, a string of 1 to 32 characters. The default read view is ViewDefault. 
write-view write-view: Write view, a string of 1 to 32 characters. By default, no write view is configured, 
namely, the NMS cannot perform the write operations to all MIB objects on the device. 
notify-view notify-view: Notify view, for sending traps, a string of 1 to 32 characters. By default, no 
notify view is configured, namely, the agent does not send traps to the NMS. 
acl acl-number: Associates a basic ACL with the group. acl-number is in the range 2000 to 2999. By 
using a basic ACL, you can restrict the source IP address of SNMP packets, that is, you can configure to 
allow or prohibit SNMP packets with a specific source IP address, so as to restrict the 
intercommunication between NMS and Agent.