Users Guide

Table Of Contents
Table 6. Notification types and options (continued)
Notification type Notification option
linkup Enable link-up traps.
warmstart Enable warmstart traps when the
switch reloads and the SNMP agent reinitializes.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
If you do not enter a notification-type or notification-option parameter with command, all
traps are enabled. If you enter only a notification-type, all notification-option traps
associated with the type are enabled.
To enable specific SNMP trap types, re-enter the command multiple times with different notification
types and options.
To configure a host to receive SNMP notifications, use the snmp-server host command.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.1.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
The no version of the command disables SNMP traps on the switch.
Example
OS10(config)# snmp-server enable traps envmon fan
OS10(config)# snmp-server enable traps envmon power-supply
OS10(config)# snmp-server enable traps snmp
OS10(config)# no snmp-server enable traps snmp
Supported
Releases
10.4.1.0 or later
snmp-server engineID
Configures the local and remote SNMP engine IDs.
Syntax
snmp-server engineID [local engineID] [remote ip-address {[udp-port port-
number] remote-engineID}]
Parameters
local engineID Enter the engine ID that identifies the local SNMP agent on the switch as an
octet colon-separated number. A maximum of 27 characters.
remote ip-address Enter the IPv4 or IPv6 address of a remote SNMP device that accesses
the local SNMP agent.
udp-port port-number Enter the UDP port number on the remote device, from 0 to 65535.
remote-engineID Enter the engine ID that identifies the SNMP agent on a remote device, 0x
then by a hexadecimal string).
Defaults The local engine ID is generates using the MAC address of the management Ethernet interface.
Command Mode CONFIGURATION
Usage
Information
The local engine ID generates the localized keys for the authentication and privilege passwords. These
passwords authenticate SNMP users and encrypt SNMP messages. If you reconfigure the local Engine ID,
the localized keys also change. The existing values are no longer valid, and a warning message displays. As
a result, you must reconfigure SNMP users with new localized password keys.
In addition, if you change the configured engine ID for a remote device, you must reconfigure the
authentication and privacy passwords for the remote user.
To display the current local engine ID, use the show snmp engineID local command.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.2.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
130 System management