171
Chapter 29 SNMP Commands
SNMP (Simple Network Management Protocol) functions are used to manage the network devices
for a smooth communication, which can facilitate the network administrators to monitor the
network nodes and implement the proper operation.
snmp global
Description
The snmp global command is used to configure the SNMP function globally. To
return to the default configuration, please use no snmp global command.
Syntax
snmp global [status {disable | enable}] [engine-id engine-id] [remote-id
remote-id]
no snmp global
Parameter
status —— Enable/Disable the SNMP function. By default, it is disabled.
engine-id —— Local Engine ID for local clients. The Engine ID is a unique
alphanumeric string used to identify the SNMP engine on the switch. Its length
ranges from 10 to 64 hexadecimal characters, which must be even number
meanwhile.
remote-id —— Remote Engine ID for the switch. The Engine ID is a unique
alphanumeric string used to identify the SNMP engine on the remote device
which receives traps and informs from the switch. Its length ranges from 10 to
64 hexadecimal characters, which must be even number meanwhile.
Command Mode
Global Configuration Mode
Example
Enable the SNMP function, and specify the Local Engine ID as 1234567890, the
Remote Engine ID as 123456abcdef:
TP-LINK(config)# snmp global status enable engine-id 1234567890
remote-id 123456abcdef