beautypg.com

Snmp-server set – Allied Telesis AT-S95 CLI User Manual

Page 214

background image

Page 202

Not approved by Document Control. For review only.

Allied Telesis

Command Line Interface User’s Guide

Parameters

text — Specifies a string that describes system location information. (Range: 0-160 characters)

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

Do not include spaces in the text string or place text that includes spaces inside quotation marks.

Example

The following example defines the device location as New_York.

snmp-server set

The snmp-server set Global Configuration mode command defines the SNMP MIB value.

Syntax

snmp-server set variable-name namg1 value1 [ name2 value2 …]

Parameters

variable-name — MIB variable name.

name value — List of name and value pairs. In the case of scalar MIBs, only a single pair of name values. In

the case of an entry in a table, at least one pair of name and value followed by one or more fields.

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

Although the CLI can set any required configuration, there might be a situation where a SNMP user sets a MIB
variable that does not have an equivalent command. In order to generate configuration files that support those
situations, the snmp-server set command is used.

This command is case-sensitive.

Example

The following example configures the scalar MIB sysName with the value ati.

Console(config)# snmp-server location New_York

Console(config)# snmp-server set sysName sysname ati