User guide

SNMP Commands
6-25
6
snmp-server enable server
This command enables SNMP management access and also enables this device to
send SNMP traps (i.e., notifications). Use the no form to disable SNMP service and
trap messages.
Syntax
snmp-server enable server
no snmp-server enable server
Default Setting
Enabled
Command Mode
Global Configuration
Command Usage
• This command enables both authentication failure notifications and
link-up-down notifications.
•The snmp-server host command specifies the host device that will receive
SNMP notifications.
Example
Related Commands
snmp-server host (6-25)
snmp-server host
This command specifies the recipient of an SNMP notification. Use the no form to
remove the specified host.
Syntax
snmp-server host <host_ip_address | host_name> <community-string>
no snmp-server host
• host_ip_address - IP of the host (the targeted recipient).
• host_name - Name of the host. (Range: 1-20 characters)
• community-string - Password-like community string sent with the
notification operation. Although you can set this string using the
snmp-server host command by itself, we recommend that you define this
string using the snmp-server community command prior to using the
snmp-server host command. (Maximum length: 23 characters)
Default Setting
Host Address: None
Community String: public
Outdoor Bridge(config)#snmp-server enable server
Outdoor Bridge(config)#