beautypg.com

8 show snmp, Command mode, User guidelines – Planet Technology WGSD-8000 User Manual

Page 293: Examples, Syntax, Default configuration, Example

background image

User’s Manual of WGSD-1022/WGSD-8000

- 293 –

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.

Syntax

show snmp

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays the SNMP communications status.

Console# show snmp