6. Command Reference of RPCM CLI
6.8.12.1 Command
set
snmp
adminState
It administratively enables or disables the SNMP agent, allowing or denying work with this pro-
tocol.
The available values are:
on
or
off
.
Help displays:
set snmp adminState ?
The return is:
Please set 'on' or 'off'.
Example
. Turning SNMP access off and on again.
stopping the agent:
set snmp adminState off
The return is:
SNMP Agent administrative state is now off
Agent startup:
set snmp adminState on
The return is:
SNMP Agent administrative state is now on
6.8.12.2. Command
set
snmp
community
It controls the configuration of access via SNMP version
1
and
2c
.
Options available are the following:
--accessList
— allowed subnet or a separate IP address;
--accessType
— access type;
ro
or
rw
values are used;
--enabled
— newly created community will be enabled or disabled (this property can be
changed later),
yes
or
no
values are available.
Only the short auto-completion help is available.
The command
set snmp community
displays the names of the created community after the key
Tab
is pressed twice.
newcommunity public
If there is only one community entry in the system, you can use the auto-completion hint:
set snmp community public --
after the key
Tab
is pressed twice, it will return:
--accessList --accessType --enabled
299