Delete snmp community traphost – Allied Telesis AT-S39 User Manual
Page 52
Chapter 5: SNMP Community Strings and Trap Commands
52
DELETE SNMP COMMUNITY TRAPHOST
Syntax
delete snmp community=”community”
traphost=ipaddress
Parameters
community
Specifies the switch’s SNMP Read or Write
community string. Community strings are case
sensitive. The string must be enclosed in double
quotes if it contains a space or special character,
such as an exclamation point; otherwise, the quotes
are optional.
traphost
Specifies the IP address of a management
workstation that should not receive traps from the
switch.
Description
This command deletes the IP address of a management workstation that
you no longer want to receive traps from the switch.
To use this command, you must specify the switch’s Read or Write
community string. You can specify either string.
To view the community strings and the IP addresses of trap receivers,
use the SHOW SNMP command.
Example
The following command deletes the IP address 149.212.11.22 of a
management workstation that should no longer receive traps from the
switch. It uses the default SNMP Read access community string “public”.
add snmp community=public traphost=149.212.11.22