ZyNOS CI Command List

Command Class List Table
System Related Command | Exit Command | Ethernet Related Command
WAN Related Command | IP Related Command | PPP Related Command
Bridge Related Command |  |

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

System Related Command Home

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 0:crash no save,not in debug mode (default) 1:crash no save,in debug mode 2:crash save,not in debug mode 3:crash save,in debug mode
| 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
| log |  |  |
|  | category |  |
|  |  | access [0:none/1:log] | record the access control logs
|  |  | display | display the category setting
|  |  | error [0:none/1:log/2:alert/3:both] | record and alert the system error 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 code = 0 cold boot, = 1 immediately boot = 2 bootModule debug mode
| 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 set packet trace direction for a given channel
|  | 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

Exit Command Home

Command | Description
exit |  |  |  | exit smt menu

Ethernet Related Command Home

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

WAN Related Command Home

Command | Description
wan | adsl | bert |  | ADSL ber
|  | chandata |  | ADSL channel data, line rate
|  | close |  | Close ADSL line
|  | coding |  | ADSL standard current
|  | ctrleint |  | ADSL CTRLE response command
|  | defbitmap |  | ADSL defect bitmap status
|  | dyinggasp |  | Send ADSL dyinggasp
|  | fwav |  | Test the ADSL F/W available ping
|  | fwdl |  | Download modem code, but must reset first
|  | 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
|  | opmode |  | Show the operational mode
|  | perfdata |  | Show performance information,CRC,FEC, error seconds..
|  | rdata | [start] [length] | Read DSP CTRLE registers 512 bytes
|  | reset |  | Reset ADSL modem, and must reload the modem code again
|  | selftest |  |
|  |  | long | ADSL long loop test
|  |  | short | ADSL short loop test
|  | status |  | ADSL status (ex: up, down or wait for init)
|  | version |  | ADSL version information
|  | vendorid |  | ADSL vendor information
|  | utopia |  | Show ADSL utopia information
|  | cellcnt |  | Show ADSL cell counter
|  | display |  |
|  |  | shutdown | Show the counter of rate adaptive mechanism happening
|  |  | rateup | Show real status that rate adaptive mechanism happened
|  | rateadap | [on|off] | Turn on/off rate adaptive mechanism
|  | dumpcondition | [on|off] | Turn on/off online debug information of rate adaptive mechanism
|  | sampletime | [mins] | Tune the sample time of rate adaptive mechanism
|  | noisegt | [dB] | if noise margin is 3db greater than before, and rate is worse than before, then system will do “L1 shutdown RA3”, default is 3db
|  | noisemargin | [dB] | if noise margin is greater than this value, and rate is worse than before, then system will do “L1 shutdown RA3”, default is 8db
|  | persisttime | [time] | when the adaptive condition is matched system will continue to monitor the time period “persisttime” before doing “L1 shutdown RA3”, default is 30 seconds
|  | timeinterval | [mins] | when “L1 shutdown RA3” is done twice, and still can’t reach the max rate which system recorded, it will delay a time period that the period base time is”timeinterval” before starting again. The time-based default is 2 hrs
|  | defectcheck | [on|off] | Turn on/off detect table checking, default is on
|  | txgain | [value] | Set the CTRLE register (0xc3), the value is from 0xfa to 0x06
|  | targetnoise | [value] | Set the CTRLE register (0xc4), the value is from 0xfa to 0x06
|  | maxtonelimit | [value] | Set the CTRLE register (0xc5), the value is from 0xfa to 0x06
|  | rxgain | [value] | Set the CTRLE register (0xc6), the value is from 0xfa to 0x06
|  | txoutputpwr | [value] | Set the CTRLE register (0xc7), the value is from 0xfa to 0x06
|  | rxoutputpwr | [value] | Set the CTRLE register (0xc8), the value is from 0xfa to 0x06
|  | maxoutputpwr | [value] | Set the CTRLE register (0xc9), the value is from 0xfa to 0x06
|  | errorsecond |  |
|  |  | sendes | Send current error second information immediately
|  | dygasprecover |  |
|  | dygasprecover | level [value] | By default is 100, after receiving 100 dying gasp system will reboot
|  | dygasprecover | active [on|off| | Turn on/off this mechanism
|  | rsploss | [1|0] | Turn on means to response signal loss of CTRLE immediately, default is off
| atm | test | [fix|rand|period|oam|loopback] | Generate ATM traffic
| hwsar | disp |  | Display hwsar packets incoming/outgoing information
|  | clear |  | Clear hwsar packets information

IP Related Command Home

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
|  |  | initialize | fills in DHCP parameters and initializes (for PWC purposes)
|  |  | leasetime <period> | set dhcp leasetime
|  |  | netmask <netmask> | set dhcp netmask
|  |  | pool <startIP> <numIP> | set dhcp ip pool
|  |  | renewaltime <period> | set dhcp renew time
|  |  | rebindtime <period> | set dhcp rebind time
|  |  | reset | reset dhcp table
|  |  | server <serverIP> | set dhcp server ip for relay
|  |  | dnsorder [router|isp] | set dhcp dns order
|  | status | [option] | show dhcp status
|  | static |  |
|  |  | delete <num>|all | delete static dhcp mac table
|  |  | display | display static dhcp mac table
|  |  | update <num> <mac> <ip> | update static dhcp mac table
| dns |  |  |
|  | query |  |
|  |  | address <ipaddr> [timeout] | resolve ip-addr to name
|  |  | debug <num> | enable dns debug value
|  |  | name <hostname> [timeout] | resolve name to ip-addr
|  |  | status | display dns query status
|  |  | table | display dns query table
|  | server | <primary> [secondary] [third] | set dns server
|  | stats |  |
|  |  | clear | clear dns statistics
|  |  | disp | display dns statistics
|  | table |  | display dns table
| httpd |  |  |
|  | debug | [on|off] | set http debug flag
| icmp |  |  |
|  | echo | [on|off] | set icmp echo response flag
|  | data | <option> | select general data type
|  | status |  | display icmp statistic counter
|  | trace | [on|off] | turn on/off trace for debugging
|  | discovery | <iface> [on|off] | set icmp router discovery flag
| 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
| adjTcp |  | <iface> [<mss>] | adjust the TCP mss of iface
| udp |  |  |
|  | status |  | display udp status
| rip |  |  |
|  | accept | <gateway> | drop an entry from the RIP refuse list
|  | activate |  | enable rip
|  | merge | [on|off] | set RIP merge flag
|  | refuse | <gateway> | add an entry to the rip refuse list
|  | request | <addr> [port] | send rip request to some address and port
|  | reverse | [on|off] | RIP Poisoned Reverse
|  | status |  | display rip statistic counters
|  | trace |  | enable debug rip trace
|  | mode |  |
|  |  | <iface> in [mode] | set rip in mode
|  |  | <iface> out [mode] | set rip out mode
|  | dialin_user | [show|in|out|both|none] | show dialin user rip direction
| 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
|  | max-incomplete | [number] | Set the maximum number of TCP incomplete connection.
|  | 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
| samenet |  | <iface1> [<iface2>] | display the ifaces that in the same net
| uninet |  | <iface> | set the iface to uninet
| tftp |  |  |
|  | support |  | pritn if tfpt is support
|  | stats |  | display tftp status
| xparent |  |  |
|  | join | <iface1> [<iface2>] | join iface2 to iface1 group
|  | break | <iface> | break iface to leave ipxparent group
| antiprobe |  | <0|1> 1:yes 0:no | set ip anti-probe flag
| igmp |  |  |
|  | debug | [level] | set igmp debug level
|  | forwardall | [on|off] | turn on/off igmp forward to all interfaces flag
|  | querier | [on|off] | turn on/off igmp stop query flag
|  | iface |  |
|  |  | <iface> grouptm <timeout> | set igmp group timeout
|  |  | <iface> interval <interval> | set igmp query interval
|  |  | <iface> join <group> | join a group on iface
|  |  | <iface> leave <group> | leave a group on iface
|  |  | <iface> query | send query on iface
|  |  | <iface> rsptime [time] | set igmp response time
|  |  | <iface> start | turn on of igmp on iface
|  |  | <iface> stop | turn off of igmp on iface
|  |  | <iface> ttl <threshold> | set ttl threshold
|  |  | <iface> v1compat [on|off] | turn on/off v1compat on iface
|  | robustness | <num> | set igmp robustness variable
|  | status |  | dump igmp status
| pr |  |  |
|  | clear |  | clear ip pr table counter information
|  | disp |  | dump ip pr table counter information
|  | switch |  | turn on/off ip pr table counter flag
| nat |  |  |
|  | timeout |  |
|  |  | gre [timeout] | set nat gre timeout value
|  |  | iamt [timeout] | set nat iamt timeout value
|  |  | generic [timeout] | set nat generic timeout value
|  |  | reset [timeout] | set nat reset timeout value
|  |  | tcp [timeout] | set nat tcp timeout value
|  |  | tcpother [timeout] | set nat tcp other timeout value
|  | update |  | create nat system information from spSysParam
|  | iamt |  | display nat iamt information
|  | iface | <iface> | show nat status of an interface
|  | lookup | <rule set> | display nat lookup rule
|  | new-lookup | <rule set> | display new nat lookup rule
|  | loopback | [on|off] | turn on/off nat loopback flag
|  | reset | <iface> | reset nat table of an iface
|  | server |  |
|  |  | disp | display nat server table
|  |  | load <set id> | load nat server information from ROM
|  |  | save | save nat server information to ROM
|  |  | clear <set id> | clear nat server information
|  |  | edit active <yes|no> | set nat server edit active flag
|  |  | edit svrport <start port> [end port] | set nat server server port
|  |  | edit intport <start port> [end port] | set nat server forward port
|  |  | edit remotehost <start ip> [end ip] | set nat server remote host ip
|  |  | edit leasetime [time] | set nat server lease time
|  |  | edit rulename [name] | set nat server rule name
|  |  | edit forwardip [ip] | set nat server server ip
|  |  | edit protocol [protocol id] | set nat server protocol
|  | service |  |
|  |  | irc [on|off] | turn on/off irc flag
|  | resetport |  | reset all nat server table entries
|  | incikeport | [on|off] | turn on/off increase ike port flag

PPP Related Command Home

Command | Description
ppp |  |  |  |
| autotrigger |  |  |
|  | on | <remoteNodeIndex> | turn on packet trigger, default is enable
|  | off | <remoteNodeIndex> | turn off packet trigger
|  | status |  | show autotrigger status
| retry |  | <interval> | adjust PPP retrial interval

Bridge Related Command Home

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

All contents copyright © 2004 ZyXEL Communications Corporation.