API Guide

aes Encrypt messages using an AES 128-bit algorithm.
des Encrypt messages using a DES 56-bit algorithm.
priv-password Enter a text string used to generate the privacy key used in encrypted
messages. A maximum of 32 alphanumeric characters. For an encrypted password, you can
enter the encrypted string instead of plain text.
community-name (Optional) Enter an SNMPv1 or SNMPv2c community string name or an
SNMPv3 user name.
udp-port port-number (Optional) Enter the UDP port number on the SNMP host, from 0 to
65535.
dom | entity | envmon | lldp | snmp Enter one or more types of traps and
notifications to send to the SNMP host digital optical monitor, entity change, environment monitor,
or LLDP state change traps, or SNMP-type notifications.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The local SNMP agent sends SNMP notifications, traps, and informs to SNMP managers configured as
host receivers. You can configure multiple host receivers.
An SNMP host does not acknowledge the trap messages and notifications received from the SNMP
agent. SNMP hosts send an acknowledgement when receiving informs.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1.
The no version of the command disables the local agent from sending SNMP traps, informs, or
notifications to a host receiver.
Example Send
SNMP traps to
host
OS10(config)# snmp-server host 1.1.1.1 traps version 3 priv user01 udp-
port 32 entity lldp
Example Send
SNMP informs to
host
OS10(config)# snmp-server host 1.1.1.1 informs version 2c public envmon
snmp
Example Send
SNMP
notifications to
host
OS10(config)# snmp-server host 1.1.1.1 version 3 noauth u1 snmp lldp
Supported
Releases
10.2.0E or later
snmp-server location
Configures the location of the SNMP server.
Syntax
snmp-server location text
Parameters text Enter an alphanumeric string. A maximum of 55 characters.
Default None
Command Mode CONFIGURATION
Usage
Information
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1.
The no version of this command removes the SNMP location.
Example
OS10(config)# snmp-server location datacenter10
Supported
Releases
10.2.0E or later
System management 171