beautypg.com

Destroy snmp community – Allied Telesis AT-S39 User Manual

Page 53

background image

AT-S39 Command Line Interface User’s Guide

53

DESTROY SNMP COMMUNITY

Syntax

destroy snmp community=”community

Parameter

community

Specifies the community string you want to delete

from the switch. 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.

Description

This command deletes the Read or Write community string from the
switch. You must delete a community string prior to assigning a new
string. For example, to change the Read community string from its
default “public” to something else, you first need to delete the “public”
string using this command, and then create the new string using the
CREATE SNMP command.

Example

The following command deletes the community string “public”:

destroy snmp community=public