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
Command |
Description |
|||
sys |
|
|
|
|
|
baud |
|
<1..5> |
change console speed |
|
countrycode |
|
[countrycode] |
set country code |
|
dir |
|
|
display file directory |
|
date |
|
[year month date] |
set/display date |
|
edit |
|
<filename> |
edit a text file |
|
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 |
|
feature |
|
|
display feature bit |
|
fid |
|
|
|
|
|
display |
|
display function id list |
|
hostname |
|
[hostname] |
display system hostname |
|
iface |
|
|
|
|
|
disp |
[#] |
display iface list |
|
isr |
|
[all|used|free] |
display interrupt service routine |
|
map |
|
|
display whole memory map content |
|
mbuf |
|
|
|
|
|
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> |
|
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 |
|
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
|
|
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 |
|
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 |
|
|
dead |
|
let watch dog take place using while loop |
|
romreset |
|
|
restore default romfile |
|
password |
|
|
change system password |
|
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 |
|
|
set |
<offset> <len> <value...> |
set spt value in memory address |
|
|
save |
|
save spt data |
|
|
size |
|
display spt record size |
|
|
clear |
|
clear spt data |
|
datetime |
|
|
|
|
|
period |
|
day period to synchronize with time server |
|
quickbrg |
|
|
|
|
|
enable |
|
enable quick bridge |
|
|
disable |
|
disable quick bridge |
|
|
multiqb |
|
|
|
|
|
on |
turn on multiple quick bridge |
|
|
|
off |
turn off multiple quick bridge |
|
|
|
status |
display multiple quick bridge status |
|
|
status |
|
display quick bridge status |
|
socket |
|
|
display system socket information |
|
atsh |
|
|
display manufactory data |
|
atwe |
|
|
set mac address, country code |
|
atdc |
|
|
disable check model mechanism |
|
cpu |
|
|
|
|
|
display |
|
display CPU utilization |
Command |
Description |
|||
exit |
|
|
|
exit
smt menu |
<ch-name> : enet0
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 |
|
|
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 |
|
|
config |
[0|1=auto|normal] [0|1=10|100] [0|1=HD|FD] <ch-name> |
configure mac phy mode |
|
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 |
|
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
Command |
Description |
|||
ip |
|
|
|
|
|
address |
|
[addr] |
display host ip address |
|
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 |
|
ifconfig |
|
[iface] [ipaddr] [broadcast <addr> |mtu <value>|dynamic] |
configure network interface |
|
ifdrop |
|
<iface> |
chaek if iface is available. |
|
ping |
|
<hostid> |
ping remote host |
|
pong |
|
<hostid> [<size> <time-interval>] |
pong remote host |
|
route |
|
|
|
|
|
status |
[if] |
display routing table |
|
|
add |
<dest_addr|default>[/<bits>] <gateway> [<metric>] |
add route |
|
|
addiface |
<dest_addr|default>[/<bits>] <gateway> [<metric>] |
add an entry to the routing table to iface |
|
|
addprivate |
<dest_addr|default>[/<bits>] <gateway> [<metric>] |
add private route |
|
|
drop |
<host addr> [/<bits>] |
drop a route |
|
|
flush |
|
flush route table |
|
|
lookup |
<addr> |
find a route to the destination |
|
|
errcnt |
|
|
|
|
|
disp |
display routing statistic counters |
|
|
|
clear |
clear routing statistic counters |
|
status |
|
|
display ip statistic counters |
|
tcp |
|
|
|
|
|
ceiling |
[value] |
TCP maximum round trip time |
|
|
floor |
[value] |
TCP minimum rtt |
|
|
irtt |
[value] |
TCP default init rtt |
|
|
kick |
<tcb> |
kick tcb |
|
|
limit |
[value] |
set tcp output window limit |
|
|
mss |
[value] |
TCP input MSS |
|
|
reset |
<tcb> |
reset tcb |
|
|
rtt |
<tcb> <value> |
set round trip time for tcb |
|
|
status |
[tcb] [<interval>] |
display TCP statistic counters |
|
|
syndata |
[on|off] |
TCP syndata piggyback |
|
|
trace |
[on|off] |
turn on/off trace for debugging |
|
|
window |
[tcb] |
TCP input window size |
Command |
Description |
|||
wan |
adsl |
|
|
|
|
|
chandata |
|
ADSL channel data, line rate |
|
|
close |
|
close ADSL line |
|
|
linedata |
|
|
|
|
|
near |
show ADSL near end noise margin |
|
|
|
far |
show ADSL far end noise margin |
|
|
open |
|
open ADSL line |
|
|
opencmd |
|
open ADSL line with specific standard |
|
|
|
gdmt |
|
|
|
|
multimode |
|
|
|
opmode |
|
show the operational mode |
|
|
rateadap |
[on|off] |
turn on/off rate adaptive mechanism |
|
|
perfdata |
|
show performance information,CRC,FEC, error seconds.. |
|
|
reset |
|
reset ADSL modem, and must reload the modem code again |
|
|
status |
|
ADSL status (ex: up, down or wait for init) |
|
|
targetnoise |
[value] |
adjust target noise offset |
|
|
modem_code |
|
display modem code version. |
|
atm |
test |
[fix|rand|period|oam|loopback] |
generate ATM traffic |
|
hwsar |
disp |
|
display hwsar packets incoming/outgoing information |
|
|
clear |
|
clear hwsar packets information |
|
node |
index |
[1~2] |
select remote node index |
|
|
clear |
|
clear the parameters of the temporary WAN profile |
|
|
save |
|
save the related parameters of WAN node |
|
|
display |
|
display WAN profile configuration in buffer |
|
|
ispname |
[ISP name] |
set remote node name. |
|
|
enable |
|
enable the remote node |
|
|
disable |
|
disable the remote node |
|
|
encap |
[1483|pppoa|pppoe|enet] |
set the encapsulation of remote node. |
|
|
mux |
[vc|llc] |
set the remote node multiplex |
|
|
vpi |
[num] |
set the remote node vpi. Range : 0~255 |
|
|
vci |
[num] |
set the remote node vci. Range : 32~65535 |
|
|
qos |
[ubr|cbr|vbr] |
set the remote node QOS type to be UBR, CBR or VBR |
|
|
pcr |
[num] |
set the remote node PCR value |
|
|
scr |
[num] |
set the remote node SCR value |
|
|
mbs |
[num] |
set the remote node MBS value |
|
|
bridge |
[on|off] |
set the remote node bridge mode |
|
|
routeip |
[on|off] |
set the remote node IP routing mode |
|
|
|
|
|
Command |
Description |
|||
bridge |
|
|
|
|
|
mode |
|
<1/0> (enable/disable) |
turn on/off (1/0) LAN promiscious mode |
|
blt |
|
|
related to bridge local table |
|
|
disp |
<channel> |
display blt data |
|
|
reset |
<channel> |
reset blt data |
|
|
traffic |
|
display local LAN traffic table |
|
|
monitor |
[on|off] |
turn on/off traffice monotor. Default is off. |
|
|
time |
<sec> |
set blt re-init interval |
|
brt |
|
|
related to bridge route table |
|
|
disp |
[id] |
display brt data |
|
|
reset |
[id] |
reset brt data |
|
cnt |
|
|
related to bridge routing statistic table |
|
|
disp |
|
display bridge route counter |
|
|
clear |
|
clear bridge route counter |
|
stat |
|
|
related to bridge packet statistic table |
|
|
disp |
|
display bridge route packet counter |
|
|
clear |
|
clear bridge route packet counter |
|
disp |
|
|
display bridge source table |
Command |
Description |
|||
lan |
|
|
|
|
|
index |
|
<1:main LAN> |
Select main LAN Interface |
|
ipaddr |
|
<address> <subnet mask> |
Set lan ip address. |
|
display |
|
|
Display LAN parameters |
|
clear |
|
|
Clear the Working Buffer |
|
save |
|
|
Save LAN related parameters |
All contents copyright © 2004 ZyXEL Communications Corporation.