171
# Try to set the device name from the agent. The set attempt fails because the NMS has no access right
to the node.
Send request to 1.1.1.1/161 ...
Protocol version: SNMPv3
Operation: Set
Request binding:
1: 1.3.6.1.2.1.1.5.0
Response binding:
Session failed ! SNMP: Cannot access variable, No Access, error index=11: Oid=sysName.0
Syntax=OCTETS Value=h3c Set finished
The following log appears only if the Set operation is performed by using RBAC mode.
%Aug 14 16:13:21:475 2013 Agent SNMP/5/SNMP_SETDENY:
-IPAddr=1.1.1.2-SecurityName=managev3user-SecurityModel=SNMPv3-OP=SET-Node=sysName(1.
3.6.1.2.1.1.5.0)-Value=h3c; Permission denied.
# Log in to the agent. You can see a notification on the NMS.
hh3cLogIn inform received from: 192.168.41.41 at 2013/8/14 17:36:16
Time stamp: 0 days 08h:03m:43s.37th
Agent address: 1.1.1.1 Port: 62861 Transport: IP/UDP Protocol: SNMPv2c Inform
Manager address: 1.1.1.2 Port: 10005 Transport: IP/UDP
Community: public
Bindings (4)
Binding #1: sysUpTime.0 *** (timeticks) 0 days 08h:03m:43s.37th
Binding #2: snmpTrapOID.0 *** (oid) hh3cLogIn
Binding #3: hh3cTerminalUserName.0 *** (octets) testuser [74.65.73.74.75.73.65.72
hex)]
Binding #4: hh3cTerminalSource.0 *** (octets) VTY [56.54.59 (hex)]