1. Command Syntax and General User Interface
CI has the following command syntax:
command <iface | device > subcommand [param]
command subcommand [param]
command ? | help
command subcommand ? | help
General user interface:
1. |
? | Shows the following commands and all major (sub)commands |
2. |
exit | Returns to SMT |
[ch-name]: enet0, mpoa00
|
Command |
Description |
|||
|
sys |
|
|
|
|
|
|
adjtime |
|
|
retrive
date and time from Internet |
|
|
cbuf |
|
|
|
|
|
|
display |
[a|f|u] |
display
cbuf a: all f: free u: used |
|
|
|
cnt |
|
cbuf
static |
|
|
|
|
display |
display
cbuf static |
|
|
|
|
clear |
clear
cbuf static |
|
|
baud
|
|
<1..5> |
change
console speed |
|
|
callhist |
|
|
|
|
|
|
display |
|
display
call history |
|
|
|
remove |
<index> |
remove
entry from call history |
|
|
clear |
|
|
clear
the counters in GUI status menu |
|
|
countrycode
|
|
[countrycode] |
set
country code |
|
|
date
|
|
[year
month date] |
set/display
date |
|
|
domainname |
|
|
display
domain name |
|
|
edit
|
|
<filename> |
edit
a text file |
|
|
enhanced |
|
|
return
OK if commands are supported for PWC purposes |
|
|
errctl
|
|
[level] |
set
the error control level |
|
|
event |
|
|
|
|
|
|
display |
|
display
tag flags information |
|
|
|
trace |
|
display
system event information |
|
|
|
|
display |
display
trace event |
|
|
|
|
clear
<num> |
clear
trace event |
|
|
extraphnum |
|
|
maintain
extra phone numbers for outcalls |
|
|
|
add
|
<set
1-3> <1st phone num> [2nd phone num] |
add
extra phone numbers |
|
|
|
display |
|
display
extra phone numbers |
|
|
|
node |
<num> |
set
all extend phone number to remote node <num> |
|
|
|
remove
|
<set
1-3> |
remove
extra phone numbers |
|
|
|
reset |
|
reset
flag and mask |
|
|
feature |
|
|
display
feature bit |
|
|
fid |
|
|
|
|
|
|
display |
|
display
function id list |
|
|
firmware |
|
|
display
ISDN firmware type |
|
|
hostname
|
|
[hostname] |
display
system hostname |
|
|
iface |
|
|
|
|
|
|
disp |
[#] |
display
iface list |
|
|
isr |
|
[all|used|free] |
display
interrupt service routine |
|
|
interrupt |
|
|
display
interrupt status |
|
|
logs |
|
|
|
|
|
|
category |
|
|
|
|
|
|
access
[0:none/1:log] |
record
the access control logs |
|
|
|
|
attack
[0:none/1:log/2:alert/3:both] |
record
and alert the firewall attack logs |
|
|
|
|
display |
display
the category setting |
|
|
|
|
error
[0:none/1:log/2:alert/3:both] |
record
and alert the system error logs |
|
|
|
|
ipsec
[0:none/1:log] |
record
the access control logs |
|
|
|
|
|
|
|
|
|
|
mten
[0:none/1:log] |
record
the system maintenance logs |
|
|
|
|
upnp
[0:none/1:log] |
record
upnp logs |
|
|
|
|
urlblocked
[0:none/1:log/2:alert/3:both] |
record
and alert the web blocked logs |
|
|
|
|
urlforward
[0:none/1:log] |
record
web forward logs |
|
|
|
clear |
|
clear
log |
|
|
|
display |
|
display
all logs |
|
|
|
errlog |
|
|
|
|
|
|
clear |
display
log error |
|
|
|
|
disp |
clear
log error |
|
|
|
|
online |
turn
on/off error log online display |
|
|
|
load |
|
load
the log setting buffer |
|
|
|
mail |
|
|
|
|
|
|
alertAddr
[mail address] |
send
alerts to this mail address |
|
|
|
|
display |
display
mail setting |
|
|
|
|
logAddr
[mail address] |
send
logs to this mail address |
|
|
|
|
schedule
display |
display
mail schedule |
|
|
|
|
schedule
hour [0-23] |
hour
time to send the logs |
|
|
|
|
schedule
minute [0-59] |
minute
time to send the logs |
|
|
|
|
schedule
policy [0:full/1:hourly/2:daily/3:weekly/4:none] |
mail
schedule policy |
|
|
|
|
schedule
week [0:sun/1:mon/2:tue/3:wed/4:thu/5:fri/6:sat] |
weekly
time to send the logs |
|
|
|
|
server
[domainName/IP] |
mail
server to send the logs |
|
|
|
|
subject
[mail subject] |
mail
subject |
|
|
|
save |
|
save
the log setting buffer |
|
|
|
syslog |
|
|
|
|
|
|
active
[0:no/1:yes] |
active
to enable unix syslog |
|
|
|
|
display |
display
syslog setting |
|
|
|
|
facility
[Local ID(1-7)] |
log
the messages to different files |
|
|
|
|
server
[domainName/IP] |
syslog
server to send the logs |
|
|
mbuf |
|
|
|
|
|
|
cnt |
|
|
|
|
|
|
disp |
display
system mbuf count |
|
|
|
|
clear |
clear
system mbuf count |
|
|
|
link |
link |
list
system mbuf link |
|
|
|
pool
|
<id>
[type] |
list
system mbuf pool |
|
|
|
status |
|
display
system mbuf status |
|
|
|
disp |
<address> |
display
mbuf status |
|
|
|
debug
|
[on|off] |
|
|
|
memory
|
|
<address>
<length> |
display
memory content |
|
|
memwrite |
|
<address>
<len> [data list ...] |
write
some data to memory at <address> |
|
|
memwl |
|
<address> |
write
long word to memory at <address> |
|
|
memrl |
|
<address> |
read
long word at <address> |
|
|
memutil |
|
|
|
|
|
|
usage |
|
display
memory allocate and heap status |
|
|
|
mqueue |
<address>
<len> |
display
memory queues |
|
|
|
mcell |
mid
[f|u] |
display
memory cells by given ID |
|
|
|
msecs |
[a|f|u] |
display
memory sections |
|
|
|
mtstart |
<n-mcell> |
start
memory test |
|
|
|
mtstop |
|
stop
memory test |
|
|
|
mtalloc |
<size>
[n-mcell] |
allocate
memory for testing |
|
|
|
mtfree |
<start-idx>
[end-idx] |
free
the test memory |
|
|
model |
|
|
display
server model name |
|
|
proc |
|
|
|
|
|
|
display |
|
display
all process information |
|
|
|
stack |
[tag] |
display
process's stack by a give TAG |
|
|
|
pstatus |
|
display
process's status by a give TAG |
|
|
queue |
|
|
|
|
|
|
display |
[a|f|u]
[start#] [end#] |
display
queue by given status and range numbers |
|
|
|
ndisp |
[qid] |
display
a queue by a given number |
|
|
quit |
|
|
quit
CI command mode |
|
|
reboot |
|
[code] |
reboot
system |
|
|
reslog |
|
|
|
|
|
|
disp |
|
display
resources trace |
|
|
|
clear |
|
clear
resources trace |
|
|
stdio |
|
[second] |
change
terminal timeout value |
|
|
time
|
|
[hour
[min [sec]]] |
display/set
system time |
|
|
timer |
|
|
|
|
|
|
disp |
|
display
timer cell |
|
|
|
trace |
[on|off] |
set/display
timer information online |
|
|
|
start |
[tmValue] |
start
a timer |
|
|
|
stop |
<ID> |
stop
a timer |
|
|
trcdisp |
|
|
monitor
packets |
|
|
trclog |
|
|
|
|
|
|
switch |
[on|off] |
set
system trace log |
|
|
|
online |
[on|off] |
set
on/off trace log online |
|
|
|
level
|
[level] |
set
trace level of trace log #:1-10 |
|
|
|
type
|
<bitmap> |
set
trace type of trace log |
|
|
|
disp |
|
display
trace log |
|
|
|
clear |
|
clear
trace |
|
|
|
call |
|
display
call event |
|
|
|
encapmask
|
[mask] |
set/display
tracelog encapsulation mask |
|
|
trcpacket |
|
|
|
|
|
|
create
|
<entry>
<size> |
create
packet trace buffer |
|
|
|
destroy |
|
packet
trace related commands |
|
|
|
channel |
<name>
[none|incoming|outgoing|bothway] |
<channel
name>=enet0,sdsl00, fr0 |
|
|
|
string |
|
enable
smt trace log |
|
|
|
switch
|
[on|off] |
turn
on/off the packet trace |
|
|
|
disp |
|
display
packet trace |
|
|
|
udp |
|
send
packet trace to other system |
|
|
|
|
switch
[on|off] |
set
tracepacket upd switch |
|
|
|
|
addr
<addr> |
send
trace packet to remote udp address |
|
|
|
|
port
<port> |
set
tracepacket udp port |
|
|
|
parse
|
[[start_idx],
end_idx] |
parse
packet content |
|
|
|
brief |
|
display
packet content briefly |
|
|
version |
|
|
display
RAS code and driver version |
|
|
view |
|
<filename> |
view
a text file |
|
|
wdog |
|
|
|
|
|
|
switch |
[on|off] |
set
on/off wdog |
|
|
|
cnt |
[value] |
display
watchdog counts value: 0-34463 |
|
|
romreset |
|
|
restore
default romfile |
|
|
server |
|
|
|
|
|
|
access |
<telnet|ftp|web|icmp|snmp|dns>
<value> |
set
server access type |
|
|
|
load |
|
load
server information |
|
|
|
disp |
|
display
server information |
|
|
|
port |
<telnet|ftp|web|snmp>
<port> |
set
server port |
|
|
|
save |
|
save
server information |
|
|
|
secureip |
<telnet|ftp|web|icmp|snmp|dns>
<ip> |
set
server secure ip addr |
|
|
spt |
|
|
|
|
|
|
dump |
|
dump
spt raw data |
|
|
|
|
root |
dump
spt root data |
|
|
|
|
rn |
dump
spt remote node data |
|
|
|
|
user |
dump
spt user data |
|
|
|
|
slot |
dump
spt slot data |
|
|
|
save |
|
save
spt data |
|
|
|
size |
|
display
spt record size |
|
|
|
clear |
|
clear
spt data |
|
|
cmgr |
|
|
|
|
|
|
trace |
|
|
|
|
|
|
disp
<ch-name> |
show
the connection trace of this channel |
|
|
|
|
clear
<ch-name> |
clear
the connection trace of this channel |
|
|
|
cnt |
<ch-name> |
show
channel connection related counter |
|
|
socket |
|
|
display
system socket information |
|
|
filter |
|
|
|
|
|
|
clear |
|
clear
filter statistic counter |
|
|
|
disp |
|
display
filter statistic counters |
|
|
|
sw |
[on|off] |
set
filter status switch |
|
|
|
set |
<set> |
display
filter rule |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
netbios |
|
|
|
|
|
|
disp |
display
netbios filter status |
|
|
|
|
config
<0:LAN to WAN, 1:WAN to LAN, 2:LAN to DMZ, 3:IPSec passthrough,
4:Trigger Dial> <on|off> |
config
netbios filter |
|
|
ddns |
|
|
|
|
|
|
debug |
<level> |
enable/disable
ddns service |
|
|
|
display |
<iface
name> |
display
ddns information |
|
|
|
restart |
<iface
name> |
restart
ddns |
|
|
|
logout |
<iface
name> |
logout
ddns |
|
|
cpu |
|
|
|
|
|
|
display |
|
display
CPU utilization |
|
Command |
Description |
|||
|
exit |
|
|
|
exit
smt menu |
<ch-name> : enet0, mpoa00
|
Command |
Description |
|||
|
ether |
|
|
|
|
|
|
config |
|
|
display
LAN configuration information |
|
|
driver |
|
|
|
|
|
|
cnt |
|
|
|
|
|
|
disp
<name> |
display
ether driver counters |
|
|
|
|
clear
<name> |
clear
ether driver counters |
|
|
|
iface |
<ch_name>
<num> |
send
driver iface |
|
|
|
ioctl |
<ch_name> |
Useless
in this stage. |
|
|
|
mac |
<ch_name>
<mac_addr> |
Set
LAN Mac address |
|
|
|
reg |
<ch_name> |
display
LAN hardware related registers |
|
|
|
rxmod |
<ch_name>
<mode> |
set
LAN receive mode. mode:
1: turn off receiving 2:
receive only packets of this interface 3:
mode 2+ broadcast 5:
mode 2 + multicast 6:
all packets |
|
|
|
status |
<ch_name> |
see
LAN status |
|
|
|
init |
<ch_name> |
initialize
LAN |
|
|
version |
|
|
see
ethernet device type |
|
|
pkttest |
|
|
|
|
|
|
disp |
|
|
|
|
|
|
packet
<level> |
set
ether test packet display level |
|
|
|
|
event
<ch> [on|off] |
turn
on/off ether test event display |
|
|
|
sap |
[ch_name] |
send
sap packet |
|
|
|
arp |
<ch_name>
<ip-addr> |
send
arp packet to ip-addr |
|
|
|
mem |
<addr>
<data> [type] |
write
memory data in address |
|
|
test |
|
<ch_id>
<test_id> [arg3] [arg4] |
do
LAN test |
|
|
pncconfig |
|
<ch_name> |
do
pnc config |
|
|
mac |
|
<src_ch>
<dest_ch> <ipaddr> |
fake
mac address |
<hostid> format : xxx.xxx.xxx.xxx (ip Address)
<ether addr> format : xx:xx:xx:xx:xx:xx
<iface> : enif0, wanif0
<gw> : gateway ip address
|
Command |
Description |
|||
|
ip |
|
|
|
|
|
|
address |
|
[addr] |
display
host ip address |
|
|
loopbackaddr |
|
<IP1> [IP2] |
Set loopback address. |
|
|
alias |
|
<iface> |
alias iface |
|
|
aliasdis |
|
<0|1> |
disable
alias |
|
|
arp |
|
|
|
|
|
|
status |
<iface> |
display
ip arp status |
|
|
|
add |
<hostid>
ether <ether addr> |
add
arp information |
|
|
|
resolve |
<hostid> |
resolve
ip-addr |
|
|
|
drop |
<hostid>
[hardware] |
drop
arp |
|
|
|
flush |
|
flush
arp table |
|
|
|
publish |
|
add
proxy arp |
|
|
dhcp |
|
<iface> |
|
|
|
|
client |
|
|
|
|
|
|
release |
release
DHCP client IP |
|
|
|
|
renew |
renew
DHCP client IP |
|
|
|
mode |
<server|relay|none|client> |
set
dhcp mode |
|
|
|
relay |
server
<serverIP> |
set
dicp relay server ip-addr |
|
|
|
reset |
|
reset
dhcp table |
|
|
|
server |
|
|
|
|
|
|
probecount
<num> |
set
dhcp probe count |
|
|
|
|
dnsserver
<IP1> [IP2] [IP3] |
set dns server ip-addr |
|
|
|
|
winsserver <winsIP1> [<winsIP2>] |
set wins server ip-addr |
|
|
|
|
gateway
<gatewayIP> |
set
gateway |
|
|
|
|
hostname
<hostname> |
set
hostname |
|
|
||||