- 22 / 24 -
Command Code
Function Description
Example
Feedback
Default Setting
r mac addr!
Get network MAC address
r mac addr!
Mac address:
00:1C:91:03:80:01
s ip mode z!
Set network IP mode to static
IP or DHCP,
z=0~1 (z=0 Static, z=1 DHCP )
s ip mode 0!
Set IP mode:Static
(Please use "s net
reboot!" command or
repower device to
apply new config!)
r ip mode!
Get network IP mode
r ip mode!
IP Mode: Static
s ip addr
xxx.xxx.xxx.xxx!
Set network IP address
s ip addr
192.168.1.100!
Set IP address:
192.168.1.100 (Please
use "s net reboot!"
command or repower
device to apply new
config!)
DHCP on, Device can't
config static address,
set DHCP off first.
r ip addr!
Get network IP address
r ip addr!
IP:192.168.1.100
s subnet
xxx.xxx.xxx.xxx!
Set network subnet mask
s subnet
255.255.255.0!
Set subnet Mask
address:255.255.255.0
(Please use "s net
reboot!" command or
repower device to
apply new config!)
DHCP on, Device can't
config subnet mask,
set DHCP off first.
r subnet!
Get network subnet mask
r subnet!
Subnet Mask:
255.255.255.0
s gateway
xxx.xxx.xxx.xxx!
Set network gateway
s gateway
192.168.1.1!
Set gateway:
192.168.1.1
Please use "s net
reboot!" command or
repower device to
apply new config!
DHCP on, Device can't
config gateway, set
DHCP off first.
r gateway!
Get network gateway
r gateway!
Gateway:192.168.1.1
s tcp/ip port x!
Set network TCP/IP port
(x=1~65535)
s tcp/ip port 8000!
Set TCP/IP port:8000
r tcp/ip port!
Get network TCP/IP port
r tcp/ip port!
TCP/IP port:8000
s telnet port x!
Set network telnet port
(x=1~65535)
s telnet port 23!
Set Telnet port:23
r telnet port!
Get network telnet port
r telnet port!
Telnet port:23
s net reboot!
Reboot network modules
s net reboot!
Network reboot…
IP Mode: Static
IP: 192.168.1.72
Subnet Mask:
255.255.255.0
Gateway: 192.168.1.1
TCP/IP port=8000
Telnet port=10
Mac address:
00:1C:91:03:80:01