140
DrayTek Telnet Commands Reference Guide (for Vigor2820 Series only) Version: 1.0(draft) Date: 2008/06/20

Telnet Commands

Embed Size (px)

DESCRIPTION

Telnet commands - wireless, mobility

Citation preview

  • DrayTek Telnet Commands Reference Guide

    (for Vigor2820 Series only)

    Version: 1.0(draft)Date: 2008/06/20

  • Copyright InformationCopyright Declarations

    Copyright 2008 All rights reserved. This publication contains information that is protected by copyright. No part may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language without written permission from the copyright holders.

    Trademarks The following trademarks are used in this document: Microsoft is a registered trademark of Microsoft Corp. Windows, Windows 95, 98, Me, NT, 2000, XP and Explorer are trademarks of

    Microsoft Corp. Apple and Mac OS are registered trademarks of Apple Computer Inc. Other products may be trademarks or registered trademarks of their respective

    manufacturers.

    ii

  • Table of ContentsTable of Contents

    1. Introduction...................................................................................................................11.1 Accessing Telnet...................................................................................................................................1

    1.2 Valid Commands .................................................................................................................................2

    2. Commands Descriptions..............................................................................................32.1 upnp.....................................................................................................................................................3

    2.1.1 upnp off.....................................................................................................................................32.1.2 upnp on.....................................................................................................................................32.1.3 upnp .........................................................................................................................................42.1.4 upnp service..............................................................................................................................42.1.5 upnp subscribe..........................................................................................................................52.1.6 upnp tmpvs................................................................................................................................6

    2.2 ddns.....................................................................................................................................................7

    2.2.1 ddns log....................................................................................................................................72.2.2 ddns time...................................................................................................................................7

    2.3 exit.......................................................................................................................................................7

    2.4 Internet.................................................................................................................................................8

    2.5 ip........................................................................................................................................................10

    2.5.1 ip 2ndsubnet............................................................................................................................102.5.2 ip 2ndaddr...............................................................................................................................112.5.3 ip 2ndmask..............................................................................................................................122.5.4 ip aux......................................................................................................................................132.5.5 ip addr.....................................................................................................................................142.5.6 ip nmask..................................................................................................................................152.5.7 ip arp.......................................................................................................................................162.5.8 ip dhcpc...................................................................................................................................172.5.9 ip ping.....................................................................................................................................182.5.10 ip tracert................................................................................................................................192.5.11 ip rip......................................................................................................................................202.5.12 ip route..................................................................................................................................212.5.13 ip igmp_proxy........................................................................................................................222.5.14 ip igmp_snoop.......................................................................................................................232.5.15 ip wanaddr.............................................................................................................................242.5.16 ip wan2addr...........................................................................................................................252.5.17 ip wan2mode.........................................................................................................................262.5.18 ip dmz....................................................................................................................................262.5.19 ip dmzswitch..........................................................................................................................272.5.20 ip session..............................................................................................................................282.5.21 ip bandwidth..........................................................................................................................292.5.22 ip bindmac.............................................................................................................................30

    2.6 ipf.......................................................................................................................................................31

    2.6.1 ipf view....................................................................................................................................312.6.2 ipf set......................................................................................................................................322.6.3 ipf flowtrack ............................................................................................................................34

    2.7 csm ...................................................................................................................................................35

    2.8 ddos...................................................................................................................................................37

    2.9 urlf......................................................................................................................................................38

    2.9.1 urlf blist....................................................................................................................................38

    iii

  • 2.9.2 urlf setdefault...........................................................................................................................392.9.3 urlf esubnet.............................................................................................................................402.9.4 urlf webf...................................................................................................................................412.9.5 urlf tschedule...........................................................................................................................42

    2.10 isdn..................................................................................................................................................43

    2.10.1 isdn blknum...........................................................................................................................432.10.2 isdn dial.................................................................................................................................442.10.3 isdn drop...............................................................................................................................452.10.4 isdn vci..................................................................................................................................452.10.5 isdn overlap...........................................................................................................................45

    2.11 log....................................................................................................................................................46

    2.12 port...................................................................................................................................................47

    2.13 quit...................................................................................................................................................48

    2.14 srv....................................................................................................................................................49

    2.14.1 srv dhcp.................................................................................................................................492.14.1.1 srv dhcp fixip............................................................................................................492.14.1.2 srv dhcp gateway .....................................................................................................492.14.1.3 srv dhcp ipcnt ..........................................................................................................502.14.1.4 srv dhcp off ..............................................................................................................502.14.1.6 srv dhcp startip ........................................................................................................502.14.1.7 srv dhcp status .......................................................................................................502.14.1.8 srv dhcp leasetime ...................................................................................................512.14.1.9 srv dhcp frcdnsmanl ................................................................................................512.14.1.10 srv dhcp dns1 ........................................................................................................522.14.1.11 srv dhcp dns2.........................................................................................................522.14.1.12 srv dhcp relay ........................................................................................................522.14.1.14 srv dhcp public.......................................................................................................53

    2.14.2 srv ........................................................................................................................................542.14.2.1 srv dmz.....................................................................................................................542.14.2.2 srv openport.............................................................................................................542.14.2.3 srv portmap..............................................................................................................552.14.2.4 srv status..................................................................................................................56

    2.14.3 srv vta....................................................................................................................................57

    2.15 sys....................................................................................................................................................58

    2.15.1 sys admin..............................................................................................................................582.15.2 sys cfg...................................................................................................................................592.15.3 sys cmdlog............................................................................................................................602.15.4 sys ftpd..................................................................................................................................612.15.5 sys domainname...................................................................................................................622.15.6 sys iface................................................................................................................................632.15.7 sys name...............................................................................................................................642.15.8 sys passwd............................................................................................................................652.15.9 sys reboot..............................................................................................................................662.15.10 sys commit..........................................................................................................................672.15.11 sys tftpd...............................................................................................................................682.15.12 sys cc..................................................................................................................................682.15.13 sys version..........................................................................................................................692.15.14 sys qrybuf............................................................................................................................702.15.15 sys pollbuf...........................................................................................................................712.15.16 sys tr069..............................................................................................................................722.15.17 sys sip_alg...........................................................................................................................74

    2.16 show.................................................................................................................................................75

    2.16.1 show lan1..............................................................................................................................752.16.2 show lan2..............................................................................................................................75

    iv

  • 2.16.3 show dhcp.............................................................................................................................752.16.4 show dmz..............................................................................................................................752.16.5 show dns...............................................................................................................................762.16.6 show openport.......................................................................................................................762.16.7 show .....................................................................................................................................762.16.8 show session.........................................................................................................................772.16.9 show adsl..............................................................................................................................77

    2.17 mngt.................................................................................................................................................78

    2.17.1 mngt ftpport...........................................................................................................................782.17.2 mngt httpport.........................................................................................................................782.17.3 mngt httpsport.......................................................................................................................792.17.4 mngt telnetport......................................................................................................................792.17.5 mngt ftpserver.......................................................................................................................802.17.6 mngt noping...........................................................................................................................812.17.7 mngt defenseworm................................................................................................................822.17.8 mngt rmtcfg...........................................................................................................................832.17.9 mngt echoicmp......................................................................................................................842.17.10 mngt accesslist....................................................................................................................85

    2.18 vpn...................................................................................................................................................86

    2.18.1 vpn l2lset...............................................................................................................................862.18.2 vpn 2ndsubnet.......................................................................................................................87

    2.19 wan..................................................................................................................................................88

    2.19.1 wan ppp_ipcp_vso.................................................................................................................882.19.2 ppp_mru................................................................................................................................882.19.3 wan ppp_mss........................................................................................................................892.19.4 wan DF_check.......................................................................................................................892.19.5 wan disable...........................................................................................................................89

    2.20 adsl..................................................................................................................................................90

    2.20.1 adsl txpct...............................................................................................................................902.20.2 adsl rxpct...............................................................................................................................912.20.3 adsl status.............................................................................................................................922.20.4 adsl ppp.................................................................................................................................932.201.5 adsl bridge...........................................................................................................................942.20.6 adsl idle.................................................................................................................................952.20.7 adsl drivemode......................................................................................................................952.20.8 adsl reboot............................................................................................................................952.20.9 adsl oamlb.............................................................................................................................962.20.10 adsl vcilimit .........................................................................................................................972.20.11 adsl annex...........................................................................................................................972.20.12 adsl showbins......................................................................................................................982.20.13 adsl optn..............................................................................................................................992.20.14 adsl bitswap.........................................................................................................................992.20.15 adsl femec...........................................................................................................................992.20.16 adsl savecfg......................................................................................................................1002.20.17 adsl atm.............................................................................................................................100

    2.21 wl ...................................................................................................................................................101

    2.21.1 wl set ..................................................................................................................................1012.21.2 wl act ..................................................................................................................................1022.21.3 wl wmm...............................................................................................................................1032.21.4 wl ht.....................................................................................................................................1042.21.5 wl restart..............................................................................................................................105

    2.22 voip................................................................................................................................................106

    2.22.1 voip debug...........................................................................................................................1062.22.2 voip dect..............................................................................................................................107

    v

  • 2.22.3 voip dial_plan......................................................................................................................1082.22.4 voip dsp...............................................................................................................................109

    2.22.4.1 voip dsp countrytone...............................................................................................1092.22.4.2 voip dsp dialtonepwr ..............................................................................................1102.22.4.3 voip dsp ringfeq......................................................................................................1102.22.4.4 voip dsp cidtype .....................................................................................................1112.22.6.5 voip dsp micgain ....................................................................................................1112.22.4.6 voip dsp spkgain ....................................................................................................1122.22.4.7 voip dsp jitterBuffer ................................................................................................1122.22.4.8 voip dsp timer.........................................................................................................112

    2.22.5 voip rtp................................................................................................................................1142.22.5.1 voip rtp codec.........................................................................................................1142.22.5.2 voip rtp dtmf............................................................................................................1152.22.5.3 voip rtp port............................................................................................................1162.22.5.4 voip rtp symmetric..................................................................................................1162.22.5.5 voip rtp tos .............................................................................................................117

    2.22.6 voip sip................................................................................................................................1182.22.6.1 voip sip acc.............................................................................................................1182.22.6.2 voip sip calllog........................................................................................................1202.22.6.3 voip sip ep .............................................................................................................1212.22.6.4 voip sip misc ..........................................................................................................1232.22.6.5 voip sip nat.............................................................................................................124

    2.23 prn .................................................................................................................................................125

    2.24 vlan ...............................................................................................................................................126

    2.24.1 vlan status ..........................................................................................................................1262.24.2 vlan on.................................................................................................................................1262.24.3 vlan off.................................................................................................................................1262.24.4 vlan group............................................................................................................................1262.24.5 vlan restart...........................................................................................................................127

    2.25 wol .................................................................................................................................................128

    2.26 vigbrg.............................................................................................................................................129

    2.26.1 vigbrg on.............................................................................................................................1292.26.2 vigbrg off.............................................................................................................................1302.26.3 vigbrg status........................................................................................................................131 ......................................................................................................................................................1312.26.4 vigbrg cfgip..........................................................................................................................1322.26.5 vigbrg wanstatus..................................................................................................................1332.26.6 vigbrg wlanstatus.................................................................................................................134

    vi

  • 1. Introduction1. Introduction

    The manual is made just for Vigor2820 Series. This chapter gives you a general description for accessing telnet and describes the firmware versions for the routers explained in this manual.

    1.1 Accessing TelnetClick Start > Run and type Telnet 192.168.1.1 in the Open box as below. Note that the IP address in the example is the default address of the router. If you have changed the default, enter the current IP address of the router.

    Click OK. The Telnet terminal will be open. If an administrator password has not already been assigned, follow the on-screen instructions to assign one.

    After assigning a password, type ?. You will see a list of valid/common commands depending on the router that your use.

    Telnet Command Reference Guide V1.1 1

  • 1.2 Valid Commands The valid commands will differ according to the router and the firmware version that you have.

    Valid Command Types for Vigor 2820 Series (F/W: V3.2.1)

    upnp ddns exit internet ip ipf csm ddos urlf log port quitsrv sys show mngt vpn wanadsl wl voip prn vlan wolvigbrg bpa

    Telnet Command Reference Guide V1.12

  • 2. Commands Descriptions2. Commands Descriptions

    2.1 upnp2.1.1 upnp offThis command can close UPnP function.

    Example >upnp offUPNP say bye-bye

    2.1.2 upnp onThis command can enable UPnP function.

    Example >upnp onUPNP start.

    Telnet Command Reference Guide V1.1 3

  • 2.1.3 upnp This command can display IGD status.

    Example > upnp ****************** IGD Status ****************

    ((0))InternalClient >>202.168.1.00.0.0.0>2121>TCP>0>00>0.0.0.00.0.0.0>00>*>0>00 upnp service>>>>> SERVICE TABLE1 > SERVICE TABLE2

  • 2.1.5 upnp subscribeThis command can show all subscribers of UPnP services.

    Example > upnp subscribe>>>> (1) serviceType urn:schemas-microsoft-com:service:OSInfo:1 ----- Subscribtion1 ------- sid = b6ebf734-bb66-4fcb-9481-ec12f852768c eventKey =1, ToSendEventKey = 1 expireTime =85736 active =1 DeliveryURLs =>>>> (2) serviceType urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 ----- Subscribtion1 ------- sid = b3bed84b-c49c-4caf-8da7-88691e5c38ea eventKey =1, ToSendEventKey = 1 expireTime =85737 active =1 DeliveryURLs =>>>> (3) serviceType urn:schemas-upnp-org:service: WANDSLLinkConfig:1>>>> (4) serviceType urn:schemas-upnp-org:service:WANPPPConnection:1 ----- Subscribtion1 ------- sid = 789aab3a-e35f-487f-b7c5-5c19a26b2428 eventKey =1, ToSendEventKey = 1 expireTime =85738 active =1 DeliveryURLs =

    Telnet Command Reference Guide V1.1 5

  • 2.1.6 upnp tmpvsThis command can display current status of temp Virtual Server of your router.

    Example ****************** Temp virtual server status ****************

    ((0))real_addr >>192.168.1.10172.16.3.229>00>0>TCP>0>0.0.0.00.0.0.0>00>0>0>0

  • 2.2 ddns2.2.1 ddns logDisplays the DDNS log.

    Example >ddns log01:07:38.0 >>>>> DDNS is updating.

  • 2.4 InternetThis command allows you to configure detailed settings for WAN connection.

    internet -M n [- | ... ]

    Syntax Description- The available commands with parameters are listed below.

    [] It means that you can type in several commands in one line.-M n M means to set Internet Access Mode (Mandatory) and n means

    different modes (represented by 0 3)n=0: Offlinen=1: PPPoEn=2: Dynamic IPn=3: Static IP

    -S It means to set ISP Name (max. 23 characters).-u It means to set username (max. 49 characters) for Internet accessing. -p It means to set password (max. 49 characters) for Internet accessing.-a n It means to set PPP Authentication Type and n means different types

    (represented by 0-1). n=0: PAP/CHAP (this is default setting)n=1: PAP Only

    -t n It means to set connection duration and n means different conditions.n=-1: Always-onn=1 ~ 999: Idle time for offline (default 180 seconds)

    -i It means that PPPoE server will assign an IP address specified here for CPE (PPPoE client). If you type 0.0.0.0 as the , ISP will assign suitable IP address for you. However, if you type an IP address here, the router will use that one as a fixed IP.

    -w This command is useful for MPoA static IP mode. It means to assign WAN IP address for such connection. Please type an IP address here for WAN port.

    -n This command is useful for MPoA static IP mode. It means to assign netmask for WAN connection. You have to type 255.255.255.xxx (x is changeable) as the netmask for WAN port.

    -g This command is useful for MPoA static IP mode. It means to assign gateway IP for such WAN connection.

    -V It means to view Internet Access profile.

    Example> internet -M 1 -S tcom -u username -p password -a 0 -t -1 -i 0.0.0.0> internet -VInternet Mode: PPPoE

    Telnet Command Reference Guide V1.18

  • ISP Name: tcomUsername: usernameAuthentication: PAP/CHAPIdle Timeout: -1WAN IP: Dynamic IP

    Telnet Command Reference Guide V1.1 9

  • 2.5 ip2.5.1 ip 2ndsubnetThis command allows users to enable or disable the second subnet for your router.

    ip 2ndsubnet

    Syntax DescriptionEnable Enable the second subnet.Disable Disable the second subnet.

    Example >ip 2ndsubnet Disable2nd subnet disabled!>ip 2ndsubnet Enable2nd subnet enabled!

    Telnet Command Reference Guide V1.110

  • 2.5.2 ip 2ndaddrThis command allows users to set the second IP address for your router.

    ip 2ndaddr ?ip 2ndaddr

    Syntax Description? Display an IP address which allows users set as second subnet IP

    address.

    2nd subnet IP address Specify an IP address. The system will set the one that you specified as the second subnet IP address.

    Example >ip 2ndaddr 192.168.2.1% Set 2nd subnet IP address done!!!

    Telnet Command Reference Guide V1.1 11

  • 2.5.3 ip 2ndmaskThis command allows users to set the second IP address for your router.

    ip 2ndmask ?ip 2ndmask

    Syntax Description? Display a subnet mask address which allows users set as second

    subnet mask.

    2nd subnet IP address Specify a subnet mask. The system will set the one that you specified as the second subnet mask.

    Example >ip 2ndmask 255.255.255.0% Set 2nd subnet mask done!!!

    Telnet Command Reference Guide V1.112

  • 2.5.4 ip auxThis command allows users to set a specified WAN IP for joining into the Pool. Basically, the WAN IP has been added in WAN IP Alias but not joined to Pool yet.

    ip aux add [IP] [Join to Pool]ip aux remove [index]

    Syntax DescriptionIP It means the auxiliary WAN IP address.Join to Pool 0 (disable) or 1 (enable) [index] Type the index number of the table displayed on your screen.

    Example >ip aux 172.16.3.113 1>

    When you type ip aux?, the current auxiliar WAN IP Address table will be shown as the following:

    Index no. Status IP address IP pool----------------------------------------------

    1 Enable 172.16.3.229 Yes2 Enable 172.16.3.56 No3 Enable 172.16.3.113 No

    Telnet Command Reference Guide V1.1 13

  • 2.5.5 ip addrThis command allows users to set/add a specified LAN IP your router.

    ip addr [IP address]

    Syntax DescriptionIP address It means the LAN IP address.

    Example >ip addr 192.168.50.1% Set IP address OK !!!

    Note: When the LAN IP address is changed, the start IP address of DHCP server are still the same. To make the IP assignment of the DHCP server being consistent with this new IP address (they should be in the same network segment), the IP address of the PC must be fixed with the same LAN IP address (network segment) set by this command for accessing into the web configurator of the router. Later, modify the start addresses for the DHCP server.

    Telnet Command Reference Guide V1.114

  • 2.5.6 ip nmaskThis command allows users to set/add a specified netmask for your router.

    ip nmask [IP netmask]

    Syntax DescriptionIP netmask It means the netmask of LAN IP.

    Example >ip netmask 255.255.255.0Set IP netmask OK !!!

    Telnet Command Reference Guide V1.1 15

  • 2.5.7 ip arpARP displays the matching condition for IP and MAC address.

    ip arp add [IP address] [MAC address] [LAN or WAN]ip arp del [IP address] [LAN or WAN]ip arp fluship arp statusIn which, arp add allows users to add a new IP address into the ARP table; arp del allows users to remove an IP address; arp flush allows users to clear arp cache; arp status allows users to review current status for the arp table.

    Syntax DescriptionIP address It means the LAN IP address.MAC address It means the MAC address of your router.LAN or WAN It indicates the direction for the arp function.

    Example >ip arp status[ARP Table]Index IP Address MAC Address1 192.168.1.10 00-0E-A6-2A-D5-A1

    Telnet Command Reference Guide V1.116

  • 2.5.8 ip dhcpcThis command is available for WAN DHCP.

    ip dhcpc optionip dhcpc releaseip dhcpc renewip dhcpc status

    Syntax Descriptionoption It is an optional setting for DHCP server.release It means to release current WAN IP address.renew It means to renew the WAN IP address and obtain another new one.status It displays current status of DHCP client.

    Example >ip dhcpc statusI/F#3 DHCP Client Status:

    DHCP Server IP : 172.16.3.7WAN Ipm : 172.16.3.40WAN Netmask : 255.255.255.0WAN Gateway : 172.16.3.1Primary DNS : 168.95.192.1Secondary DNS : 0.0.0.0Leased Time : 259200Leased Time T1 : 129600Leased Time T2 : 226800Leased Elapsed : 259194Leased Elapsed T1 : 129594Leased Elapsed T2 : 226794

    Telnet Command Reference Guide V1.1 17

  • 2.5.9 ip pingThis command allows users to ping IP address of WAN1 or WAN2 for verifying if the WAN connection is OK or not.

    ip ping [IP address] [WAN1/WAN2]

    Syntax DescriptionIP address It means the LAN IP address.WAN1/WAN2 It means the WAN port that the above IP address passes through.

    Example >ip ping 172.16.3.229 WAN1Pinging 172.16.3.229 with 64 bytes of Data:Receive reply from 172.16.3.229, time=0msReceive reply from 172.16.3.229, time=0msReceive reply from 172.16.3.229, time=0msPackets: Sent = 5, Received = 5, Lost = 0

    Telnet Command Reference Guide V1.118

  • 2.5.10 ip tracertThis command allows users to trace the routes from the router to the host.

    ip tracert [Host/IP address] [WAN1/WAN2]

    Syntax DescriptionIP address It means the target IP address.WAN1/WAN It means the WAN port that the above IP address passes through.

    Example >ip tracert 22.128.2.62 WAN1Traceroute to 22.128.2.62, 30 hops max1 172.16.3.7 10ms2 172.16.1.2 10ms3 Request Time out.4 168.95.90.66 50ms5 211.22.38.134 50ms6 220.128.2.62 50msTrace complete

    Telnet Command Reference Guide V1.1 19

  • 2.5.11 ip ripThis command allows users to set the RIP (routing information protocol) of IP.

    ip rip [0/1/2]

    Syntax Description0/1/2 0 means disable; 1 means first subnet and 2 means second subnet.

    Example >ip rip 1%% Set RIP 1st subnet.

    Telnet Command Reference Guide V1.120

  • 2.5.12 ip routeThis command allows users to set static route.

    ip route add [dst] [netmask][gateway][iface][rtype]ip route del [dst] [netmask][rtype]ip route status

    Syntax Descriptionadd It means to add an IP address as static route.del It means to delete specified IP address.status It means current status of static route.dst It means the IP address of the destiion.netmask It means the netmask of the specified IP address.gateway It means the gateway of the connected router.iface It means the connection interface., 0 : LAN; 3: WAN1; 4: WAN2rtype It means the type of the route, default : default route; static: static

    route.

    Example > ip route add 172.16.2.0 255.255.255.0 172.16.2.4 3 static> ip route status

    Codes: C - connected, S - static, R - RIP, * - default, ~ - privateC~ 192.168.1.0/ 255.255.255.0 is directly connected, IF0S 172.16.2.0/ 255.255.255.0 via 172.16.2.4, IF3

    Telnet Command Reference Guide V1.1 21

  • 2.5.13 ip igmp_proxyThis command allows users to enable/disable igmp proxy server.

    ip igmp_proxy [set|reset|status]

    Syntax Descriptionset It means to enable proxy server.reset It means to disable proxy server.

    status it means to display current status for proxy server.

    Example >ip igmp_proxy status%% ip igmp_proxy [set|rset|status], IGMP Proxy is ON%%% igmp_proxy LAN:

    239.255.255.250 state=1%%% igmp_proxy WAN:

    224.0.0.9 timer=0239.255.255.250 timer=0

    Telnet Command Reference Guide V1.122

  • 2.5.14 ip igmp_snoopThis command allows users to enable or disable igmp snoop function.

    ip igmp_snoop enableip igmp_snoop disableip igmp_snoop statusip igmp_snoop tableip igmp_snoop txquery

    Syntax Descriptionenable It means to enable igmp snoop function.disable It means to disable igmp snoop function.status It means to display current igmp configuration.table It means to display current configuration of igmp.

    Example > ip igmp_snoop enable%% ip igmp snooping [enable|disable|status], IGMP Snooping is Enabled.> ip igmp_snoop disable%% ip igmp snooping [enable|disable|status], IGMP Snooping is Disabled.> ip igmp_snoop status%% ip igmp snooping [enable|disable|status], IGMP Snooping is Disabled.

    Telnet Command Reference Guide V1.1 23

  • 2.5.15 ip wanaddrThis command allows users to set WAN address for the router.

    ip wanaddr [IP address][IP netmask][gateway ip]

    Syntax DescriptionIP address It means the WAN IP address.IP netmask It means the netmask of the specified IP address.gateway ip It means the IP address for gateway.

    Example >ip wanaddr 172.16.2.4 255.255.255.0% Set WAN IP address OK!!!

    Telnet Command Reference Guide V1.124

  • 2.5.16 ip wan2addrThis command allows users to set second WAN address for the router.

    ip wan2addr [IP address][IP netmask]

    Syntax DescriptionIP address It means the WAN IP address.IP netmask It means the netmask of the specified IP address.gateway ip It means the IP address for gateway.

    Example >ip wan2addr 172.16.2.4 255.255.255.0% Set WAN IP address OK!!!

    Telnet Command Reference Guide V1.1 25

  • 2.5.17 ip wan2modeThis command allows users to set second WAN address for the router.

    ip wan2Mode off | backup | bod | lb

    Example > ip wan2mode off% ip wan2Mode off

    2.5.18 ip dmzSpecify MAC address of certain device as the DMZ host.

    ip dmz [mac]

    Syntax Descriptionmac It means the MAC address of the device that you want to specify.

    Example >ip dmz ?% ip dmz , now : 00-00-00-00-00-00> ip dmz 11-22-33-44-55-66> ip dmz ?% ip dmz , now : 11-22-33-44-55-66>

    Telnet Command Reference Guide V1.126

  • 2.5.19 ip dmzswitchThis command allows users to set DMZ mode.

    ip dmzswitch offip dmzswitch privateip dmzswitch active_trueip

    Syntax Descriptionoff It means to turn off DMZ function.private It means to set DMZ as private IP.active_truei It means to set the DMZ as active true IP DMZ.

    Example >ip dmzswitch off

    Telnet Command Reference Guide V1.1 27

  • 2.5.20 ip sessionThis command allows users to set maximum session limit number for the specified IP.

    ip session onip session offip session default numip session statusip session showip session [add/del][IP1-IP2][num]

    Syntax Descriptionon It means to turn on session limit for each IP.off It means to turn off session limit for each IP.default num It means to set the default number of session num limit.status It means to display the current settings.show It means to display all session limit settings in the IP range.add It means to add the session limits in an IP range.del It means to delete the session limits in an IP range.IP1-IP2 It means the range of IP address specified for this command.num It means the number of the session limits, e.g., 100.

    Example >ip session default 100>ip session add 192.168.1.5. 192.168.1.100 100>ip session statusIP range:

    192.168.1.50-192.168.1.100 : 100Current ip session limit is turn onCurrent default session number is 100

    Telnet Command Reference Guide V1.128

  • 2.5.21 ip bandwidthThis command allows users to set maximum bandwidth limit number for the specified IP.

    ip bandwidth onip bandwidth offip bandwidth default [tx_rate][rx_rate]ip bandwidth statusip bandwidth showip bandwidth [add/del] [IP1-IP2][tx][rx]

    Syntax Descriptionon It means to turn on the IP bandwidth limit.off It means to turn off the IP bandwidth limit.default [tx_rate][rx_rate] It means to set default tx and rx rate of bandwidth limit. The range is

    from 0 65535 Kpbs.

    status It means to display the current settings.show It means to display all the bandwidth limits settings within the IP

    range.

    add It means to add the bandwidth within the IP range.del It means to delete the bandwidth within the IP range.IP1-IP2 It means the range of IP address specified for this command.tx It means to set transmission rate for bandwidth limit.rx It means to set receiving rate for bandwidth limit.

    Example >ip bandwidth default 200 800>ip bandwidth add 192.168.1.50 - 192.168.1.100 10 60>ip bandwidth status

    IP range:192.168.1.50 192.168.1.100 : Tx:10 Rx:60

    Current ip Bandwidth limit is turn on

    Current default Bandwidth rate is Tx:200 Rx:800 Kbps

    Telnet Command Reference Guide V1.1 29

  • 2.5.22 ip bindmacThis command allows users to set IP-MAC binding for LAN host.

    ip bandmac onip bandmac offip bandmac strict_onip bandmac showip bandmac add [IP][MAC]ip bandmac del [IP]/all

    Syntax Descriptionon It means to turn on IP bandmac policy. Even the IP is not in the policy

    table, it can still access into network.

    off It means to turn off all the bindmac policy.strict_on It means that only those IP address in IP bindmac policy table can

    access into network.

    show It means to display the IP address and MAC address of the pair of binded one.

    add It means to add one ip bindmac.del It means to delete one ip bindmac.IP It means to type the IP address for binding with specified MAC

    address.

    MAC It means to type the MAC address for binding with the IP address specified.

    All It means to delete all the IP bindmac settings.

    Example >ip bindmac add 192.168.1.46 00:50:7f:22:33:55>ip bindmac showip bind mac function is turned ON

    Telnet Command Reference Guide V1.130

  • 2.6 ipfThis command allows users to view the version of the IP filter, to view/set the log flag, to view the running IP filter rules.

    2.6.1 ipf viewipf [-VzZ][-1 block]ipf [-VzZ][-1 pass]ipf [-VzZ][-1 nomatch]ipf [-VzZ][-1 none]ipf view [-cdfhrtz]

    Syntax DescriptionV It means to show the version of this IP filter.z It means to clear a filter rules statistics.Z It means to clear IP filters gross statistics.-1 It means to set the log flag.block It means to log the packet which will be blocked by IP filter.pass It means to log the packet that passes through IP filter.nomatch It means to log the packet that doesn't match any rule in IP filter.none It means logging or not depends on filter rule setting.-c It means to show the running call filter rules.-d It means to show the running data filter rules.-f It means to show IP fragment states.-h It means to show the hit-number of the filter rules.-r It means to show the running call and data filter rules.-t It means to display to the end.-z It means to clear the statistics of IP filter rules.

    Example >ipf V -1 passIpf: IP Filter: v3.3.1 Kernel: IP Filter: v3.3.1Running: yesLog Flags: 0x0 = none setDefault: pass all, Logging: available>ipf view c------ Call Filter Rules ------[Set 1 Rule 1]Schedule:Source IP : anyDestiion IP: anyService Type: TCP/UDP port from 137-139 to anyFragments: Dont CareAction: Block immediately

    Telnet Command Reference Guide V1.1 31

  • 2.6.2 ipf setThis command is used to set filter rule for firewall.

    ipf set [SET_NO] rule [RULE_NO] [Options]ipf set [Options]

    Syntax DescriptionSET_NO It means to specify the index number (from 1 to 12) of filter set. RULE_NO It means to specify the index number (from 1 to 7) of filter rule set.Options There are several options provided here, such as -v, -c [SET_NO], -d

    [SET_NO], -l [VALUE], - p [VALUE], -C [CSM_NO], -i [VALUE] and -f [VALUE].

    -v Type -v to view the configuration of general set-c [SET_NO] It means to setup Call Filter, e.g., -c 2. The range for the index number

    you can type is 0 to 12 (0 means disable).

    -d [SET_NO] It means to setup Data Filter, e.g., -d 3. The range for the index number you can type is 0 to 12 (0 means disable).

    -l [VALUE] It means to setup Log Flag, e.g., -l 2Type 0 to disable the log flag.Type 1 to display the log of passed packet.Type 2 to display the log of blocked packet.Type 3 to display the log of non-matching packet.

    - p [VALUE] It means to setup actions for packet not matching any rule. e.g., -p 1Type 0 to let all the packets pass; Type 1 to block all the packets.

    -C [CSM_NO] It means to setup CSM for packet not matching any rule. Type the index number of CSM profile (0 to 32, 0=None), e.g., -C 32

    -i [VALUE] It means to apply IP filter to VPN incoming packets.Type 0 to disable; type 1 to enable, e.g., -i 1

    -f [VALUE] It means to accept large incoming fragmented UDP or ICMP packets. Type 0 to disable; type 1 to enable, e.g., -f 0

    Example > ipf set 2 rule 1 -p 0Setting saved.> ipf set 2 rule 1 -vFilter Set 2 Rule 1:Status : EnableComments : xNetBios -> DNSIndex(1-15) in Schedule Setup: , , , Direction : LAN -> WANSource IP : AnyDestiion IP : AnyService Type : TCP/UDP, Port: from 137~139 to 53

    Telnet Command Reference Guide V1.132

  • Fragments : Don't CarePass or Block : Pass ImmediatelyBranch to Other Filter Set : NoneContent Management : NoneLog : Disable

    > ipf set -vCall Filter : Enable (Start Filter Set = 1)Data Filter : Enable (Start Filter Set = 2)Log Flag : NoneActions for packet not matching any rule: Pass or Block : Pass Content Management : None

    Apply IP filter to VPN incoming packets : DisableAccept large incoming fragmented UDP or ICMP packets : Enable

    Telnet Command Reference Guide V1.1 33

  • 2.6.3 ipf flowtrack This command is used to set and view flowtrack sessions.

    ipf flowtrack set [-r]ipf flowtrack view [-f]

    Syntax Description-r It means to refresh the flowstate.

    -f It means to show all sessions state of flowtrack.

    Example > ipf flowtrack set -rRefresh the flowstate ok> ipf flowtrack view -fStart to show the flowtrack sessions state:

    ORIGIN>> 192.168.1.10 : 4771 -> 207.46.3.2 : 80 ,ifno=0REPLY >> 207.46.3.2 : 80 -> 172.16.3.229 :54357 ,ifno=3 proto=6, age=7532140(2620), flag=4033End to show the flowtrack sessions state

    Telnet Command Reference Guide V1.134

  • 2.7 csm This command allows you to set CSM profile to define policy profiles for different policy of IM (Instant Messenger)/P2P (Peer to Peer) application.

    csm -i INDEX [-v | -n NAME | -e AP | -d AP]

    Syntax DescriptionINDEX It means to specify the index number of CSM profile, from 1 to 32.- v It means to view the configuration of the CSM profile.- n It means to set a name for the CSM profile.NAME It means to specify a name for the CSM profile, less then 15

    characters.

    - e It means to enable the blocking for specific application.- d It means to disable the blocking for specific application.AP It means to specify one or more of the following CSM applications:

    MSN: MSNYM: Yahoo MessengerICQ: ICQAIM: AIMQQ: QQiChat: iChatGT: Google TalkWIM: Web IM (http://www.e-messenger.net/)WMSN: Web MSN (http://webmessenger.msn.com/)jajah: jajahSkype: SkypeSoulSeek: SoulSeek protocoleDonkey: eDonkey protocolFastTrack: FastTrack protocolGnutella: Gnutella protocolBitTorrent: BitTorrent protocol

    Example > csm -i 1 -n downloadbad The name of csm profile 1 was set.> csm -i 1 -vCSM Profile 1: Profile name: downloadbad Block MSN : Disable Block Yahoo Messenger : Disable Block ICQ : Disable Block AIM : Disable Block QQ : Disable Block iChat : Disable Block Google Talk : Disable Block Web IM : Disable

    Telnet Command Reference Guide V1.1 35

  • Block Web MSN : Disable Block jajah : Disable Block Skype : Disable Block SoulSeek protocol : Disable Block eDonkey protocol : Disable Block FastTrack protocol : Disable Block Gnutella protocol : Disable Block BitTorrent protocol : Disable

    Telnet Command Reference Guide V1.136

  • 2.8 ddosThis command allows users to configure the settings for DoS defense system.

    ddos [-V | D | A]ddos [-s ATTACK_F [THRESHOLD][ TIMEOUT]]ddos [-a | e [ATTACK_F][ATTACK_0] | d [ATTACK_F][ATTACK_0]]

    Syntax Description-V It means to view the configuration of DoS defense system.-D It means to deactivate the DoS defense system.-A It means to activate the DoS defense system.-s It means to enable the defense function for a specific attack and set its

    parameter(s).

    ATTACK_F It means to specify the name of flooding attack(s) or portscan, e.g., synflood, udpflood, icmpflood, or postscan.

    THRESHOLD It means the packet rate (packet/second) that a flooding attack will be detected. Set a value larger than 20.

    TIMEOUT It means the time (seconds) that a flooding attack will be blocked. Set a value larger than 5.

    -a It means to enable the defense function for all attacks listed in ATTACK_0.

    -e It means to enable defense function for a specific attack(s).ATTACK_0 It means to specify a name of the following attacks: ip_option,

    tcp_flag, land, teardrop, smurf, pingofdeath, traceroute, icmp_frag, syn_frag, unknow_proto, fraggle.

    -d It means to disable the defense function for a specific attack(s).

    Example >ddos AThe Dos Defense system is Activated>ddos s synflood 50 10Synflood is enabled! Threshold=50 timeout=10

    Telnet Command Reference Guide V1.1 37

  • 2.9 urlf2.9.1 urlf blistThis command allows users to set the URL access control.

    urlf blist [noip]urlf blist [on|off]urlf blist [status]urlf blist [INDEX e |d [KEYWORD[SYMBOL KEYWORD]]urlf blist [white | black]

    Syntax Descriptionnoip It means to prevent web access from the IP address.on It means to activate the functionality of the URL access control.off It means to deactivate the functionality of the URL access control.status It means to show the current configuration of the URL access control. INDEX It means the number of the specific item (e.g., 1-8).-e It means to enable the specific item with users configuration.-d It means to disable the specific item for URL.KEYWORD It means the blocking keyword(s). The maximum length is 32.SYMBOL It means the space, comma or semicolon.white It means to block all packets except the ones that match the keyword

    in the list.

    black It means to pass all packets except the ones that match the keyword in the list.

    Example >urlf blist on The functionality of the URL access control is activated!!>urlf blist 1 e newsThe blocking keyword list valued with news and numbered with 1 has been enabled.

    Telnet Command Reference Guide V1.138

  • 2.9.2 urlf setdefaultThis command will reset all the configuration data for the contenet filtering.

    Example >urlf setdefaultAll configuration data of the content filtering function is reset!!

    Telnet Command Reference Guide V1.1 39

  • 2.9.3 urlf esubnetThis command allows users to deal with the exempt subnets.

    urlf esubnet [on|off]urlf esubnet [status]urlf esubnet [INDEX e |d [IP_ADDRESS SUBNET_MASK]]

    Syntax Descriptionon It means to activate the functionality of the exempt subnets.off It means to deactivate the functionality of the exempt sunbnets.status It means to show the current configuration of the exempt subnets.INDEX It means the number of the specific item (e.g., 1-4).-e It means to enable the specific item with the users configuration.-d It means to disable the specific item.

    Example >urlf esubnet onThe functionality of the exceptional subnet is activated!!>urlf esubnet 1 e 192.168.1.55 255.255.255.0The exceptional subnet list 192.168.1.55/255.255.255.0 and numbered with 1 has been enabled>urlf esubnet status[V]Enable the functionality of the exceptional Subnets!!1.[V]192.168.1.55/255.255.255.02.[ ]0.0.0.0/0.0.0.03.[ ]0.0.0.0/0.0.0.04.[ ]0.0.0.0/0.0.0.0

    Telnet Command Reference Guide V1.140

  • 2.9.4 urlf webfThis command allows users to restrict the web filter features.

    urlf webf [on|off]urlf webf [status]urlf webf [-e|d [java][zip][exe][mms][cookie][proxy]]

    Syntax Descriptionon It means to activate the functionality of the restricted web features.off It means to deactivate the functionality of the restricted web features.status It means to show the current configuration of the restricted web

    features.

    -e It means to enable the specific item.-d It means to disable the specific item.

    Example >urlf webf onThe functionality of restricted web features is activated!!>urlf webf e java mmsJava is enabled!

    mms is enabled!>urlf webf status[V]Enable restrict web feature!![V]java [ ]activex [ ]zip [ ]exe [V]mms[ ]cookie [ ] proxy>

    Telnet Command Reference Guide V1.1 41

  • 2.9.5 urlf tscheduleThis command allows users to choose the call schedule for URL access control. You can choose up to four sets of call schedule profiles.

    urlf tschedule Schedule1[,Schedule2][, Schedule3][, Schedule4]

    Syntax DescriptionSchedule1~4 It means the index of the profile for the call schedule setup (1-15).

    You can set 4 schedules in this command from the 15 sets of call schedules. Action/Idle Timeout settings in the Call Schedule setting page will be ignored. Set 0 to clear current settings.

    Example >urlf tschedule 1New URL Filter time schedule: 1

    Telnet Command Reference Guide V1.142

  • 2.10 isdn2.10.1 isdn blknumThis command allows users to block MSN number.

    isdn blknum add [index][BlockNumber]isdn blknum del [index]isdn blknum status

    Syntax Descriptionadd It means to add one MSN number for block.del It means to delete one existing MSN block number.index It means item number (from 0 to 4) of MSN number.blockNumber It means the specified MSN number which is not allowed to be dialed

    out by the router.

    Status It means to show the setting of blocked ISDN MSN number.

    Example >isdn blknum add 0 10

    Telnet Command Reference Guide V1.1 43

  • 2.10.2 isdn dialThis command allows users to specify the ISP name if you want to access the Internet via a single ISP connection.

    isdn dial [Dest Name]

    Syntax DescriptionDest Name It means the ISP name that you want to dial through ISDN connection.

    Example >isdn dial prima

    Telnet Command Reference Guide V1.144

  • 2.10.3 isdn dropThis command allows users to cut off the ISDN connection (B1/B2).

    isdn drop [B1 or B2]

    Syntax DescriptionB1 or B2 It means channel B1 (first channel) and B2 (second channel).

    Example >isdn drop B1

    2.10.4 isdn vciThis command allows users to specify remote ISDN number as ISDN voice call. For example, isdn vci 10 represents to dial ISDN number by using 10 .

    isdn vci

    Syntax Descriptiondial number It means the remote ISDN phone number.

    Example > isdn vci 20

    2.10.5 isdn overlapThis command allows users to make an ISDN voice call with overlap sending or en-bloc sending.

    isdn overlap [on/off]isdn overlap [status]

    Syntax Descriptionon It means to turn on the ISDN Overlap sending. The ISDN phone

    number will be sent out digit by digit.

    off It means to turn off the ISDN Overlap sending. The ISDN phone number will be sent out after collecting all the digits completely. (En-bloc Sending).

    status It means to show the status of ISDN overlap sending.

    Example >isdn overlap on % Overlap sending ON.

    Telnet Command Reference Guide V1.1 45

  • 2.11 logThis command allows users to view log for WAN, ISDN interface such as call log, IP filter log, flush log buffer, etc.

    log [-cfhiptwx?] [-F a| c | f | w]

    Syntax Description-c It means to show the latest call log.-f It means to show the IP filter log.-F It means to show the flush log buffer.

    a: flush all logsc: flush the call logf: flush the IP filter logs: flush the IP state logw: flush the WAN(ISDN and PPP) log

    -h It means to show this usage help.-i It means to show all the exchange message on ISDN interface. -p It means to show PPP/MP log.-t It means to show all logs saved in the log buffer.-w It means to show WAN (ISDN and PPP) log.-x It means to show packet body hex dump.

    Example >log w0:12:23.690---- >DHCP Len=300 Release XID = 0x5261da

    Client IP =10.0.0.211Your IP = 0.0.0.0Next server IP = 0.0.0.0Relay agent IP = 0.0.0.0Option 53: Message Type = 7Option 61: Client Identifier = 01 00 50 7f 31 9d 70Option 54: Server Identifier = 10.0.0.2

    0:12:24.920---- >DHCP Len=300 Release XID = 0x80a6f950

    Telnet Command Reference Guide V1.146

  • 2.12 portThis command allows users to set the speed for specific port of the router.

    port [1,2,3,4] [AN, 100F, 100H, 10F, 10H, status]

    Syntax Description1,2,3,4 It means the number of LAN port.AN 10H, status It means the physical type for the specific port.

    AN: auto-negotiate.100F: 100M Full Duplex.100H: 100M Half Duplex.10F: 10M Full Duplex.10H: 10M Half Duplex.

    Example > port ? %% port > port 1 AN

    Telnet Command Reference Guide V1.1 47

  • 2.13 quitThis command can exit the telnet command screen.

    Telnet Command Reference Guide V1.148

  • 2.14 srv2.14.1 srv dhcpThis command allows users to set relational settings for DHCP server.

    2.14.1.1 srv dhcp fixipsrv dhcp fixip add [IP Addr][MAC Addr XX-XX-XX-XX-XX-XX][Host ID]srv dhcp fixip clrsrv dhcp fixip del [IP Addr]

    Syntax Descriptionadd It means to add a new specified dhcp client.IP Addr It means the IP address of the specified client. MAC Addr It means the MAC address of the specified client.Host ID It means to specify the ID name of local host.clr It means to clear all the fixed IP addresses.del [IP Addr] It means to delete the specified IP address.

    Example > srv dhcp fixip add 192.168.1.56 22-33-44-55-66-77> srv dhcp fixip clr> srv dhcp fixip add 192.168.1.68 33-44-55-66-77-88> srv dhcp fixip del 192.168.1.68

    2.14.1.2 srv dhcp gateway This command allows users to specify gateway address for DHCP server.

    srv dhcp gateway [?] srv dhcp gateway [Gateway]

    Syntax Description? It means to display current gateway that you can use.Gateway It means to specify a gateway address used for DHCP server.

    Example > srv dhcp gateway 192.168.1.1This function need rebooting router, please type "sys reboot" command to reboot router.

    Telnet Command Reference Guide V1.1 49

  • 2.14.1.3 srv dhcp ipcnt This command allows users to specify IP counts for DHCP server.

    srv dhcp ipcnt [?] srv dhcp ipcnt [IP counts]

    Syntax Description? It means to display current used IP count number.IP counts It means the number that you have to specify for the DHCP server.

    Example > srv dhcp ipcnt 50This function need rebooting router, please type "sys reboot" command to reboot router.

    2.14.1.4 srv dhcp off This function allows users to turn off DHCP server. It needs rebooting router, please type "sys reboot" command to reboot router.

    2.14.1.5 srv dhcp on This function allows users to turn on DHCP server. It needs rebooting router, please type "sys reboot" command to reboot router.

    2.14.1.6 srv dhcp startip srv dhcp startip [?] srv dhcp startip [IP address]

    Syntax Description? It means to display current used start IP address.IP address It means the IP address that you can specify for the DHCP server as

    the starting point.

    Example > srv dhcp startip 192.168.1.53 This function need rebooting router, please type "sys reboot" command to reboot router.

    2.14.1.7 srv dhcp status This command can display general information for the DHCP server, such as IP address, MAC address, leased time, host ID and so on.

    Example > srv dhcp status

    Telnet Command Reference Guide V1.150

  • DHCP server: RunningDefault gateway: 192.168.1.1Index IP Address MAC Address Leased Time HOST ID1 192.168.1.1 00-50-7F-00-00-00 ROUTER IP2 192.168.1.10 00-0E-A6-2A-D5-A1 4:09:33.300 ok-lccgjyiy075u

    2.14.1.8 srv dhcp leasetime This command can set the lease time for the DHCP server.

    srv dhcp leasetime [?] srv dhcp leasetime [Lease Time (sec)]

    Syntax Description? It means to display current leasetime used for the DHCP server.Lease Time (sec) It means the lease time that DHCP server can use. The unit is second.

    Example > srv dhcp leasetime ?% srv dhcp leasetime % Now: 259200> srv dhcp leasetime 25900

    2.14.1.9 srv dhcp frcdnsmanl This command can force the router to invoke DNS Server IP address.

    srv dhcp frcdnsmanl [on] srv dhcp frcdnsmanl [off]

    Syntax Description? It means to display the current status.on It means to use manual setting for DNS setting.Off It means to use auto settings acquired from ISP.

    Example > srv dhcp frcdnsmanl on% Domain name server now is using manual settings!> srv dhcp frcdnsmanl off% Domain name server now is using auto settings!

    Telnet Command Reference Guide V1.1 51

  • 2.14.1.10 srv dhcp dns1 This command allows users to set primary DNS setting.

    srv dhcp dns1 [?]srv dhcp dns1 [DNS IP address]

    Syntax Description? It means to display current IP address of DNS 1 for the DHCP server.DNS IP address It means the IP address that you want to use as DNS1.

    Example > srv dhcp dns1 168.95.1.1>

    2.14.1.11 srv dhcp dns2This command allows users to set secondary DNS setting.

    srv dhcp dns2 [?] srv dhcp dns2 [DNS IP address]

    Syntax Description? It means to display current IP address of DNS 2 for the DHCP server.DNS IP address It means the IP address that you want to use as DNS2.

    Example > srv dhcp dns2 168.95.1.10 >

    2.14.1.12 srv dhcp relay This command allows users to set DHCP relay setting.

    srv dhcp relay servip [server ip]srv dhcp relay subnet [index]

    Syntax Descriptionserver ip It means the IP address that you want to used as DHCP server.Index It means subnet 1 or 2. Please type 1 or 2. The router will invoke this

    function according to the subnet 1 or 2 specified here.

    Example > srv dhcp relay servip 192.168.1.46> srv dhcp relay subnet 2>

    Telnet Command Reference Guide V1.152

  • 2.14.1.14 srv dhcp publicThis command allows users to configure DHCP server for second subnet.

    srv dhcp public start [IP address]srv dhcp public cnt [IP counts]srv dhcp public status srv dhcp public add [MAC Addr XX-XX-XX-XX-XX-XX]srv dhcp public del [MAC Addr XX-XX-XX-XX-XX-XX/all/ALL]

    Syntax Descriptionstart It means the starting point of the IP address pool for the DHCP server.IP address It means to specify an IP address as the starting point in the IP address

    pool.

    cnt It means the IP count number.IP counts It means to specify the number of IP addresses in the pool. The

    maximum is 10.

    status It means the execution result of this command.add It means creating a list of hosts to be assigned.MAC Addr It means to specify MAC Address of the host.del It means removing the selected MAC address.

    Telnet Command Reference Guide V1.1 53

  • 2.14.2 srv

    2.14.2.1 srv dmzThis command allows users to set DMZ host. Before using this command, please set WAN IP Alias first.

    srv dmz mapping [Index][Private IP address]srv dmz remove [Index]

    Syntax Descriptionmapping It means to map selected WAN IP to certain host.Index It means the number of the DMZ host.

    Default setting is 1 (WAN 1). It is only available for Static IP mode. If you use other mode, you can set 2 ~ 8 in this field.

    Private IP address It means to specify the private IP address of the DMZ host.remove It means removing DMZ host setting.

    Example > srv dmz mapping 1 192.168.1.66>

    2.14.2.2 srv openportThis command allows users to set open port settings for server.

    srv openport listsrv openport enable [index]srv openport disable [index]srv openport comment [index][Comment]srv openport dstip [index][Destiion local IP address]srv openport add [Profile index][Subitem index] [WAN IP addr][Pvt IP addr][Protocol][Start port][End port]srv openport remove [Profile index] [Subitem index]srv openport flush

    Syntax Descriptionlist It means a detailed list for open port settings.enable [index] It means to activate the specified entry of open port settings.disable [index] It means to inactivate the specified entry of open port settings.comment [index] It means the entry number of the comment.Comment It means to type the description for the defined network service.dstip [index] It means to choose a index number for the destiion.

    Telnet Command Reference Guide V1.154

  • [Destiion local IP address] It means to type the destiion IP address.add It means creating a new open port setting.Profile index It means to specify the number for this profile. The range is from 1 to

    10.

    Subitem index It means to specify the subitem number for this profile. The range is from 1 to 10.

    WAN IP addr It means to specify the public IP address for this profile.Pvt IP addr It means to specify the private IP address of local computer.protocol It means to specify TCP or UDP as the protocol.start port It means to specify the starting port number of the service offered by

    the local host.

    endt port It means to specify the ending port number of the service offered by the local host.

    remove It means deleting the specified open port setting.Profile index It means to specify the entry number of the profile.subitem index It means to specify the entry number of subitem.flush It means to clear all the open port settings.

    Example > srv openport flush Ok.>

    2.14.2.3 srv portmapThis command allows users to set port redirection table for server.

    srv portmap add [idx][serv name][proto][pub port][pri ip][pri port]srv portmap del [idx]srv portmap disable [idx]srv portmap enable [idx] [proto] srv portmap flushsrv portmap table

    Syntax DescriptionAdd[idx] It means to add a new port redirection table with an index number.

    Available index number is from 1 to 10.

    serv name It means to type one name as service name.proto It means to specify TCP or UDP as the protocol.pub port It means to specify which port can be redirected to the specified

    Private IP and Port of the internal host

    Telnet Command Reference Guide V1.1 55

  • pri ip It means to specify the private IP address of the internal host providing the service.

    pri port It means to specify the private port number of the service offered by the internal host.

    del [idx] It means to remove the selected port redirection setting.disable [idx] It means to inactivate the selected port redirection setting.enable [idx] It means to activate the port mapping settings of the specified flush It means to clear all the port mapping settings.table It means to display Port Redirection Configuration Table:

    Example > srv portmap add 1 game tcp 80 192.168.1.11 100>> srv portmap table

    Port Redirection Configuration Table:

    Index Service Name Protocol Public Port Private IP Private Port 1 game 6 80 192.168.1.11 100 2 0 0 0 3 0 0 0 4 0 0 0 5 0 0 0 6 0 0 0 7 0 0 0 8 0 0 0 9 0 0 010 0 0 0

    Protocol: 0 = Disable, 6 = TCP, 17 = UDP

    2.14.2.4 srv statusThis command allows users to view Port Redirection Running Table.

    Telnet Command Reference Guide V1.156

  • 2.14.3 srv vtaThis command allows users to turn upon or off the virtual TA.

    isdn vat [on/off]isdn vta [status]

    Syntax Descriptionon It means the turn on virtual TA.off It means to turn off virtual TA.

    status It means to show current status of virtual TA.

    Example > srv vta on>> srv vta off>> srv vta status% Remote CAPI server: Stop

    Telnet Command Reference Guide V1.1 57

  • 2.15 sys2.15.1 sys adminThis command allows users to add a name for administrator.

    sys admin [?] sys admin [ASCII string]

    Syntax Description? It means to display current name of administrator.ASCII string It means the name specified for the administrator, maximum 23

    characters.

    Example > sys admin BBQ

    Telnet Command Reference Guide V1.158

  • 2.15.2 sys cfgThis command reset the router with factory default settings. When a user types this command, all the configuration will be reset to default setting.

    sys cfg default sys cfg status

    Syntax Descriptiondefault It means to reset current settings with default values.status It means to display current profile version and status.

    Example > sys cfg statusProfile version: 0x2 Status: 1 (0x273cb001)> sys cfg default

    Telnet Command Reference Guide V1.1 59

  • 2.15.3 sys cmdlogThis command displays the history of the commands that you have typed.

    Example > >> sys cmdlog% Commands Log: (The lowest index is the newest !!!) [1] sys cmdlog [2] sys ? [3] sys version [4] sys tftpd off [5] sys tftpd ? [6] sys tftpd [7] sys tftpd on [8] sys passwd ? [9] sys name [10] sys name > [11] sys name clear [12] sys name clear clear [13] sys name ? [14] sys name [15] sys name [16] sys name clear [17] sys name routera [18] sys name router a [19] sys name ? [20] sys iface

    Telnet Command Reference Guide V1.160

  • 2.15.4 sys ftpdThis command displays current status of FTP server.

    sys cfg on sys cfg off

    Syntax Descriptionon It means to turn on the FTP server of the system. off It means to turn off the FTP server of the system.

    Example > sys ftpd on% sys ftpd turn on !!!

    Telnet Command Reference Guide V1.1 61

  • 2.15.5 sys domainnameThis command can set and remove the domain name of the system.

    sys domainname[Domain Name Suffix]

    Syntax DescriptionDomain Name Suffix It means the name for the domain of the system. The maximum

    character that you can set is 40.

    clear It means to remove the domain name of the system.

    Example > sys domainname clever> sys domainname ?% sys domainname % sys domainname clear% Now: clever

    > sys domainname clear>> sys domainname ?% sys domainname % sys domainname clear% Now:

    Telnet Command Reference Guide V1.162

  • 2.15.6 sys ifaceThis command displays the current interface connection status (UP or Down) with IP address, MAC address and Netmask for the router.

    Example > sys ifaceInterface 0 Ethernet:Status: UPIP Address: 192.168.1.1 Netmask: 0xFFFFFF00 (Private)IP Address: 0.0.0.0 Netmask: 0xFFFFFFFFMAC: 00-50-7F-D5-D4-40Interface 3 PPPoE:Status: UPIP Address: --- Netmask: 0xFFFFFFFFMAC: 00-50-7F-D5-D4-41>

    Telnet Command Reference Guide V1.1 63

  • 2.15.7 sys nameThis command can set and remove the name for the router.

    sys name [ASCII string]

    Syntax DescriptionASCII It means the name for router. The maximum character that you can set

    is 20.

    Example > sys name >>>

    Note: Such name can be used to recognize routers identification in SysLog dialog.

    Telnet Command Reference Guide V1.164

  • 2.15.8 sys passwdThis command allows users to set password for the administrator.

    sys passwd [ASCII string]

    Syntax DescriptionASCII string It means the password for administrator. The maximum character that

    you can set is 23.

    Example > sys passwd 1234>

    Telnet Command Reference Guide V1.1 65

  • 2.15.9 sys rebootThis command allows users to restart the router.

    Example > sys reboot>

    Telnet Command Reference Guide V1.166

  • 2.15.10 sys commitThis command allows users to save current settings to FLASH. Usually, current settings will be saved in SRAM. Yet, this command will save the file to FLASH.

    Example > sys commit>

    Telnet Command Reference Guide V1.1 67

  • 2.15.11 sys tftpdThis command can turn on TFTP server.

    Example > sys tftpd on % TFTP server enabled !!!

    2.15.12 sys ccThis command can display current code and wireless region of this device.

    Example > sys ccCountry Code : 0x 0 [Interional]Wireless Region Code: 0x30>

    Telnet Command Reference Guide V1.168

  • 2.15.13 sys versionThis command can display current version for the system.

    Example > sys versionRouter Model: XXXXX series Version: 2.7_RC13_Y01 EnglishProfile version: 0x2 Status: 1 (0x189a82e1)Router IP: 192.168.1.1 Netmask: 255.255.255.0Firmware Build Date/Time: Tue Jun 6 15:1:54.84 2006Revision: 2426 v2.6ADSL Firmware Version: Y.1.28.187 Annex A

    Telnet Command Reference Guide V1.1 69

  • 2.15.14 sys qrybufThis command can display the system memory status and leakage list.

    Example > sys qrybufSystem Memory Status and Leakage List

    # of free L-Buffer=128, minimum=126, leak num:0# of free M-Buffer=32, minimum=32, leak num:0# of free Nc-Buffer=42, minimum=17

    Telnet Command Reference Guide V1.170

  • 2.15.15 sys pollbufThis command can turn on or turn off polling buffer for the router.

    sys pollbuf [on] sys pollbuf [off]

    Syntax DescriptionOn It means to turn on pulling buffer.Off It means to turn off pulling buffer.

    Example > sys pollbuf on% Buffer polling is on!

    > sys pollbuf off% Buffer polling is off!

    Telnet Command Reference Guide V1.1 71

  • 2.15.16 sys tr069This command can set CPE settings for applying in VigorACS.

    sys tr069 get [parm value] [option]sys tr069 set [parm value]sys tr069 savesys tr069 informsys tr069 log

    Syntax Descriptionget parm It means to get parameters for tr069.set parm value It means to set parameters for tr069. save It means to save the parameters to the flash memory of the router.

    inform It means to inform parameters for tr069 with different event codes.sys tr069 inform event code : 0-"0 BOOTSTRAP", 1-"1 BOOT", 2-"2 PERIODIC", 3-"3 SCHEDULED",4-"4 VALUE CHANGE", 5-"5 KICKED", 6-"6 CONNECTION REQUEST",7-"7 TRANSFER COMPLETE", 8-"8 DIAGNOSTICS COMPLETE", 9-"M Reboot"

    option Type nextlevel to display parameter values for next leve only.

    Example > sys tr069 get Int. nextlevelTotal number of parameter is 16Total content length of parameter is 592

    InternetGatewayDevice.LANDeviceNumberOfEntriesInternetGatewayDevice.WANDeviceNumberOfEntriesInternetGatewayDevice.DeviceInfo.InternetGatewayDevice.ManagementServer.InternetGatewayDevice.Time.InternetGatewayDevice.Layer3Forwarding.InternetGatewayDevice.LANDevice.InternetGatewayDevice.WANDevice.InternetGatewayDevice.Services.InternetGatewayDevice.X_00507F_VPN.InternetGatewayDevice.X_00507F_NAT.InternetGatewayDevice.X_00507F_VLAN.InternetGatewayDevice.X_00507F_Firewall.InternetGatewayDevice.X_00507F_ISDN.

    Telnet Command Reference Guide V1.172

  • InternetGatewayDevice.X_00507F_MultiPVCs.InternetGatewayDevice.X_00507F_Applications.

    Telnet Command Reference Guide V1.1 73

  • 2.15.17 sys sip_algThis command can turn on/off SIP ALG (Application Layer Gateway) for traversal.

    sys sip_alg [1] sys sip_alg [0]

    Syntax Description1 It means to turn on SIP ALG.0 It means to turn off SIP ALG.

    Example > sys sip_alg ?usage: sys sip_alg [value] 0 - disable SIP ALG 1 - enable SIP ALG current SIP ALG is disabled

    Telnet Command Reference Guide V1.174

  • 2.16 show2.16.1 show lan1This command displays current status of LAN1 settings.

    Example > show lan1%% 1st subnet settings:%% IP address: 192.168.1.1%% Subnet mask: 255.255.255.0%% RIP : [Disable]

    2.16.2 show lan2This command displays current status of LAN2 settings.

    Example > show lan2%% 2nd subnet settings:%% Status: [Inactive]%% IP address: 192.168.2.1%% Subnet mask: 255.255.255.0%% RIP : [Disable]

    2.16.3 show dhcpThis command displays current status of DHCP server.

    Example > show dhcp%% DHCP settings:%% Status: [Active]%% Start IP address for offering: 192.168.1.10%% Maximus offer IP address count: 50%% Default gateway: 192.168.1.1

    %% DHCP Relay: [Inactive]2.16.4 show dmzThis command displays current status of DMZ host.

    Example > show dmz%% DMZ mapping status: Index Status WAN aux IP Private IP-------------------------------------------- 1 Disable 172.16.3.229

    Telnet Command Reference Guide V1.1 75

  • 2.16.5 show dnsThis command displays current status of DNS setting

    Example > show dns%% Domain name server settings:% Primary DNS: [Not set]% Secondary DNS: [Not set]

    2.16.6 show openportThis command displays current status of open port setting.

    Example > show openport%% Openport settings:Index Status Comment Local IP Address******************************************************** No data entry.

    2.16.7 show This command displays current status of .

    Example > show Port Redirection Running Table:

    Index Protocol Public Port Private IP Private Port 1 0 0 0.0.0.0 0 2 0 0 0.0.0.0 0 3 0 0 0.0.0.0 0 4 0 0 0.0.0.0 0 5 0 0 0.0.0.0 0 6 0 0 0.0.0.0 0 7 0 0 0.0.0.0 0 8 0 0 0.0.0.0 0 9 0 0 0.0.0.0 010 0 0 0.0.0.0 011 0 0 0.0.0.0 012 0 0 0.0.0.0 013 0 0 0.0.0.0 014 0 0 0.0.0.0 015 0 0 0.0.0.0 016 0 0 0.0.0.0 017 0 0 0.0.0.0 018 0 0 0.0.0.0 019 0 0 0.0.0.0 020 0 0 0.0.0.0 0--- MORE --- ['q': Quit, 'Enter': New Lines, 'Space Bar': Next Page] ---

    Telnet Command Reference Guide V1.176

  • 2.16.8 show sessionThis command displays current status of current session.

    Example > show session% Maximum Session Number: 10000% Maximum Session Usage: 1% Current Session Usage: 1

    2.16.9 show adslThis command displays current status of ADSL.

    Example > show adsl --------------------------- ATU-R Info (hw: annex B, f/w: annex B) ----------- Running Mode : T1.413 State : READY DS Actual Rate : 0 bps US Actual Rate : 0 bps DS Path Mode : Fast US Path Mode : Fast NE Current Attenuation : 0 dB Cur SNR Margin : 0 dB ADSL Firmware Version : 131812_B -------------------------------- ATU-C Info --------------------------------- Far Current Attenuation: 0 dB Far SNR Margin : 0 dB CO ITU Version[0] : 00000000 CO ITU Version[1] : 00000000 DSLAM CHIPSET VENDOR : < Alcatel >>

    Telnet Command Reference Guide V1.1 77

  • 2.17 mngt2.17.1 mngt ftpportThis command allows users to set FTP port for management.

    mngt ftpport [?] mngt ftpport [FTP port]

    Syntax Description? It can display current FTP port number setting.FTP port It means to type the number for FTP port. The default setting is 21.

    Example > mngt ftpport 21% Set FTP server port to 21 done.

    2.17.2 mngt httpportThis command allows users to set HTTP port for management.

    mngt httpport [?] mngt httpport [Http port]

    Syntax Description? It can display current HTTP port number setting. Http port It means to enter the number for HTTP port. The default setting is 80.

    Example > mngt httpport 80% Set web server port to 80 done.

    Telnet Command Reference Guide V1.178

  • 2.17.3 mngt httpsportThis command allows users to set HTTPS port for management.

    mngt httpsport [?] mngt httpsport [Https port]

    Syntax Description? It can display current HTTPS port number setting.Https port It means to type the number for HTTPS port. The default setting is

    443.

    Example > mngt httpsport 443% Set web server port to 443 done.

    2.17.4 mngt telnetportThis command allows users to set telnet port for management.

    mngt telnetport [?] mngt telnetport [Telnet port]

    Syntax Description? It can display current telnet port number setting.Telnet port It means to type the number for telnet port. The default setting is 23.

    Example > mngt telnetport 23% Set Telnet server port to 23 done.

    Telnet Command Reference Guide V1.1 79

  • 2.17.5 mngt ftpserverThis command can enable/disable FTP server.

    mngt ftpserver [?] mngt ftpserver [Enable]mngt ftpserver [Disable]

    Syntax Description? It can display current status of FTP server. Enable It means to activate FTP server function. Disable It means to inactivate FTP server function.

    Example > mngt ftpserver enable%% FTP server has been enabled.

    > mngt ftpserver disable%% FTP server has been disabled.

    Telnet Command Reference Guide V1.180

  • 2.17.6 mngt nopingThis command allows users to reject or accept PING packets from the Internet.

    mngt noping [on]mngt noping [off]mngt noping [viewlog]mngt noping [clearlog]

    Syntax Descriptionon It means to reject all PING packets from the Internet.off It means to accept all PING packets from the Internet.viewlog It means to display a log of ping action, including source MAC and

    source IP.

    clearlog It means to remove the log of ping action.

    Example > mngt noping offNo Ping Packet Out is OFF!!

    Telnet Command Reference Guide V1.1 81

  • 2.17.7 mngt defensewormThis command can block specified port for passing through the router.

    mngt defenseworm [?] mngt defenseworm [on]mngt defenseworm [off]mngt defenseworm [add port]mngt defenseworm [del port]mngt def