Delete snmp community – Allied Telesis AT-S62 User Manual
Page 80
Chapter 6: SNMPv1 and SNMPv2 Community Strings and Trap Commands
80
DELETE SNMP COMMUNITY
Syntax
delete snmp community=”community”
traphost=ipaddress manager=ipaddress
Parameters
community
Specifies the SNMP community string on the switch
to be modified. The community string must already
exist on the switch. This parameter is case sensitive.
The name must be enclosed in double quotes if it
contains a space. Otherwise, the quotes are optional.
traphost
Specifies the IP address of a trap receiver to be
removed from the community string.
manager
Specifies the IP address of a management station to
be removed from the community string.
Description
This command removes the IP addresses of trap receivers and
management workstations from a community string.
The TRAPHOST parameter removes the IP address of a trap receiver from
an SNMP community string. Once an IP address is removed, the switch
will not send SNMP traps to the trap receiver represented by the address.
The MANAGER parameter removes a management station from the
community string. A management station removed from a community
string with a closed status can no longer use SNMP and the community
string to manage the switch. If you remove the last management station
IP address from a community string with a closed status, no SNMP
management station can access the switch using that community string.
Examples
The following command deletes the IP address 149.212.11.22 of a
management station from the community string “private.”
delete snmp community=private
manager=149.212.11.22
The following command deletes the IP address 149.212.44.45 of a trap
receiver from the community string “public.”
delete snmp community=public
traphost=149.212.44.45