PacketLINK User Manual
14
CLI Command
Description
timeget
Get current time and date
ping ip_addr
Use ICMP to check connection
Example: ping 192.168.1.11
version
Display software version and related information
logout
Quit PacketLINK CLI session and return to CLI login
prompt
reboot
Restart the software. This command will interrupt the
operation of the unit.
Provision Command
gci
Initialise the unit.
srcnet ip_addr net_mask
[source_mac(AA:BB:CC)]
Set WAN port IP address, subnet mask, gateway IP address
and its MAC address. If source_mac is omitted, the last
three numbers of WAN port IP address will be used as its
MAC address.
ip_addr: WAN port IP address to be assigned.
net_mask: subnet mask of IP address.
[source_mac(AA:BB:CC)](OUI is fixed):
WAN port MAC address.
Example: srcnet 172.16.1.1 255.255.255.0
(WAN port MAC address will be set to OUI+10:01:01)
Example: srcnet 172.16.1.1 255.255.255.0 0A:0B:0C
(WAN port MAC address will be set to OUI+0A:0B:0C)
lanset enable bandwidth
Enable LAN port and set its maximum bandwidth on WAN
enable: 0 (disable maximum bandwidth policing)
enable: 1 (enable LAN port bandwidth policing)
bandwidth:
0:
50Kbps
, 1:
100Kbps,
2:
150Kbps
, 3:
200Kbps
,
4:
250Kbps
, 5:
300Kbps
, 6:
350Kbps
, 7:
400Kbps
,
8:
800Kbps
, 9:
1.6Mbps
, 10:
3.125Mbps
, 11:
6.25Mbps
12:
12.5Mbps
, 13:
25Mbps
, 14:
50Mbps
, 15:
100Mbps
Example: lanset 1 7 (enable LAN port and limit its
bandwidth to 400Kbps)