Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-18
# Create an SNMPv3 group
v3group
, set the security mode to authentication and
privacy, and permit only access from the NMS whose IP address is 192.168.0.108 to
the agent using ACL.
[Sysname] acl number 2001
[Sysname] rule 0 permit source 192.168.0.108 0
[Sysname] snmp-agent group v3 v3group privacy acl 2001
In this case, when you use the
display snmp-agent group
command to display group
information, you can see that two groups with the name
v3group
are created, but their
security modes are noAuthnoPriv and AuthPriv respectively.
<Sysname> display snmp-agent group
Group name: v3group
Security model: v3 noAuthnoPriv
Readview: ViewDefault
Writeview: ospf
Notifyview : ospf
Storage-type: ospf
Group name: v3group
Security model: v3 AuthPriv
Readview: ViewDefault
Writeview: <no specified>
Notifyview :<no specified>
Storage-type: nonVolatile
Acl:2001
1.1.14 snmp-agent local-engineid
Syntax
snmp-agent local-engineid
engineid
undo snmp-agent local-engineid
View
System view
Parameters
engineid
: Engine ID, an even number of hexadecimal characters, in the range 10 to 64.
Description
Use the
snmp-agent local-engineid
command to set an engine ID for the local SNMP
entity.
Use the
undo
snmp-agent local-engineid
command to restore the default engine ID.