Bitzenbytes.com

CompuClues Forum

  User  Password
Friday, September 10, 2010 - 05:21 AM
Search
Main Menu
Who's Online
MEMBERS ONLINE

You are an anonymous user. You can register for free by clicking here
User name
Password
 Remember me
Firefox
Get Firefox 110
Languages
Preferred language:

CI Command Codes for Netgear RT-311/314, RP114, ZyXEL P310/314 Routers
Updated: 04.28.2006

Date: April 14, 2002
Submitted by: Bob

Index


1. Zynos Command Reference Syntax and User Interface
2. System Related Commands
3. TCP/IP Protocol Commands
4. Ethernet Debug Commands
5. Router Configuration Sample Config with RT-311 Interface
  

- Index - - Top -

ZyNOS CI Command Reference:

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 commands and subcommands
  • exit returns

    


- Index - - Top -
  • System Related Commands

[ch-name]: enet0, enet1  

sys        
  cbuf      
    cnt disp display cbuf static
      clear clear cbuf static
    disp [a|f|u] display cbuf a: all f: free u: used
  country   <country code> set country code
  cpu disp   display CPU utilization
  dir     display file directory
  edit   <filename> edit a text file
  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|clear] display system event information
  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
  log      
    disp   display log error
    clear   clear log error
    online [on|off] turn on/off error log online display
  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
. . disp <address> display mbuf status
  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
  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 disp <iface-name> display roadrunner information
iface-name: enif1 (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 
  trcdisp     monitor packets
. . brief . online display packet
content briefly
. . parse . online parse packet content
  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,enet1
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
. . 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
 
- Index - - Top -
  • TCP/IP Protocol Commands

<hostid> format : xxx.xxx.xxx.xxx (ip Address)
<ether addr> format : xx:xx:xx:xx:xx:xx
<iface> : enif0, enif1
<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 <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>
    .  reset  
. . status . display iface DHCP information
iface-name: enif1, enif0.
. . 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>  
    activate    
    dialin_user [show|in|out|both|none]  
    merge [on|off] RIP merging
    mode <iface> [in|out] [mode] mode: 0 - 3
    refuse <gateway>  
. 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    

- Index - - Top -
  • Ethernet Debug Commands

<ch-name> : enet0, enet1
 

ether        
  config     display Ethernet dirver
configuration information
  driver      
    cnt disp <ch-name> display ether driver counters
      clear <ch-name>  ch-name: enet0, enet1
. . 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
. 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)
  pkttest      
    arp [ip-addr]  
    disp event [ch-name] [on|off]  
    disp packet [1|2|3]  
    sap    
  version     sdf

print Print this | envelope Send this | PDF Download This | Hits: 12374 |
Bugs  |  Tasks  |  Developers