Enable Telnet in Vista or Windows 7
If using Vista or Windows 7, telnet
is not enabled by default but it's very easy to do and you only need do
this once.
Go to “Control Panel” > “Programs and Features” > click on “Turn windows
Features On and Off”
> place a tick in “Telnet Client” > click ok.



| Command | Comments |
|---|---|
| dns server route list | List all DNS resolvers set in the router. ( optional ) |
| dns server route flush | Clear |
| dns server route add dns=208.67.222.222 metric=5 intf=Internet | See note (1) below regarding "intf=Internet" |
| dns server route add dns=208.67.220.220 metric=10 intf=Internet | See note (1) below regarding "intf=Internet" |
| dhcp client ifdetach intf=Internet | See note below regarding "intf=Internet" |
| dhcp client rqoptions delete intf=Internet option=domain-name-servers | Stop the router from getting the ISP's DNS resolver via DHCP |
| dhcp client ifattach intf=Internet | See note (1) below regarding "intf=Internet" |
| dns server route list | List all DNS resolvers set in the router. (just checking) |
| saveall | Make the change permanent. |
| Command | Comments |
| dns server route flush | Clear |
| dhcp client ifdetach intf=Internet | See note (1) below regarding "intf=Internet" |
| dhcp client rqoptions add intf=Internet option=domain-name-servers | Set the router to get the ISP's DNS resolver via DHCP |
| dhcp client ifattach intf=Internet | See note (1) below regarding "intf=Internet" |
| dns server route list | List all DNS resolvers set in the router. (just checking) |
| saveall | Make the change permanent. |
| Command | Comments |
|---|---|
| dyndns service list | View existing settings -- It's the "custom" section we'll be changing |
| dyndns service modify name=custom server=updates.dnsomatic.com updateinterval=10800 | Change
service provider to dnsomatic.com updateinterval is 3 hours. (10800 seconds) |
| saveall | Make the change permanent. |
| Command | Comments |
|---|---|
| env get var=SESSIONTIMEOUT | Check existing setting. |
| env set var=SESSIONTIMEOUT value=0 | Disable session timeout. |
| saveall | Make the change permanent. |
| Command | Comments |
| xdsl info expand=enabled | See Telnet Scripting for a method to get these stats quick. |
| Command | Comments |
|---|---|
| xdsl debug multimode | Show all enabled modes. (optional) |
| xdsl debug multimode config=t1.413issue2+g992.1_annex_a | This forces ADSL1 (ie g992.1 Annex A) |
| xdsl debug multimode config=t1.413issue2+g992.3_annex_a | This forces ADSL2 (ie g992.3 Annex A) |
| xdsl debug multimode config=t1.413issue2+g992.5_annex_a | This forces ADSL2+ (ie g992.5 Annex A) |
| xdsl debug
multimode
config=t1.413issue2+g992.1_annex_a+g992.3_annex_a+g992.3_annex_l+g9 92.3_annex_m+g992.5_annex_a+g992.5_annex_m |
Default, all modes available. |
| saveall | Use one of the above commands then saveall ! |
| Command | Comments |
|---|---|
| dhcp client ifrenew intf=Internet | See note (1) below regarding "intf=Internet" |
| dhcp client iflist expand=enabled | Optional -- View DHCP Client Info |
| Command | Comments |
|---|---|
| system reboot |
| Command | Comments |
|---|---|
| user config name=SuperUser password=mypassword | Must be an existing username ie "SuperUser" or "Administrator" |
| user config name=Administrator password=mypassword | |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| ip iflist expand=enabled | Show routers MAC and other stuff |
| ip ifdetach intf=Internet | See note (1) below regarding "intf=Internet" |
| ip ifconfig intf=Internet hwaddr=00:xx:xx:xx:xx:xx | See note (1) Replace "xx" with your spoof MAC |
| ip ifattach intf=Internet | See note (1) below regarding "intf=Internet" |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| service system list | Show if enabled or disabled. |
| service system modify name=CWMP-S state=disabled | Disable remote assistance from the ISP. |
| service system modify name=CWMP-C state=disabled | Disable checking for firmware updates etc "phone home". |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| service system modify name=CWMP-S state=enabled | Return to default setting |
| service system modify name=CWMP-C state=enabled | Return to default setting |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| service system list name=PING_RESPONDER expand=enabled | Check if "interface group" is associated with WAN (ie enabled) |
| service system ifadd name=PING_RESPONDER group=wan | Add to WAN "interface group" (ie enabled) |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| service system ifdelete name=PING_RESPONDER group=wan | Remove WAN from "interface group" (ie disabled) -- Default |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| wireless ifconfig | Show wireless settings (optional) |
| wireless ifconfig interop=802.11b/g | Disable wireless n |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| wireless ifconfig interop=802.11b/g/n | Enable wireless b, g and n -- Default |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| ip iflist | Show present setting (optional) |
| ip ifconfig intf=Internet mtu=1458 | See note (1) regarding "intf=Internet" -- Set MTU for WAN |
| ip ifconfig intf=LocalNetwork mtu=1458 | Set MTU for LAN |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| ip ifconfig intf=Internet mtu=1500 | See note (1) regarding "intf=Internet" -- Set 1500 MTU for WAN |
| ip ifconfig intf=LocalNetwork mtu=1500 | Set 1500 MTU for LAN |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| eth device ifconfig intf=ethif1 state=disabled | Disable ethernet port 1. ( ethif1 = port 1, ethif2 = port 2 etc ) |
| saveall | Don't forget this! |
| eth device iflist | List state of ports (optional) |
| Command | Comments |
|---|---|
| eth device ifconfig intf=ethif1 state=enabled | Enable ethernet port 1. ( ethif1 = port 1, ethif2 = port 2 etc ) |
| saveall | Don't forget this! |
| Command | Comments |
|---|---|
| wireless macacl add ssid_id=0 radio_id=0 hwaddr=00:xx:xx:xx:xx:xx permission=allow | Change
"00:xx:xx:xx:xx:xx" to the wireless MAC of the target PC . Only used once for each wireless MAC added to the list. |
| saveall |
| Command | Comments |
|---|---|
| wireless macacl list | Optional -- Display preset wireless MAC's |
| wireless macacl modify ssid_id=0 radio_id=0 hwaddr=00:xx:xx:xx:xx:xx permission=deny | Deny connection from the target PC -- Use when required |
| wireless macacl modify ssid_id=0 radio_id=0 hwaddr=00:xx:xx:xx:xx:xx permission=allow | Allow connection from the target PC -- Use when required |
| Command | Comments |
|---|---|
| wireless macacl list | Optional -- display MAC address on list |
| wireless macacl delete ssid_id=0 radio_id=0 hwaddr=00:xx:xx:xx:xx:xx | Remove MAC from list. |
| saveall | Don't forget this. |
| Command | Comments |
|---|---|
| hostmgr list | Look
in the "Flags" column, "C" indicates connected |
| Command | Comments |
|---|---|
| wireless wps config state=enabled | The WPS button should now work |
| saveall |
| Command | Comments |
|---|---|
| wireless wps config state=disabled | |
| saveall |
| Command | Comments |
|---|---|
| syslog msgbuf show | View router log in the telnet window. |
| syslog msgbuf send dest=192.168.1.67 | Send all the log to syslog client at IP address |
| syslog msgbuf flush | Clear the log |
| ftp://ftp.3com.com/pub/utilbin/win32/3CSyslog.zip Link now dead, a google search will find a suitable syslog client. |
Free syslog client from 3Com |
| syslog config activate=enabled | Enable continuous update to a syslog client. |
| syslog ruleadd fac=all sev=debug dest=192.168.1.67 | Rule to send all the log items to syslog client at 192.168.1.67 |
| Command | Comments |
|---|---|
| dhcp server lease list | View the pool name and MAC address of the connected device |
| dhcp server lease delete clientid=00:23:4d:xx:xx:xx | First
delete the device. clientid = [the MAC address found above] |
| dhcp server lease add clientid=00:23:4d:xx:xx:xx pool=LAN_private addr=192.168.1.100 leasetime=0 | clientid
= [the MAC address found above] pool = [the pool name found above] addr = [the lan IP you wish to assign - range 192.168.1.65 to 252] leasetime=0 [infinite lease time] |
| saveall | Don't forget this. |
| Reboot the device to obtain the new IP address |
| Command |
|---|
| system config resetbutton=disabled |
| saveall |
| Command |
|---|
| system config resetbutton=enabled |
| saveall |
| Command |
|---|
| connection unbind application=SIP port=5060 |
| saveall |
| Command |
|---|
| connection bind application=SIP port=5060 |
| saveall |
| Command |
|---|
| ids config state=disabled |
| saveall |
| Command |
|---|
| ids config state=enabled |
| saveall |
| Command | Comments |
|---|---|
| pwr config | Optional - view state |
| pwr config cpu-lowspeed=disabled | Disable slow speed CPU |
| saveall | Make permanent |
| Command | Comments |
|---|---|
| pwr config cpu-lowspeed=enabled | Enable slow speed CPU |
| saveall | Make permanent |
| Command | Comments |
|---|---|
| pwr config eco-manager=enabled / disabled | The ECO manager |
| pwr config cpu-microsleep=enabled / disabled | Allow the CPU to use low power instructions |
| pwr config cpu-lowspeed=enabled /disabled | Allows the CPU to adjust it's clock speed. |
| pwr config usb-controller=enabled / disabled | The USB controller |
| pwr config wlan-pwrcontrol=enabled / disabled | Wireless LAN power control |
| Command |
|---|
| connection bind application=CONE(UDP) port=3544 |
| saveall |
| Command |
|---|
| connection unbind application=CONE(UDP) port=3544 |
| saveall |
| Command | Comments |
|---|---|
| dsd config state=enabled | Enable address based filtering. |
| dsd syslog config syslog=all | Select what to log |
| saveall | Make the change permanent. |
| dsd syslog list | Use
this command to view the log. Alternatively use a syslog client as show in the syslog commands above. |
| syslog msgbuf flush | Empty the log. -- Optional |
| Command | Comments |
|---|---|
| dsd syslog config syslog=none | |
| dsd config state=disabled | |
| saveall |
| Command | Comments |
|---|---|
| sntp list | List the time servers |
| sntp add name=2.uk.pool.ntp.org | Add
a time server. This can be done in the routers GUI |
| sntp delete name=2.uk.pool.ntp.org | Delete
a time server. This can be done in the routers GUI |
| sntp config
poll=360 saveall |
Set
poll interval to 6 hours. Default is 60 minutes. |
| system settime | View system time settings |
