ECS2020 Series CLI Reference Guide-R04

183
-
Global configuration mode
This command is used with the global configuration command snmp-server enable traps
to send trap messages to the NMS.
ECS2020-10P(config)# snmp-server community test rw
snmp-server host
Use this command to configure an SNMP host (NMS) to receive switch trap messages. The no form
of the command deletes the specified SNMP host.
snmp-server host { host-addr [ traps ] [ version { 1 | 2c|2} community name}
no snmp-server host community name
There is no default SNMP host.
Global configuration mode
This command is used with the global configuration command snmp-server enable traps
to send trap messages to the NMS.
parameter
Parameter
Description
community name
Community name
Command
Command
Description
show snmp community
View the configured Community
Information.
Parameter
Parameter
Description
host-addr
Receive the Trap host IP address
community name
Community name
version
SNMP supported version, this device supports v1,
V2c, v3
Default
Mode
Usage
Default
Mode
Usage
Example