Concept Guide

The default is all trap types are sent to host.
Defaults As above.
Command Modes CONFIGURATION
Supported Modes Full–Switch Mode
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
In order to congure the router to send SNMP notications, enter at least one snmp-server host command.
If you enter the command with no keywords, all trap types are enabled for the host. If you do not enter an snmp-
server host
command, no notications are sent.
In order to enable multiple hosts, issue a separate snmp-server host command for each host. You can specify
multiple notication types in the command for each host.
When multiple snmp-server host commands are given for the same host and type of notication (trap or
inform), each succeeding command overwrites the previous command. Only the last snmp-server host
command is in eect. For example, if you enter an snmp-server host inform command for a host and then
enter another snmp-server host inform command for the same host, the second command replaces the
rst command.
The snmp-server host command is used with the snmp-server enable command. Use the snmp-
server enable command to specify which SNMP notications are sent globally. For a host to receive most
notications, at least one snmp-server enable command and the snmp-server host command for that
host must be enabled.
NOTE: For v1 / v2c trap conguration, if the community-string is not dened using the snmp-server
community command prior to using this command, the default form of the snmp-server community
command automatically is congured with the community-name the same as specied in the snmp-
server host command.
Conguring Informs
To send an inform, use the following steps:
1 Congure a remote engine ID.
2 Congure a remote user.
3 Congure a group for this user with access rights.
4 Enable traps.
5 Congure a host to receive informs.
Related Commands
snmp-server enable traps — enables SNMP traps.
snmp-server communitycongures a new community SNMPv1 or SNMPv2c.
1248 Simple Network Management Protocol (SNMP) and Syslog