
70
2.
Configure the SNMP NMS
•
Specify SNMPv3.
•
Create the SNMPv3 user
managev3user
.
•
Enable both authentication and privacy functions.
•
Use MD5 for authentication and DES for encryption.
•
Set the authentication key to
authenkey
and the privacy key to
prikey
.
•
Set the timeout time and maximum number of retries.
For information about configuring the NMS, see the manual for the NMS.
NOTE:
The SNMP settings on the agent and the NMS must match.
3.
Verify the configuration
# Try to get the count of sent traps from the agent, and the get attempt succeeds.
Send request to 1.1.1.1/161 ...
Protocol version: SNMPv3
Operation: Get
Request binding:
1: 1.3.6.1.2.1.11.29.0
Response binding:
1: Oid=snmpOutTraps.0 Syntax=CNTR32 Value=18
Get finished
# Try to get the device name from the agent, but the get attempt fails because the NMS has no access
right to the node.
Send request to 1.1.1.1/161 ...
Protocol version: SNMPv3
Operation: Get
Request binding:
1: 1.3.6.1.2.1.1.5.0
Response binding:
1: Oid=sysName.0 Syntax=noSuchObject Value=NULL
Get finished
# Execute the
shutdown
or
undo shutdown
command on an idle interface on the agent, and you can see
the interface state change traps on the NMS:
1.1.1.1/3374 V3 Trap = linkdown
SNMP Version = V3
Community = managev3user
Command = Trap
1.1.1.1/3374 V3 Trap = linkup
SNMP Version = V3
Community = managev3user
Command = Trap