Configuration example for obtaining dynamic IP address from DHCP server on VLAN 1 interface:
console# configure
console(config)# interface vlan 1
console(config-if)# ip address dhcp
console(config-if)# exit
console#
To ensure the correct IP address assigning for the interface, enter the following command:
console# show ip interface vlan 1
Gateway IP Address Activity status Type
--------------------- ------------------ --------
192.168.16.1 Active DHCP
IP Address Type
------------------- ------------
192.168.16.149 /24 DHCP
4.5.1.4 Configuration of SNMP settings for device access
The device equipped with the integrated SNMP agent and supports v1/v2с/v3 protocol versions.
SNMP agent supports the set of standard MIB variables.
To enable the device administration via SNMP, you have to create at least one community string.
MES3000 switches support three types of community strings:
– ro—defines read-only access
– rw—defines read-write access
– su—defines SNMP administrator access
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# 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