set snmp

escription

Configures SNMP agent settings.

Syntax

set snmp agent <agent> [ agent-version <agent-version> ] [ community <community> ] [ contact <contact> ] [ location <location> ]

Parameters

Parameter

Description

agent

Is SNMP option enabled or disabled, disabled is the default

Type: Boolean (true/false)

agent-version

Is the defined SNMP version is version3 only

Type: Boolean (true/false)

community

Community name of the SNMP, public is the default

Type: A string of alphanumeric characters without space between them

contact

System contact name, maximum length is 128

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

location

System location name

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

Example

set snmp agent true agent-version true community word contact myContact location myLocation