PrepAway - Latest Free Exam Questions & Answers

Which of the following fields in the output of the show…

An SNMP readonly community named READONLY is configured on a Cisco router.
Which of the following fields in the output of the show snmp command on the router will increment if an NMS
makes a set request to the READONLY community? (Select the best answer.)

PrepAway - Latest Free Exam Questions & Answers

A.
Unknown community name

B.
Illegal operation for community name supplied

C.
Input queue packet drops

D.
No such name errors

Explanation:
In this scenario, the Illegal operation for community name supplied field in the output of the show snmp
command on the router will increment if a network management station (NMS) makes a Simple Network
Management Protocol (SNMP) set request to the READONLY community. SNMP communities can be
configured to be either readonly or readwrite. Readonly communities enable an NMS to retrieve Management
Information Base (MIB) data from a community, whereas readwrite communities enable an NMS to modify and
retrieve MIB data. The show snmp command displays accumulated SNMP statistics, as shown in the following
sample output:
Chassis: 42792565171230
SNMP packets input
2 Bad SNMP version errors
5 Unknown community name
4 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables 680 Getrequest PDU
479 Getnext PDUs
60 Setrequest PDUs
0 Input queue packet drops (Maximum queue size 1000)
1230 SNMP packets output
0 Too big errors (Maximum packet size 1500)
No such name errors
Bad values errors
0 General errors
762 Response PDUs
0 Trap PDUs
SNMP logging: disabled
The Illegal operation for community name supplied field in the sample output indicates that four SNMP packets
requested an operation that was not allowed for the associated community, such as a set request for a
community that permits only get requests. The Unknown community name field indicates that five SNMP
packets were received with unknown community strings. The Input queue packet drops field indicates that no
packets were dropped because the input queue had reached its maximum size. The No such name errors field
indicates that five SNMP packets were received for MIBs that did not exist on the router. The sample outputalso indicates the number of get, getNext, and set requests that have been received by the router as well as
statistics on the number of various types of SNMP packets the router has sent in response to NMS queries.

Cisco: Cisco IOS SNMP Support Command Reference: show snmp


Leave a Reply