Delete snmp community – Allied Telesis AT-S63 User Manual

Page 136

Advertising
background image

Chapter 7: SNMPv1 and SNMPv2c Commands

136

Section I: Basic Features

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 or special character, such as an
exclamation point. 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 community strings.

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 the IP address of 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

Command

Available

AlliedWare Plus

Advertising