Monday, April 10, 2006

CLI Syntax

Going through the help syntax on the Dynalink RTA1335

  • ?, help - displays this list
  • logout - logs out (obvious)
  • reboot - reloads the router. It also displays some info which could be handy. More on this in another post
  • adsl - starts and stops the adsl interface (I think)
  • atm - not sure. Start/stop PPPoA maybe?
  • brctl - used to set up, maintain, and inspect the ethernet bridge configuration in the linux kernel.- ref
  • cat - displays the file contents
  • df - disk free
  • dumpcfg - I think this creates an xml file (to screen) of the current config.
  • echo - prints arguments to standard out
  • ifconfig - configure hte interfaces
  • kill - kill a process. OK - it's real job is to send a signal to a process ... in practice it is used to kill 'em
  • arp - manipulate the arp cache
  • defaultgateway - configure/display the default route
  • dhcpserver - configure the dhcp server - a pretty basic server really. But does the job (note for next time - dhcpserver show locked up
  • dns - configure static dns entries
  • lan - not sure - seems to be similar to ifconfig
  • passwd - change password for admin. Syntax help also indicates "user" and 'support" but i can't seem to change those
  • ppp - bring up or down a ppp connection
  • remoteaccess - allow remote access into the router adminfor admin. Configurable by port but primarily http, telnet, tftp, ping. theres some aspects of the syntax that bothers me - seems to cope with frame relay - well PVC's anyway. Does ATM (as in PPPoA) have PVC's? I don't know ATM.
  • localaccess - sets which ways you can locally access the router
  • restoredefault - by the look of it, the router is reset to the factory default. Could be handy
  • route - configure static routes
  • save - saves the config data to flash
  • swversion - shows the version of firmware
  • wan - configures the WAN interface
  • ping - pings
  • ps - shows processes
  • pwd - prints the current working directory. and until i can figure out how to change directory this is always "/"
  • sntp - synchronises with an NTP server
  • sysinfo - general systems info
  • tftp - transfer files to/from tftp server

0 Comments:

Post a Comment

<< Home