snmp-server Commands
XSR CLI Reference Guide 1-23
Example
ThefollowingexamplesillustrateanSNMPhostwithtraponandoff:
XSR(config)#snmp-server host 192.168.1.10 traps trapsOn
XSR(config)#no snmp-server host 192.168.2.11
Sample Output
Thefollowingarethreesampleoutputsfromthecommand:
Notification host: 192.168.2.10 udp-port: 162 type: inform
user: v3user security model: v3 priv
Notification host: 192.168.10.2 udp-port: 162 type: trap
user: public security model: v1
Notification host: 192.168.1.5 udp-port: 162 type: trap
user: testuser security model: v3 noauth

snmp-server informs

Thiscommandspecifiesinformrequestoptions.
Syntax
snmp-server informs [retries retries] [timeout seconds] [pending pending]
Syntax of the “no” Form
Thenoformofthiscommandreturnssettingstotheirdefaults:
no snmp-server informs [retries retries][timeout timeout] [pending pending]
Mode
Globalconfiguration:XSR(config)#
Defaults
• Retries:3
•Timeout:15seconds
•Pending:25informs
retries Maximumattemptstoresendaninformrequest.Range:0‐10.
timeout Intervaltowaitforanacknowledgementbeforeresending.Range:1‐10seconds.
pending Peaknumberofinformswaitingforacknowledgmentsatanyonetime,ranging
from1to100.Whenthepeakisreached,olderpendinginformsarediscarded.