snmp-server host

Syntax

To specify the SNMP version, community, UDP port, trap category and trap severity:

snmp-server host ipAddress [ version ver ] securityString [ udp-port port ]
[ trapCategory ]* [ trapFilters trapFilter ]

no snmp-server host ipAddress

To specify the ping timeout and trap queue:

snmp-server host ipAddress pingTimeOut timeOutValue
[ trapQueue { drainRate queueDrainRate | full queueFull |
size queueSize }
[ drainRate queueDrainRate | full queueFull | size queueSize ]*]

snmp-server host ipAddress trapQueue
{ drainRate queueDrainRate | full queueFull | size queueSize }
[ drainRate queueDrainRate | full queueFull | size queueSize ]*
[ pingTimeOut timeOutValue ]

no snmp-server host ipAddress { pingTimeOut | trapQueue { drainRate | full | size } }

Release Information

Command introduced before JunosE Release 7.1.0.
ip keyword added in JunosE Release 7.1.0.
packetMirror keyword added in JunosE Release 7.2.0.

Description

Configures one or more hosts to receive an SNMP trap. The no version removes the specified host from the list of recipients.

Options

Mode

Global Configuration

Related Documentation