User guide

set snmp
Chapter 2 Command Descriptions 201
set snmp
Device support This command is supported in all devices.
Purpose Configures, enables, and disables a device server’s Simple Network
Management Protocol (SNMP) agent, and displays current SNMP settings.
Required
permissions
The root user can configure SNMP. Normal users can display SNMP
settings.
Syntax Configure SNMP agent
set snmp [auth_trap={on|off}]
[cold_start_trap={on|off}
[contact=administrator]
[curr_thresh_exc_trap={on|off}]
[get_request=community]
[link_up_trap={on|off}]
[location=location string]
[login_trap={on|off}]
[name=name string]
[run={off|on}]
[set_request]
[temp_thresh_exc_trap={on|off}]
[trap_dest=ipaddress]
Display current SNMP settings
set snmp
Options auth_trap={on|off}
Determines whether an SNMP trap is sent when an authentication error
occurs.
on
The agent sends an authentication trap to the SNMP manager when
an authentication error occurs.
off
The agent silently ignores SNMP requests that fail authentication.
The default is "off."
cold_start_trap={on|off}
Determines whether an SNMP trap is sent to the SNMP manager when
a reboot occurs.
on
The agent sends a trap when a reboot occurs.
off
A trap is not sent when a reboot occurs.
The default is "off."