beautypg.com

Snmp set – Allied Telesis AT-S97 User Manual

Page 206

background image

Chapter 11: Simple Network Management Protocol (SNMP) Commands

206

SNMP SET

Syntax

snmp set mgrip1=

ipaddress

mgrip2=

ipaddress

mgrip3=

ipaddress

mgrip4=

ipaddress

Get-community=

string

Set-community=

string

Trap-community=

string

Parameters

mgrip1 - mrip4

Sets the IP addresses of up to four trap receivers.

The IP addresses have to be entered in the
following format: xxx.xxx.xxx.xxx To replace a
current value without entering a new value, enter
the default value, 0.0.0.0. This parameter is
optional.

Get-community

Sets the get community string. The string can be up
to 14 alphanumeric characters. The string is case
sensitive and can contain special characters,
including spaces. However, a community string with
spaces must be enclosed in double quotes (“ “). The
default value is “public.”

Set-community

Sets the set community string. The string can be up

to 14 alphanumeric characters. The string is case
sensitive and can contain special characters,
including spaces. However, a community string with
spaces must be enclosed in double quotes (“ “). The
default value is “private.”

Trap-community

Sets the trap community string. The string can be up
to 14 alphanumeric characters. The string is case
sensitive and can contain special characters,
including spaces. However, a community string with
spaces must be enclosed in double quotes (“ “). The
default value is “public.”

Privilege Levels

Administrator and read-write

Description

This command is used to set the SNMPv1 and SNMPv2c community
strings and to specify the IP addresses of up to four trap receivers.

This manual is related to the following products: