5.5 Configure SNMP trap server host
The trap server host is in charge of receiving TRAP, the default interface is 162
Command
config
snmp-server
{<1-65535>}
exit
show snmp-server host
Using no snmp-server host A.B.C.D to delete a trap server host in
global configuration mode
For example: add a trap server host which IP address is 192.168.1.16
OPCOM3100# config
Configuration mode, one command input per time. End with CTRL
OPCOM3100(config)# snmp -server host 192.168.1.16
Set trap server successfully
OPCOM3100(config)# exit
OPCOM3100# show snmp –server host
Trap server:
ADDRESS
---------------------
192.168.1.16
Description
Enter global configuration mode
host
A.B.C.D
Configuring a SNMP trap server host
A.B.C.D
decimal with dot
{<1-65535>}
server
Exit from the global configuration mode to
privileged mode
Show the information of the trap server host
PORT
162
Raisecom Technology Co., Ltd
the IP address of the host in
interface number for trap
16