38 MES1000, MES2000 Ethernet Switches
SNMP protocol can be used for changing any device parameters except for the management IP
address, SNMP community name and the user privilege level.
To enable the device administration via SNMP protocol, you have to create at least one community
string. Switches support three types of communities:
– Read Only (ro)—community members will have read-only access (configuration viewing
rights), they will not be able to change any parameters.
– Read/Write (rw)—community members will have read-write access and will be able to
change configuration parameters.
– Super (su)—community members will have administrator's privileges.
Most commonly used community strings—public with read-only access to MIB objects, and private
with read-write access to MIB objects. You can assign the IP address of the management station for each
community.
Example of private community creation with read-write access and management station IP
address 192.168.16.44:
console> enable
console# configure
console(config)# snmp-server server
console(config)# snmp-server community private rw 192.168.16.44
console (config)# exit
console#
Use the following command to view the created community strings and SNMP settings:
console# show snmp
SNMP is enabled.
Community-String Community-Access View name IP address
-------------------- ------------------ -------------- ------------
private read write Default 192.168.16.44
Community-String Group name IP address Type
------------------ ------------------ --------------- ------
Traps are enabled.
Authentication-failure trap is enabled.
Version 1,2 notifications
Target Address Type Community Version Udp Filter To Retries
Port name Sec
---------------- -------- ----------- ---------- ----- ------- ----- ---------
Version 3 notifications
Target Address Type Username Security Udp Filter To Retries
Level Port name Sec
---------------- -------- ----------- -------- ----- ------- ----- ---------
System Contact:
System Location: