Users Guide

Table Of Contents
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
snmp-server user
Authorizes a user to access the SNMP agent and receive SNMP messages.
Syntax
snmp-server user user-name group-name security-model [[noauth | auth {md5
| sha} auth-password] [priv {des | aes} priv-password]] [localized] [access
acl-name] [remote ip-address udp-port port-number]]
Parameters
user-name Enter the name of the user. A maximum of 32 alphanumeric characters.
group-name Enter the name of the group to which the user belongs. A maximum of 32
alphanumeric characters.
security-model Enter an SNMP version that sets the security level for SNMP messages:
1 SNMPv1 provides no user authentication or privacy protection. SNMP messages are sent in
plain text.
2c SNMPv2c provides no user authentication or privacy protection. SNMP messages are sent
in plain text.
164 System management