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
| sys | ||||
| callhist | disp | display call history | ||
| remove | remove entry from call history | |||
| country | <country code> | set country code | ||
| cpu | disp | display CPU usage status | ||
| date | display the system date | |||
| domainme | display the domain name | |||
| edit | <filename> | edit a text file | ||
| extraphnum | ||||
| add | <set 1-3> <1st num> <2nd num> | add extra outgoing phone numbers | ||
| disp | display outgoing phone numbers | |||
| node | set extra phone number to node n | |||
| remove | remove extra outgoing phone number | |||
| reset | system reset extra flag and mask | |||
| feature | display feature bit | |||
| hostname | display system hostname | |||
| log | ||||
| disp | display log error | |||
| clear | clear log error | |||
| online | [on|off] | turn on/off error log online display | ||
| socket | display socket status | |||
| stdio | [second] | change terminal timeout value | ||
| syslog | ||||
| server | Identify the UNIX syslog server | |||
| facility | choose what kind of facility to be used | |||
| type | display syslog type | |||
| mode | display syslog mode; enable/disable | |||
| time | display timer cell | |||
| timer | disp | [a|f|u] | display timer cell | |
| 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,mpoa00 set packet trace direction for a given channel |
||
| create | <entry> <size> | create packet trace buffer | ||
| destroy | packet trace related commands | |||
| disp | display packet trace | |||
| switch | [on|off] | turn on/off the packet trace | ||
| udp | [sw|addr|port] | send packet trace to other system | ||
| . | . | brief | . | display packet content briefly |
| . | . | parse | [[begin_idx], end_idx] | parse packet content |
| 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> : enif0, wanif0
<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 | |||
| status | display ip arp status | |||
| dhcp <iface name> | set dhcp configuration | |||
| server | arpcount | <num> | ||
| . | dnsserver | <dnsIP1> <dnsIP2> | ||
| . | gateway | <gateway IP> | ||
| . | hostname | <hostname> | ||
| . | leasetime | <period> | ||
| . | netmask | <netmask> | ||
| . | pool | <start IP> <num> | ||
| . | rebindtime | <period> | ||
| . | renewaltime | <period> | ||
| . | . | status | . | display iface DHCP information iface-name: enif0, wanif0 |
| . | . | client | release | release DHCP client IP |
| . | . | . | 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 | ||
| . | . | discovery | <iface name> [on|off] | turn on|off icmp router discovery response |
| ifconfig | display ifconfig | |||
| ping | <hostid> | ping remote host | ||
| . | rip | |||
| accept | <gateway> | drop an entry from the RIP information | ||
| activate | Initial the RIP listener list | |||
| merge | [on|off] | RIP merging | ||
| mode | <iface> [in|out] [mode] | mode: 0 - 3 | ||
| refuse | <gateway> | add an entry to the RIP refuse list | ||
| reverse | [on|off] | RIP Poisoned Reverse | ||
| status | display rip statistic counters | |||
| 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 | |||
| status | display routing table | |||
| status | display ip statistic counters | |||
| sua | ||||
| disp | display single user account statistic | |||
| set | <IP addr> <Port #> | |||
| tcp | ||||
| ceiling | <value> | TCP maximum round trip time | ||
| floor | <value> | TCP minimum rtt | ||
| irtt | <value> | TCP default init rtt | ||
| limit | <value> | |||
| mss | <size> | TCP input MSS | ||
| reset | reset a TCP connection | |||
| rtt | set smooth round trip time for specified TCP | |||
| 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 | ||
| udp | status | dump UDP statistics and control blocks |
<ch-name> : enet0, mpoa00
| ether | ||||
| config | display Ethernet dirver configuration information | |||
| driver | ||||
| cnt | disp <ch-name> | display ether driver counters | ||
| clear <ch-name> | ch-name: enet0, mpoa00 | |||
| . | . | reg | . | display LAN hardware related registers |
| . | . | status | <ch-name> | ch-name: enet0, enet1 |
| . | . | 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 |
| wan adsl bert | check ADSL line BERT |
| wan adsl chandata | check ADSL channel status |
| wan adsl close | close ADSL line |
| wan adsl coding | display ADSL line coding |
| wan adsl defbitmap | check ADSL defect bit map table |
| wan adsl open | open ADSL line |
| wan adsl opencmd gdmt | set ADSL operation mode at G.DMT |
| wan adsl opencmd glite | set ADSL operation mode at G.Lite |
| wan adsl opencmd multimode | set ADSL operation mode at multimode |
| wan adsl opencmd t1.413 | set ADSL operation mode at ANSI T1.413 Issue 2 |
| wan adsl openmode | check ADSL sync up mode |
| wan adsl reset | reset ADSL line connection |
| wan adsl status | check ADSL line status |
| wan hwsar clear | clear SAR statistic information |
| wan hwsar disp | display SAR statistic information |
| wan adsl perfdata | analyze line performance on ADSL |
| wan adsl linedata far | show far end ADSL line/noise status |
| wan adsl linedata near | show near end ADSL line/noise status |
Enhanced CI Command:
| ppp lcp echotime <time(ms)> | Interval to send LCP Echo Request, time=0 means stop sending LCP Echo
Request Note: Since 2.50(AJ.7) |
| wan adsl defectcheck | Defect
bitmap check that means LOS LOF, LOP LOM, default is ON Note: Since 2.50(AJ.7) |
| sys bidirection on|off | Turn on bidirection solution, default
is OFF Note: Since 2.50(AJ.3) |
| sys quickbrg enable|disable | Turn on Quick Bridge mode, default is Disable. Note: Since 2.50(AJ.3) |
| ip route new | Add new routing entries even if the
destination is the same Note: Since 2.50(AJ.3) |
All contents copyright © 2002 ZyXEL Communications Corporation.