A network engineer is troubleshooting a router that is not sending SNMP traps to the NMS server at 10.1.1.100. The SNMP configuration includes 'snmp-server enable traps' and 'snmp-server host 10.1.1.100 version 2c public'. The engineer can ping the NMS server from the router, and 'show snmp' indicates SNMP is enabled. What is the most likely cause of the missing traps?
Trap 1: The NMS server is not listening on UDP port 162.
The NMS server is reachable via ping, but this does not confirm the SNMP trap receiver is listening; however, the more common cause on the router side is the missing trap-source.
Trap 2: The SNMP community string 'public' is not configured on the router.
The community 'public' is configured in the 'snmp-server host' command, and 'show snmp' would show it; missing community would prevent responses to polls, not traps.
Trap 3: The router's ACL is blocking outbound UDP traffic to port 162.
While possible, the engineer can ping the NMS, and typically SNMP traps use UDP; an ACL blocking UDP 162 would be a less common default scenario.
- A
The NMS server is not listening on UDP port 162.
Why wrong: The NMS server is reachable via ping, but this does not confirm the SNMP trap receiver is listening; however, the more common cause on the router side is the missing trap-source.
- B
The 'snmp-server trap-source' command is missing, causing traps to use an incorrect source IP.
Without 'snmp-server trap-source', the router uses the outgoing interface IP, which may not match the NMS's expected source or may be unreachable.
- C
The SNMP community string 'public' is not configured on the router.
Why wrong: The community 'public' is configured in the 'snmp-server host' command, and 'show snmp' would show it; missing community would prevent responses to polls, not traps.
- D
The router's ACL is blocking outbound UDP traffic to port 162.
Why wrong: While possible, the engineer can ping the NMS, and typically SNMP traps use UDP; an ACL blocking UDP 162 would be a less common default scenario.