Setup guide
Property Description
enabled (yes | no) - whether the SNMP service is enabled
contact (text; default: "") - contact information for the NMS
location (text; default: "") - location information for the NMS
Example
To enable the service, specifying some info:
[admin@Wandy] snmp> set contact="admin@riga-2" location="3rd floor" enabled="yes"
[admin@Wandy] snmp> print
enabled: yes
contact: admin@riga-2
location: 3rd floor
[admin@Wandy] snmp>
SNMP Communities
snmp community
Description
The community name is a value in SNMPv1 header. It is like a 'username' for connecting to the
SNMP agent. The default community for SNMP is public.
Property Description
name (name) - community name
address (IP address/mask; default: 0.0.0.0/0) - allow requests only from these addresses
• 0.0.0.0/0 - allow access for any address
read-access (yes | no; default: yes) - whether the read access is enabled for the community
Example
To view existing communities:
[admin@Wandy] snmp community> print
# NAME ADDRESS READ-ACCESS
0 public 0.0.0.0/0 yes
[admin@Wandy] snmp community>
You can disable read access for the community public:
[admin@Wandy] snmp community> set 0 read-access=no
[admin@Wandy] snmp community> print
# NAME ADDRESS READ-ACCESS
0 public 0.0.0.0/0 no
[admin@Wandy] snmp community>
To add the community called communa, that is only accessible from the 159.148.116.0/24
network:
Available OIDs
Description