SNMP
Cisco Small Business 200E Series Advanced Smart Switch Command Reference 419
11
Related Commands
snmp-server host traps
Use this command to specify a host that will receive SNMP version 1 and 2
notifications (traps). To stop a host from receiving notifications, use the no form of
this command.
snmp-server host {ip-address | hostname} community traps [v1 | v2][dpport]
no snmp-server host ip-address traps
Syntax Descriptions
Command Modes
Global Config
Related Commands
Command Description
show trapflags Displays trap conditions.
Parameter Description
ip-address |
hostname
The IP address of the host. Or, a hostname from 1-158
characters.
community The community name that determines the set of
notifications that the host receives. The range 1-25
characters.
v1 | v2 The SNMP version that the host supports.
udpport The UDP port number to use to communicate with the
host. The default is 162. The range is 1025-65535.
Command Description
snmp-server
community
Adds (and names) a new SNMP community.