A Complete CI Command List for ZyNOS
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:
|
|
? | Shows the following commands and all major (sub)commands |
|
|
exit | Returns to SMT |
2. Main Menu
Main Menu command summary:
|
|
Device | for dialing |
|
|
Bridge | for bridge protocol |
|
|
Radius | for Radius Authentication |
|
|
Ip | for Internet TCP/IP protocol family |
|
|
Ipx | for Novell NetWare IPX protocol family |
|
|
Isdn | for ISDN firmware |
|
|
Ether | for LAN debugging |
|
|
Ppp | for PPP protocol |
|
|
L2tp | for L2tp protocol |
|
|
Snmp | for SNMP protocol (future) |
|
|
Sys | for System wide configuration |
[ch-name]: bri0, bri1
| sys | ||||
| callhist | ||||
| add | add entry to call history | |||
| display | display system call history | |||
| remove | remove entry from call histroy | |||
| cbuf | ||||
| cnt | disp | display cbuf static | ||
| clear | clear cbuf static | |||
| disp | [a|f|u] | display cbuf a: all f: free u: used | ||
| clock | display | display clock procedure | ||
| cmgr | ||||
| trace | [disp|clear] [ch-name] | display or clear channel connection manager trace | ||
| data | [ch-name] | display channel connection manager data | ||
| country | <country code> | set country code | ||
| dir | display file directory | |||
| edit | <filename> | edit a text file | ||
| errctl | turn on/off error control.
if errctl is on. system will stay at BootModule debug mode. |
|||
| event | ||||
| display | display tag flags information | |||
| trace | [display|clear] | display system event information | ||
| extra | ||||
| add | <set1-3><1st phone#><2nd
phone#> |
add extra phone #s | ||
| display | display extra outcalling phone #s | |||
| node | <rn index1-4,0 not used> | display list of extra remote nodes | ||
| remove | <set1-3> | |||
| reset | reset flag and mask | |||
| feature | display feature bit | |||
| fid | display | display function id list | ||
| filter | ||||
| disp | display filter statistic counters | |||
| clear | clear filter statistic counter | |||
| sw | [on|off] | |||
| hostname | display system hostname | |||
| iface | disp | display iface list | ||
| isr | display interrupt entry (debugging tool) | |||
| log | ||||
| disp | display log error | |||
| clear | clear log error | |||
| online | [on|off] | turn on/off error log online display | ||
| map | display memory map table | |||
| mbuf | ||||
| cnt | [disp|cl] | display or clear system mbuf count | ||
| link | link | list system mbuf link | ||
| pool | [id] [type] | list system mbuf pool | ||
| status | display system mbuf status | |||
| sys | memory | <address> <len> | display memory content | |
| memutil | ||||
| usage | display memory allocate and heap status | |||
| mq | <address> <len> | display memory queues | ||
| mcell | mid [f|u] | display memory cells by given ID | ||
| msecs | display memory sections | |||
| memwrite | <null> | write memory | ||
| pro | ||||
| disp | display all process information | |||
| stack | [TAG] | display process's stack by a give TAG | ||
| ps | [TAG] | display process's status by a give TAG | ||
| queue | ||||
| disp | [a|f|u] [start#] [end#] | display queue by given status and range numbers | ||
| ndisp | [#] | display a queue by a given number | ||
| quit | quit CI command mode | |||
| reboot | [code] | reboot system
code =0 cold boot, =1 immediately boot = 2 bootModule debug mode |
||
| reslog | [disp|clear] | display resources trace | ||
| . | roadrun
(P310-only command) |
disp | <iface-name> | display roadrunner information
iface-name: wanif0 (LAN port), wanif1 (WAN port) |
| . | . | debug | <level> | enable/disable roadrunner service
0: diable <default> 1: enable |
| . | . | restart | <iface-name> | . |
| socket | ||||
| spt | dump | [root|rn|user|slot] | dump spt raw data | |
| size | display spt record size | |||
| stdio | [second] | change terminal timeout value | ||
| timer | ||||
| disp | [a|f|u] | display timer cell | ||
| start | ||||
| stop | ||||
| trace | [on|off] | |||
| trcdisp | monitor packets | |||
| trcl | ||||
| call | display call event | |||
| clear | clear trace | |||
| disp | display trace log | |||
| level | [#] | set trace level of trace log #:1-10 | ||
| online | [on|off] | set on/off trace log online | ||
| switch | [on|off] | set system trace log | ||
| type | <bitmap> | set trace type of trace log | ||
| trcp | ||||
| chann | <name> [none|incoming|outgoing|bothway] | <name>=enet0,bri0,bri1,wan00,wan01,wan02
set packet trace direction for a given channel |
||
| create | <entry> <size> | create packet trace buffer | ||
| destroy | packet trace related commands | |||
| disp | display packet trace | |||
| string | ||||
| switch | [on|off] | turn on/off the packet trace | ||
| udp | [sw|addr|port] | send packet trace to other system | ||
| 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 |
<hostid> format : xxx.xxx.xxx.xxx (ip Address)
<ether addr> format : xx.xx.xx.xx.xx.xx
<iface> : enet0, wanif0, wanif1
<gw> : gateway ip address
| ip | address | display host ip address | ||
| arp | ||||
| add | <hostid> ether <ether addr> | add arp | ||
| drop | <hostid> [ether] | drop arp | ||
| flush | flush arp | |||
| . | publish | add proxy arp | ||
| resolve | <hostid> | |||
| status | display ip arp status | |||
| dhcp | set dhcp configuration | |||
| arpcount | <num> | |||
| dnsserver | <dnsIP1> <dnsIP2> | |||
| gateway | <gateway IP> | |||
| hostname | <hostname> | |||
| leasetime | <period> | |||
| netmask | <netmask> | |||
| pool | <start IP> <num> | |||
| rebindtime | <period> | |||
| renewaltime | <period> | |||
| reset | ||||
| status | ||||
| . | . | <iface-name> | st | display iface DHCP information
iface-name wanif2, wanif1, wanif0, enif1, enif0 |
| . | . | . | client release | release DHCP client IP |
| . | . | . | client renew | renew DHCP client IP |
| dns | ||||
| table | display dns table | |||
| stats | [disp|clear] | display or clear dns statistics | ||
| icmp | ||||
| check | [cmd|rsp|indication] | |||
| data | ||||
| echo | [on|off] | |||
| status | display icmp statistic counter | |||
| trace | [on|off] | turn on/off trace for debugging | ||
| ifconfig | display ifconfig | |||
| ping | <hostid> | ping remote host | ||
| pong | <hostid> [<size> <time-interval>] | pong remote host | ||
| rip | ||||
| accept | <gateway> | |||
| activate | ||||
| dialin_user | [show|in|out|both|none] | |||
| merge | [on|off] | RIP merging | ||
| mode | <iface> [in|out] [mode] | mode: 0 - 3 | ||
| refuse | <gateway> | |||
| ip | rip | request | ||
| reverse | [on|off] | RIP Poisoned Reverse | ||
| status | display rip statistic counters | |||
| trace | ||||
| route | ||||
| add | <dest addr>[/<bits>] <gateway> [<metric>] | add route | ||
| addprivate | add private route | |||
| drop | <host address> [/bits] | drop a route | ||
| errcnt | [disp|clear] | display|clear routing statistic counters | ||
| flush | flush route table | |||
| lookup | ||||
| status | display routing table | |||
| status | display ip statistic counters | |||
| sua | ||||
| iface | <iface> | |||
| disp | display single user account statistic | |||
| set | <IP addr> <Port #> | |||
| tcp | ||||
| ceiling | <value> | TCP maximum round trip time | ||
| floor | <value> | TCP minimum rtt | ||
| kick | ||||
| irtt | <value> | TCP default init rtt | ||
| limit | <value> | |||
| mss | <size> | TCP input MSS | ||
| reset | ||||
| rtt | ||||
| status | display TCP statistic counters | |||
| syndata | [on|off] | TCP syndata piggyback | ||
| trace | [on|off] | turn on/off trace for debugging | ||
| window | [size] | TCP input window size | ||
| tftp | ||||
| stats | ||||
| support | ||||
| udp | status |
List of commands that 'do nothing'
| ip | dhcp | init |
<device>: bri0, bri1
<iface>: enet0, wanif0, wanif1
<ptcl>: ipcp, ipxcp, ccp, mp
| ppp | ||||
| bod | clear | <wan_iface> | display bod counters | |
| . | . | debug | [on|off] | . |
| [on|off] | turn on/off bod | |||
| reset | reset bod counters | |||
| status | <wan_iface> | display bod counters | ||
| ccp | <on|off> | dial-in CCP | ||
| ppp | config | |||
| ipcp | ||||
| address [on|off] | ||||
| compress [on|off] | set VJ header compression | |||
| idcompress [on|off] | set slot id compression | |||
| slots <value 1-64> | set # of slots | |||
| ccp | ||||
| ascend [on|off] | Ascend stac on|off | |||
| check | stac check mode | |||
| debug [on|off] | set CCP debug mode | |||
| history | stac history count | |||
| pfc [on|off] | ||||
| reset [1|2|3] | Ascend stac reset mode | |||
| delay | <ms> | set the delay timer for sending first PPP packet after call answered | ||
| fsm | trace | set finite state machine trace | ||
| break | ||||
| clear | clear finite state machine trace | |||
| disp | display fsm trace | |||
| filter | set fsm trace filter | |||
| tdata | set fsm trace data | |||
| filter | set fsm trace data filter | |||
| disp | display fsm trace data | |||
| clear | clear fsm trace data | |||
| iface | <name> <protocol> | display protocol state | ||
| ipcp | ||||
| address | [on|off] | set IPCP address option | ||
| close | close connection on PPP IPCP interface | |||
| compress | [on|off] | set VJ header compression | ||
| idcompress | [on|off] | set slot id compression | ||
| list | <iface> | list PPP IPCP table | ||
| open | open connection on PPP IPCP interface | |||
| slots | <slots> | set the local number of VJ compression slots. | ||
| timeout | set timeout interval when waiting for response from remote peer | |||
| try | ||||
| configure <value> | ||||
| failure <value> | ||||
| terminate <value> | ||||
| lcp | ||||
| ppp | lcp | acfc | [on|off] | set address/control field compression |
| bacp | [on|off] | set bandwidth allocation control | ||
| callback | [on|off] | set PPP LCP callback | ||
| mpin | [on|off] | set PPP LCP MP for incoming call | ||
| pfc | [on|off] | set protocl field compression | ||
| mp | ||||
| default | [split|rotate] | set PPP MP default or unknown interface | ||
| rotate | [on|off] | set PPP MP rotate | ||
| split | [on|off] | set PPP MP split | ||
| show | <device> | show channel PPP information |
<ch-name> : bri0, bri1
<node#> : 1-12
| isdn | ||||
| atring | [disp|clear] | [ch-name] | display/clear AT command ring buffer history | |
| callback | ||||
| speedyCLID | [on|off] | |||
| timeout | <value> | 1 to 60 | ||
| config | display ndis config. block, board, line, channel | |||
| event | [disp|clear] | display/clear isdn event | ||
| . | func | redir | . | enter to the modem redirect mode(for P128IMH only) |
| fw | ||||
| cnt | [disp|clear] | display/clear isdn counters | ||
| ana | [on|off|dump] | turn on/off isdn fw epa trace and collect epa trace | ||
| init | [set|clear] | |||
| is | [ch-name] | set channel in-service | ||
| loop | <isdn #> | isdn loop back test | ||
| map | display isdn map | |||
| oos | [ch-name] | set channel out-of-service | ||
| prtl | [ch-name] [level] | print channel information | ||
| reset | ||||
| script | [ch-name] | |||
| set | ||||
| american | [switch] [dn1] [spid1] [dn2] [spid2] | save phone # to SPT in American version | ||
| european | [B-usage] [isdn data] [dial prefix] | save phone # to SPT in European version | ||
| status | display isdn link status | |||
| test | ||||
| dial | [ch-name] [ph#] | |||
| disp | ||||
| drop | [ch-name] | |||
| send | [ch-name] [size] [ms] [times] | |||
| static | display packet and Octet receive and transmit | |||
| stop | ||||
| version | display isdn version |
[ch-name]: bri0, bri1
| device | ||||
| chan | ||||
| name | disp | display ethernet channel name | ||
| disp | [ch-name] | display channel information | ||
| drop | [ch-name] | drop channel connection | ||
| dial | <1-12> | dial to a remote node |
| ether | ||||
| config | display LAN configuration information | |||
| driver | ||||
| cnt | disp <ch-name> | display ether driver counters | ||
| clear <ch-name> | ch-name: enet0, enet1 | |||
| mac | <macaddr> | Set LAN Mac address | ||
| reg | display LAN hardware related registers | |||
| . | . | status | <ch-name> | ch-name: enet0, enet1 |
| ether | driver | rxmod | <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 |
| . | debug * | display ethernet debug infomation | ||
| disp | <ch-name> | display ethernet debug infomation | ||
| . | level | <ch-name> <level> | set the ethernet debug level
level 0: disable debug log level 1:enable debug log (default) |
|
| test | ||||
| arp | [ip-addr] | |||
| disp event | [ch-name] [on|off] | |||
| disp packet | [1|2|3] | |||
| sap | ||||
| version |
* : Command used for ARM-based routers only
9. Bridge Commands
| bri | ||||
| blt | related to bridge local table | |||
| disp | reset BLT counters | |||
| monitor | [on | off ] | turn on/off traffice monotor. Default is off. | ||
| reset | ||||
| traffic | display local LAN traffic table | |||
| time | <second> | set blt re-init interval | ||
| brt | related to bridge route table | |||
| reset | ||||
| disp | ||||
| cnt | related to bridge routing statistic table | |||
| disp | ||||
| clear | ||||
| . | fcs | . | . | set bridge fcs control flag |
| mode | < 0 | 1 > | turn on/off (1/0) LAN promiscious mode | ||
| stat | related to bridge packet statistic table | |||
| disp | ||||
| clear |
| radius | ||||
| auth | ||||
| debug | [on|off] | set Authentication debug mode | ||
| port | show radius authen. client port # | |||
| secret | <password> | set Radius authen. secret | ||
| server | <name> | set radius server information | ||
| switch | [on|off] | set authentication |
<frm>: 8022, 8023, snap
<iface>: enet0, wanif0, wanif1
<rni>: remote node index
| ipx | ||||
| ifconfig | ||||
| <name><frm><net><age><hops>
<ticks><seed_route> |
set the network parameters
to iface and add ipx route to rip table |
|||
| rip | ||||
| ipx | rip | err | display RIP error counter | |
| req | <net>[<rni>] | RIP request | ||
| rsp | <if name><frm><rni> | RIP response | ||
| route | ||||
| add | <dest><gw><gw node><hop> <ticks>
<age><rni> |
add a route | ||
| cnt | ||||
| disp | display IPX route error counter | |||
| clear | clear IPX route error counter | |||
| drop | <network>[<rni>] | drop the remote node route | ||
| flush | <rni><status> | flush the remote node | ||
| stat | display IPX routing table | |||
| sap | ||||
| add | <name><type><network><socket> | |||
| cnt | ||||
| drop | <type><network><node><socket> | |||
| flush | ||||
| disp | display SAP error counter | |||
| clear | ||||
| req | <net><rn> | IPX SAP request | ||
| rsp | <if><frame><type> | IPX SAP response | ||
| stat | display SAP routing table | |||
| util | ||||
| cnt | disp | display IPX utility error counter | ||
| clear | clear IPX utility error counter | |||
| rtn | <num> | define maximum # of IPX
route |
||
| sapn | <num> | define maximum # of SAP
route |
12. L2TP Protocol Commands
* Last column is the command category. If not specified, it is category
0.
| l2tp | ||||
| debug | <level> | |||
| endpoint | disp | display L2TP endpoint | ||
| hide | [0|1] | 0: off 1: on | ||
| realm | <value> | value = 0 to 9 | ||
| rxtimeout | <value> | value = 200 to 2000 ms | ||
| tunnel | <id> | id = 1 to 8 | ||
| window | <size> | size = 0 to 23352 |
<ch-name> : wan00, wan01, wan02
| wan | ||||
| atring | <ch-name> | Show AT Command Response Buffer of wan00, wan01 or wan02 (wan02 only for P100MH/WH) | ||
| cnt | disp | <ch-name> | Show Status Counters of wan00, wan01 or wan02 | |
| clear | <ch-name> | Clear Status Counters of wan00, wan01 or wan02 | ||
| redirect | <ch-name> | Enter Redirect mode for wan00, wan01 or wan02 | ||
| drop | <ch-name> | Drop connection for wan00, wan01 or wan02 | ||
| mtype | <ch-name> | Internal Modem Type of wan01 or wan02 |
** Port number and model name mapping table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All contents copyright © 1999 ZyXEL Communications Corporation.