, set trap manager <1-5> , show snmp statistics . disable trap enable trap , set community string read <"password"> , set trap manager <1-5> , show snmp statistics "> Atlantis Land Mistral Lan Router ISDN disable trap enable trap , set community string read <"password"> , set trap manager <1-5> <ipAddr> , show snmp statistics
disable trap enable trap
Description: This command is used to enable or disable trap message generation. When trap
generation is disabled, no SNMP trap messages will be generated. When it is enabled, any SNMP traps
will be sent to each of the trap managers that have been defined.
set community string read <"password">
Description: This command sets the community string used for authenticating SNMP get and getnext
requests.
The default for the read community string is “public”. The community string is case sensitive.
set trap manager <1-5> <ipAddr>
Description: This command sets the IP address of the nth trap manager (n=1-5).
Example:
Router> set trap manager 1 203.23.12.71
show snmp statistics
Example:
Router> show snmp statistics
Received Transmitted
-------------------------------------------------------------------
Total Packets 0 0
Request Variables 0
SET Variables 0
GET Requests 0
GETNEXT Requests 0
GET-RESPONSEs 0 0
Errors:
Bad Versions 0
Bad Community Uses: 0
ASN1 Parse Errors 0
Packet Too Long 0
NO-SUCH-NAME Errors 0
BAD-VALUE Errors 0
READ-ONLY Errors 0
GENERAL-ERR Errors 0