Chapter 6: Command Line Interface
170 GE-DS-242-PoE Managed Ethernet Switch User Manual
Trap Managers
snmp trap
Description:
Set SNMP trap receiver IP address, community string, and port number.
Syntax:
snmp trap <ip-addr> [<community-str>] [<1..65535>]
Parameters:
<ip-addr> specifies the IP address.
<community-str> specifies the community string.
<1..65535> specifies the trap receiver port number.
e.g. snmp trap 192.168.200.1 public
no snmp trap
Description:
Remove trap receiver IP address and port number.
Syntax:
no snmp trap <ip-addr> [<1..65535>]
Parameters:
<ip-addr> specifies the IP address.
<1..65535> specifies the trap receiver port number.
e.g. no snmp trap 192.168.200.1
show snmp trap
Description:
Show all trap receivers.