A network administrator is troubleshooting an issue where event notifications sent from a Cisco IOS XE router to a central Network Management System (NMS) are lost during network congestion. The router is currently configured with the following command:
`snmp-server host 10.10.20.50 traps version 2c public`
Which configuration change must the administrator make on the router to ensure that event notifications require application-layer acknowledgments from the NMS and are automatically retransmitted if dropped?
- Replace the keyword traps with informs in the snmp-server host command.Answer
- BChange the destination transport layer protocol from UDP port 162 to TCP port 161 in the snmp-server host command.
- CAppend the overload keyword to the existing snmp-server host command statement.
- DConfigure the router syslog severity logging level to 7 so that SNMP traps inherit TCP delivery mechanics.
Answer
Replacing the keyword 'traps' with 'informs' in the 'snmp-server host' command configures SNMP Informs, which require application-level acknowledgment from the receiver and support automatic retransmissions.
Configuring SNMP Informs instead of SNMP Traps provides reliable notification delivery. Unlike Traps, which are unacknowledged UDP messages, Informs require the NMS recipient to respond with an acknowledgment. If the router does not receive an acknowledgment within the specified timeout, it retransmits the Inform PDU.
Step-by-Step Solution
Key Concept
SNMP Traps vs Informs operational mechanics and Cisco IOS host configuration