CI Command Reference


C/I command is a set of command-based user interface can be entered from SMT Menu 24.8. It is recommended to configure Prestige through SMT and PNC.

Command Syntax and General User Interface

C/I has the following command syntax:

command <face | device > subcommand [Parma]
command subcommand [Parma]
command ? | help
command
subcommand ? | help

General user interface:

1. ? Shows the following commands and all major (sub)commands
2 exit Returns to SMT

 


 

Main Menu

Main Menu command summary:

1. sys for system wide configuration
2. ether for LAN debugging
3. isdn for ISDN firmware
4. ip for Internet TCP/IP protocol family

 


System Related Commands

Cmd Sub-cmd Sub-cmd Parameter Description
sys callhist display   Display the call history
  callhist remove entry Remove entry from call history
  conutrycode   0xd8 ~ 0xff Set country code
  edit   <filename> Edit a text file
  extraphnum add <set 1-3><1st phone number> [2nd phone number Add phone number(s) to set 1-3
  extraphnum display   Dislay extra phone numbers
  extraphnum node <node number> Set extra phone numbers to node n
  extraphnum remove <set 1-3> Remove set
  extraphnum reset   Reset all extra phone number
  feature     Display feature bit
  hostname   new hostname Edit hostname of Prestige
  log online   Syslog related commands
  log disp   Display the log
  log clear   Clear the log
  stdio   [second] Change terminal timeout value
  syslog server <server IP address> Identify the UNIX syslog server
  syslog facility <number> Choose what kind of facility should we use
  syslog type <hex number> Choose what category can we send out
  syslog mode <on|off> Enable/disable syslog function
  trcdisp     Display packet trace online
  trclog call   Display call event
  trclog switch <on|off> Trun on|off trace log
  trclog type <value> Set trace type of trace log
  trclog level <value> Set trace level of trace log#: 1-10
  trclog disp   Display trace log
  trclog online [on|off] Turn on/off online display
  trcpacket     Packet trace related commands
  trcpacket create <net#><encase> max. net#:64 ; max. encase: 256
  trcpacket destroy   Packet trace related
  trcpacket type <lan|wan1|wan2] <none|incoming|outgoing|bothway> Set the types of packets to be logged
  trcpacket switch [on|off] Turn on|off the packet trace
  trcpacket disp   Display packet trace
  trcpaket up <IPAddr><UdpPort> Send packet trace to other system
  version     Display RAS code and driver version
  view     Display RAS code and driver version
  wdog switch [on|off] Set on|off watch log
  wdog cnt <value> Display watchdog count value:0-34463
  socket     Display socket status
  filter disp   Display filter statistic counters
  filter clear   Clear filter statistic counters
  cpu     Display CPU load

 


ISDN Commands

Cmd Sub-cmd Sub-cmd Parameter Description
isdn config     Display ISDN configuration, block, line, channel
  fw analyzer [on|off] Turn on/off ISDN EPA trace
  fw analyzer disp Display ISDN EPA trace with decoding
  fw analyzer dump Dump ISDN EPA trace with binary
  oos   bri0~bri3 Set channel out of service
  is   bri0 ~ bri3 Set channel in service

 


Ethernet Commands

Cmd Sub-cmd Sun-cmd Parameter Description
ether config     Display Ethernet configuration
  driver cnt disp<ch-name> Display Ethernet counter
  driver status <ch-name> Display Ethernet status
  version     Display Ethernet version

 


TCP/IP Protocol Commands

<hostid> format : xxx.xxx.xxx.xxx (Ip Address)
<ether addr> format : xx.xx.xx.xx.xx.xx
<iface> : enif0
<gw> : gateway ip address

Cmd Sub-cmd Sub-cmd Parameter Description
ip address     Display host IP address
  arp status   Display IP ARP status
  dhcp <iface-name> client release Release DHCP client IP
  dhcp <iface-name> client renew Renew DHCP client IP
  dhcp <iface-name> status Display iface DHCP information
  dns table   Display DNS table
  dns status [disp|clear] Display or clear DNS statistics
  icmp status [display|clear] Display or clear ICMP statistics
  icmp discovery <iface>[on|off] ICMP router discovery
  ifconfig     Display interface configuration
  nat iface <iface> disp Display current NAT statistics
  ping   <hostid>[<size><time-interval>] Ping remote host
  route status   Display remote host
  route add <hostid>/[<bits>] <gw> [<metric>] Add route to specific iface
  route addprivate <hostid>/[<bits>] <gw> [<metric>] Add private route
  route drop <hostid/bits> Drop a route
  status     Display ip statistic counters
  sua disp   Display single user account statistic
  udp status   Display udp statistic counters
  rip status   Display rip statistic counters
  tftp status   Display tftp statistic counters
  tcp status   Display tcp statistic counters

 


All contents copyright © 1999 ZyXEL Communications Corporation.