Trampa SNMP
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://ipfyi.com/iframe/glossary/snmp-trap/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://ipfyi.com/glossary/snmp-trap/
Add a dynamic SVG badge to your README or docs.
[](https://ipfyi.com/glossary/snmp-trap/)
Use the native HTML custom element.
Definición
Una notificación no solicitada enviada por un agente SNMP en un dispositivo de red a una estación de gestión cuando ocurre un evento significativo (p. ej., enlace caído, CPU alta). A diferencia del sondeo SNMP, las trampas proporcionan alertas inmediatas impulsadas por eventos.
Traps vs. Polling in SNMP
Standard SNMPSimple Network Management Protocol. A protocol for monitoring and managing network devices (routers, switches, servers) by collecting metrics and configuration data. Agents on devices report to a central SNMP manager. operates in a polling model: the management system queries devices at intervals — every 5 minutes, every hour — to collect metrics. If a critical event occurs 30 seconds after a poll, the next 4.5 minutes pass before the management system notices. SNMP Traps invert this: the device proactively sends an unsolicited notification to the management station the moment the event occurs, reducing detection LatencyThe time delay for a data packet to travel from source to destination, typically measured in milliseconds (ms). Lower latency is critical for real-time applications like video calls, gaming, and financial trading. from minutes to seconds.
Trap PDU Structure
A Trap is an SNMP Protocol Data Unit (PDU) sent from agent (device) to manager (server). It contains: enterprise OID (identifying the device type and vendor), agent address, generic and specific trap type codes, a timestamp, and variable bindings carrying event details. SNMPv2c replaced the v1 Trap PDU with the InformRequest — identical in purpose but requiring an acknowledgment from the manager, preventing silent loss over UDPUser Datagram Protocol. A connectionless transport protocol that sends datagrams without establishing a connection or guaranteeing delivery. Faster than TCP, it is preferred for real-time applications like DNS queries, VoIP, gaming, and streaming..
Operational Integration
SNMP Traps feed directly into Network Operations Center (NOC) alerting workflows. A router sends a linkDown trap when an interface fails; the management system correlates this with BGPBorder Gateway Protocol. The routing protocol that exchanges reachability information between autonomous systems, effectively determining how data traverses the internet. Often called the "postal service of the internet." route withdrawals and raises a P1 incident. Traps complement NetFlowA Cisco-developed protocol that collects metadata about IP network traffic flows (source/destination IP, ports, protocol, byte count) for analysis. NetFlow data is essential for bandwidth monitoring, capacity planning, and security forensics. data: flow analysis shows what traffic is doing, while traps report device state changes. SyslogA standard protocol (RFC 5424) for transmitting log messages from network devices, servers, and applications to a central log collector. Syslog messages include severity levels from emergency (0) to debug (7). provides the human-readable narrative; SNMP Traps carry structured, machine-parseable event data. Most enterprise monitoring platforms (Nagios, Zabbix, PRTG) consume both. Trap receiver UDP port 162 must be open in FirewallA network security device or software that monitors and filters incoming and outgoing traffic based on predefined rules. Firewalls can block traffic by IP address, port number, protocol, or application-layer content. rules.