
34
MES3000 Ethernet switch series
Example of commands for assigning
eltex
password for
admin
user and creation of
operator
user with
pass
password and the privilege level 1:
console#
configure
console(config)#
username
admin
password
eltex
console(config)#
username
operator
password
pass
privilege
1
console(config)#
exit
console#
4.5.1.2
Static IP address, subnet mask, default gateway configuration
In order to manage the switch from the network, you have to configure the device IP address,
subnet mask and default gateway, if the device is managed from another network. You can assign IP
address to any interface—VLAN, physical port, port group (by default, on VLAN 1 interface assigned IP
address 192.168.1.239, mask 255.255.255.0). Gateway IP address should belong to the same subnet with
the one of IP interfaces of the device.
If the IP address is configured for the physical port or port group interface, this interface
will be deleted from its VLAN group.
If all switch IP addresses will be deleted, you can access it via IP address 192.168.1.239/24.
Example of commands for IP address configuration on VLAN1 interface.
Interface parameters:
IP address to be assigned for VLAN 1 interface—192.168.16.144
Subnet mask—255.255.255.0
Default gateway IP address—192.168.16.1
console#
configure
console(config)#
interface vlan
1
console(config-if)#
ip address
192.168.16.144 /24
console(config-if)#
exit
console(config)#
ip default-gateway
192.168.16.1
console(config)#
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 static
IP Address Type
--------------------- ------------------
192.168.16.144 /24 Static
4.5.1.3
Obtaining IP address from DHCP server
If the there is DHCP server in the network, you can obtain the IP address via DHCP. You can obtain
IP address from DHCP server using any interface—VLAN, physical port, port group.