Users Guide

Table Of Contents
You can only apply permit ACL rues to an SNMP community. deny ACL rules do not take effect if
you apply them.
To permit SNMP requests for multiple hosts, apply individual permit ACL rules for hosts or prefixes.
The no version of the command removes the configured community text string.
Example
OS10(config)# snmp-server community admin rw
OS10(config)# snmp-server community public ro acl snmp-read-only-acl
Supported
Releases
10.2.0E or later
snmp-server contact
Configures contact information for troubleshooting the local SNMP switch.
Syntax
snmp-server contact text
Parameters text Enter an alphanumeric text string. A maximum of 55 characters.
Default The SNMP server contact is support.
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 resets the SNMP server contact to the default value.
Example
OS10(config)# snmp-server contact administrator
Supported
Releases
10.2.0E or later
snmp-server enable traps
Enables SNMP traps on a switch.
Syntax
snmp-server enable traps [notification-type] [notification-option]
Parameters
notification-type notification-option Enter an SNMP notification type, and
optionally, a notification option for the type.
Table 6. Notification types and options
Notification type Notification option
entity Enable entity change
traps.
None
envmon Enable SNMP
environmental monitor traps.
fan Enable fan traps.
power-supply Enable power-supply traps.
temperature Enable temperature traps.
lldp Enable LLDP state change
traps.
rem-tables-change Enable the
lldpRemTablesChange trap.
snmp Enable SNMP traps.
authentication Enable authentication traps.
coldstart Enable coldstart traps when you
power on the switch and the SNMP agent initializes.
linkdown Enable link-down traps.
System management 129