Command Reference Guide

Simple Network Management Protocol and Syslog | 1379
Command
History
Usage
Information
In order to configure the router to send SNMP notifications, you must 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 notifications are
sent.
In order to enable multiple hosts, you must issue a separate s
nmp-server host command for
each host. You can specify multiple notification types in the command for each host.
Several host commands for the same ip can coexist. For the same host ip, community-name,
and udp-port commands, the trap over-writes informs and vice-versa.
The
snmp-server host command is used in conjunction with the snmp-server enable
command. Use the snmp-server enable command to specify which SNMP notifications are
sent globally. For a host to receive most notifications, at least one
snmp-server enable
command and the
snmp-server host command for that host must be enabled.
Configuring Informs
To send an inform, follow the step below.
1. Configure a remote engine ID.
2. Configure a remote user.
3. Configure a group for this user with access rights.
4. Enable traps.
5. Configure a host to receive informs.
Related
Commands
snmp-server location
c e s z
Configure the location of the SNMP server.
Syntax
snmp-server location
text
Version 8.3.11.1 Introduced on Z9000
Version 8.3.7.0 Introduced on S4810
Version 8.4.1.0 Support was added for VRRP traps.
Version 7.6.1.0 Support added for S-Series; Added support for STP and xSTP notification types.
Version 7.5.1.0 Support added for C-Series
E-Series legacy command
Note: For v1 / v2c trap configuration, if the community-string is not defined using the
snmp-server community command prior to using this command, the default form of
the snmp-server community command will automatically be configured, with the
community-name the same as specified in the snmp-server host command.
snmp-server enable traps Enable SNMP traps.
snmp-server community Configure a new community SNMPv1 or SNMPv2c