Snmp-Server Set; Show Snmp - Planet WGSD-1022 User Manual

8-port 10/100mbps + 2 gigabit tp/sfp combo managed ethernet switch
Hide thumbs Also See for WGSD-1022:
Table of Contents

Advertisement

5.20.7 snmp-server set

The snmp-server set global configuration command sets SNMP MIB value by the CLI.
Syntax
snmp-server set variable-name name1 value1 [name2 value2 ...]
variable-name — MIB variable name.
name value... — List of name and value pairs. In case of scalar MIBs there is only a single pair of
name values. In case of entry in a table the first pairs are the indexes, 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 context sensitive.
Examples
The following example sets the scalar MIB "sysName" to have the value "abc".
Console (config)# snmp-server set sysName sysname abc
The following example sets the entry MIB "rndCommunityTable" with keys 0.0.0.0 and "public". The field
rndCommunityAccess gets the value "super" and the rest of the fields get their default values.
Console (config)# snmp-server set rndCommunityTable
rndCommunityMngStationAddr 0.0.0.0 rndCommunityString public
rndCommunityAccess super

5.20.8 show snmp

The show snmp privileged EXEC command displays the SNMP status.

Advertisement

Table of Contents
loading

Table of Contents