beautypg.com

Delete snmp community traphost – Allied Telesis AT-S39 User Manual

Page 55

background image

AT-S39 Command Line Interface User’s Guide

55

DELETE SNMP COMMUNITY TRAPHOST

Syntax

delete snmp community=community
traphost=ipaddress

Parameters

community

Specifies the switch’s SNMP Read or Write

community string.

traphost

Specifies the IP address of a management

workstation you want to delete from the switch.

Description

You can use this command to delete the IP address of a management
workstation that you no longer want to receive trap from the switch.

In using this command, you must specify the switch’s Read or Write
community string. You can specify either string. It does not matter which
you use. (To view the community strings or to see the management
workstation IP addresses that have already been entered, use the SHOW
SNMP command.)

Example

The following command deletes the IP address 149.212.11.22 of a
management workstation that is to 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

As mentioned previously, you can use either community string to delete
IP addresses of management workstations. The above command could
just as well have been performed using the SNMP Write community
string. The result would have been the same.