Reference Guide
When multiple snmp-server host commands are given for the same host and type of
notification (trap or inform), each succeeding command overwrites the previous command.
Only the last snmp-server host command will be in effect. 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
first command.
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.
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 automatically is configured with the
community-name the same as specified in the
snmp-server host command.
Configuring Informs
To send an inform, use the following steps:
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 enable traps – enables SNMP traps.
snmp-server community – configures a new community SNMPv1 or SNMPv2c.
snmp-server location
Configure the location of the SNMP server.
C-Series, E-Series, S-Series, Z-Series
Syntax
snmp-server location text
To delete the SNMP location, use the no snmp-server location command.
Parameters
text
Enter an alpha-numeric text string, up to 55 characters long.
Defaults Not configured.
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
1514










