i Draytek Telnet Commands for Vigor3300 Series Reference Guide Version: 1.0 Date: 2006/12/28
5 Valid subcommands Commands Type First Layer Second Layer Third Layer mgcp callagent epidstyle localport wildrsip sip localport set protocol set
952.6.5 protocol There are two protocols can be used for VoIP - SIP and MGCP. You should click either one of buttons to set corresponding settings f
96b. epidstyle This command can set name ID style of endpoint for the VoIP settings. epidstyle -s epidstyle <Mode> epidstyle <Mode> &l
97c. localport This command can set local listening port number for MGCP. UDP port number in MGCP local terminal. localport -s localport <Port
982.6.5.2 sip a. localport This command can set local listening port number for SIP. localport -s localport <Port number> Syntax Description
99Registrar Addr Enter the IP address or domain name of the SIP registrar server. Registrar Port Enter the port number of the SIP registrar server
1002.6.6 speeddial It allows you to set a simple way to dial a specific number. Up to 150 numbers can be stored in Vigor3300V. 2.6.6.1 del This comm
1012.6.6.3 show This command can show speed dial setting. show show <start> <end> Syntax Description Syntax Description start Enter th
1022.6.7 tone 2.6.7.1 user_defined This command can set tone settings to fit the telecommunication custom for the local area of the router installed
103b. callerid This command can set Caller ID type. callerid -s callerid <Type> Syntax Description Syntax Description -s It is used for dis
104DrayTek/voip/tone/user_defined> congestion -s ==== VoIP Congestion Tone === LowFreq: 10 HignFreq: 50 TOn1: 50 TOff1:50 TOn2: 50 TOff2: 50 d.
105e. ringing This command can set features for ringing calls. ringing -s ringing <Lowfreq> <Howfreq> <Ton1> <Toff1> <Ton
1062.6.7.2 country This command can select country for tone setting. country -s country <Country Code> Syntax Description Syntax Descriptio
1072.6.8 nat This command can set VoIP NAT traversal. nat -s nat <Disable Mode> nat <Manual Mode> <NatIpAddr> nat <Auto Mode&g
1082.6.9 qos This command can set VoIP QoS features. qos -s qos <mode> <LFI> Syntax Description Syntax Description -s It is used for
1092.6.11 siplog This command can display log for SIP usage. If there is no SIP usage, it will display “not found”. siplog <Mode> siplog <M
110 2.7 vpn 2.7.1 ipsec This command can configure IPSec settings. 2.7.1.1 connect This command can set VPN connection. connect <Index> Syntax
1112.7.1.4 policy This command can set policy table. policy -s <Index> policy -e <Index> <Name> <Preshared Key> <Securit
1121: WAN1 ; 2: WAN2 ; 3: WAN3 ; 4: WAN4 Local Subnet Enter a subnet address as local subnet. Local Subnet Mask Enter the number (0-32) as the loc
113DHCP-over-IPSec Enter “0” to enable this function. Enter “1” to disable this function. NAT-T Enable Enter “0” to enable this function. Enter “1
1142.7.2 pptp This command can set VPN configuration for PPTP. 2.7.2.1 auth This command can set PPTP Authentication function. auth -s <Index&g
7 22.. CCoommmmaannddss DDeessccrriippttiioonnss 2.1 advance 2.1.1 nat 2.1.1.1 addressmap The full name of this command is - Address mapping func
1152.7.2.2 general This command can set general configuration for PPTP VPN tunnel. general -s general <Inactive> general <Active> <PP
1162.7.2.3 group This command can assign IP, netmask, subnet, subnet mask for a VPN PPTP group. group -s group <Group ID> <Assign IP> &l
1172.7.2.4 12tp This command can configure L2TP General Setup for VPN connection. l2tp -s l2tp <Inactive> l2tp <Active> <PPTP Auth&
1182.8 exit/logout/quit This command (exit or logout) can set exit telnet command screen of Vigor3300V series. 2.9 ping This command can execute pin
82.1.1.2 dmz This command can set a DMZ host that maps ALL unsolicited data on any protocol to a single host in the LAN. dmz -s <Index> dmz
9 2.1.1.3 portlist This command can display a list of all well-know ports for your reference. portlist -s Syntax Description Syntax Description -s
102.1.1.4 redirectport The full name of this command is – redirect port function. This command can expose internal servers to the public domain or o
11Private Port Start The available range is from 1 to 65535. Private Port End The available range is from 1 to 65535. Use IP Alias On Enter “1” t
122.1.1.5 status This command can display current NAT status including total session count, connected session count and max. session count. Syntax D
132.1.2 snmp 2.1.2.1 community This command can define a community with string, host/mask, authority as read only or read/write. community -s <In
142.1.2.2 trap2sink This command can notify the management station of an unusual event that may demand further attention. trap2sink -s <Index>
ii Copyright Information Copyright Declarations Copyright 2006 All rights reserved. This publication contains information that is protected by copyr
152.1.3 block Vigor3300 Series supports ten port numbers to be blocked for filtering some unnecessary packets or attacking packets on Internet envir
162.1.4 blockstatus This command can display block status. blockstatus Syntax Description Syntax Description blockstatus Display current block stat
172.1.5 callsch The full name of this command is - Setting the PPPoE Call Scheduler. This command can set time schedule for executing router setting
18------------------- Index1 Status: Enable Date: 2006-10-20 Time: 09:00 Action: force off How often: weekdays Week Option: Mon. Tue. Wed. Thu. Fri.
19VLAN2-P1: Disable VLAN2-P2: Disable VLAN2-P3: Disable VLAN2-P4: Disable VLAN3-P1: Disable VLAN3-P2: Disable VLAN3-P3: Disable VLAN3-P4: Disable 2
202.1.8 staticroute The full name of this command is Static Route function. This command can set rules to forward data from one specified subnet to
212.1.9 tagvlan The full name of this command is - Tag VLAN Setting. This command can set VLAN based on 802.1Q. tagvlan -s tagvlan <Mode> tagv
22Password: Login by remote client DrayTek> advance DrayTek/advance> tagvlan -s # Active Name Vlanid P1 P2 P3 P4 P1Tag P2Tag P3Tag P4Ta
232.1.10 wanportmirror This command can copy traffic from one or more specific ports to a target port for monitoring all traffics. This mechanism ca
242.2 firewall 2.2.1 dos 2.2.1.1 icmpflood This command can enable or disable ICMPFlood detection function and set the threshold of icmpflood detec
iii TTaabbllee ooff CCoonntteennttss 1. Introduction...
252.2.1.2 packetblock This command can enable some packet block functions. option <Value> Syntax Description Syntax Description Value 1: Ena
262.2.1.3 portscan This command can enable or disable port scan detection function and set the threshold of port scan detection function. Port scan
272.2.1.4 synflood This command can activate the SYN flood defense function. If the amount of TCP SYN packets from the Internet exceeds the user-def
282.2.1.5 udpflood This command can activate the UDP flood defense function. If the amount of UDP packets from the Internet exceeds the user-defined
292.2.2 ipfilter 2.2.2.1 filterrule This command can add/delete/edit a filter rule for IP filter and display the status for filter rule. Please add
30-p It is used for editing the protocol used by selected filter rule. -b It is used for editing the action of “block or pass” of selected filter
31Direction Enter the number listed below to specify certain option. The direction of packet flow VPN In is for incoming packets. VPN Out is for ou
322.2.2.2 general This command can set the start group for IP filter. Startup <GroupId> <Enable> Syntax Description Syntax Description
332.2.2.3 group This command can add/delete/edi a new group for ip filter and display the status for the group. add <GroupId> <NextGroupI
342.2.3 urlfilter 2.2.3.1 catetory This command can set exceptionally allowed URL from the categorized access. URL content filter can prevent employ
iv 2.3.2.6 ppp_detect ... 49 2.3.2.7 pp
35set -d It will put a category into the denial list (choose from allow list). code Chosen category code. Example DrayTek/firewall/urlfilter/cat
362.2.3.2 exception This command can add/edit/delete an IP subnet to the exception IP list. add <ip> <netmask> delete <index> edit
372.2.3.3 keyword This command can add keyword list for URL filter function. add <Keyword> block_mode <Mode> delete <KeywordIndex>
38Timeofday Set the hour/minutes/seconds for the scheduler. The syntax must be “hh:mm:ss”. Dayofweek Set the days that you want to invoke for the
395:proxy 6:multimedia Example DrayTek/firewall/urlfilter/web> filetype 1 0 DrayTek/firewall/urlfilter/web> 2.2.3.6 enable This command can
402.3 network 2.3.1 lan 2.3.1.1 dhcp This command can configure DHCP Server settings for LAN. dhcp -s <Index> dhcp -mode <Index> <Mo
41WAN IF Enter the number of WAN interface for applying relay agent. 1: WAN1, 2: WAN2, 3:WAN3, 4: WAN4 DHCP Server IP Enter the IP address for the
422.3.1.2 ip_nat This command can set LAN IP address for NAT usage. ip_nat -s <Index> ip_nat <Index> <Address> <Netmask> Syn
432.3.1.3 ip_route This command can set LAN IP address for routing usage. ip_route -s <WAN Interface> ip_route -disable <WAN Interface>
442.3.2 wan 2.3.2.1 advance This command can set load balance, enables or disables backup function for WAN interface and sets the weight load (10-90
v 2.6.5.1 mgcp ... 95 2.6.5.2
452.3.2.2 active This command can activate WAN setting for the device. active <index> <status> <default route> active <index>
462.3.2.3 dhcp This command can set WAN to DHCP mode. dhcp -s <index> dhcp <index> dhcp <index> <hostname> <domainname>
472.3.2.4 dmz This command can set WAN to dmz mode (NAT and Routing mode) let user access lots of servers in secure via Internet environment. dmz -s
482.3.2.5 macf This command can configure MAC address for WAN interface. mac -s <index> mac <index> <Use Default> mac <index
492.3.2.6 ppp_detect This command can detect the settings for PPPoE/PPTP (using LCP Echo Request) connection. ppp_detect -s <index> ppp_dete
502.3.2.7 pppoe This command can set PPPoE mode as WAN interface. pppoe -s <index> pppoe <index> <Username> <Password><Au
512.3.2.8 pptp This command can set PPTP mode as WAN interface. pptp -s <index> pptp <index> <Username> <Password> <Aut
522.3.2.9 rate This command can configure downstream and upstream rate for WAN interface. rate -s <index> rate <index> <Downstream&g
532.3.2.10 show This command can display current settings (such as Static, DHCP, PPPOE, PPTP, or DMZ configuration) and values of settings for WAN.
542.3.2.11 speed This command can configure speed & duplex for WAN interface. speed -s <index> speed <index> <Speed & Duple
1 11.. IInnttrroodduuccttiioonn 1.1 Accessing Telnet Click Start >> Run and type Telnet 192.168.1.1 in the Open box as below. Note that the
552.3.2.12 static This command can set static IP mode as WAN interface. static -s <index> static <index> <IP> <Netmask> <
562.3.2.13 static_detect This command can detect the settings for Static/DHCP connection. static_detect -s <index> static_detect <index>
572.3.3 highava This command can show all LAN Backup settings. highava -s highava <Disable> highava <Enable> <Group> <Role>
582.3.4 policy This command can configure Load Balance Policy. policy -s <Index> policy -used policy -e <Index> <Protocol> <
59Protocol: TCP Source IP: Source Subnet Mask: Dest Port Start: Dest Port End: Network Interface: LAN Dest IP: Dest Subnet Mask: DrayTek/network>
602.3.5 static_dhcp This command can set Static DHCP configuration. static_dhcp -s <Index> static_dhcp -e <Index> <Host MacAddress&
612.4 qos 2.4.1 incoming This command can set bandwidth percentage for data and voice signals transmission. 2.4.1.1 active This command can enable I
62 Example DrayTek/qos/incoming> class -e 1 discussion 15 DrayTek/qos/incoming> class -s 1 Index: 1 Class Name: discussion Bandwidth: 15 2.4
63number that you can enter is 0 ~ 34. Protocol Enter the number (0,1 or 2) to specify protocol. 1: TCP ; 2: UDP; 3:TCP/UDP Source Port Start Ente
642.4.2 outgoing 2.4.2.1 active This command can enable outgoing QoS function. active -s active <Status> Syntax Description Syntax Descript
2 To access into next level of the command, please type the first level directly; to return to previous level, please type “..” .
65DrayTek/qos/outgoing> class -e 1 upload 15 DrayTek/qos/outgoing> class -s 1 Index: 1 Class Name: upload Bandwidth: 15 2.4.2.3 filter This co
66filter. Source Port End Enter the number (1 ~ 65535) as the source port end for this filter.Destination Port Start Enter the number (1 ~ 65535)
672.5 System 2.5.1 acl This command can set PING restriction for Access Control function. acl -s acl <Disable LAN PING> <Disable WAN PIN
682.5.2 administrator This command can set password for administrator. After finishing the settings,you have to reboot to take effect the changes. a
692.5.3 ntp This command can set Network Time Protocol (NTP) client and the router can get standard time from the time server. ntp -s ntp <Disab
702.5.4 port This command can set port management configuration. After finishing the settings, you have to reboot to take the changes effect. por
71192.168.1.59 Example DrayTek/system> port -i 192.168.1.6 192.168.1.88 DrayTek/system> port -s Default or user define port : Default Manage
722.5.6 status This command can display current status of router. status Syntax Description Syntax Description status Displays firmware, hardware,
732.5.7 syslog This command can set syslog server for keeping a record of abnormal conditions. The router will send Syslog packets to a Syslog serve
742.6 voip 2.6.1 advspdial 2.6.1.1 advspdial This command can set advanced speed dial. advspdial -s <Index> advspdial -e <Index> <Pr
3 1.2 Valid Commands The valid commands will differ according to the router and the firmware version that you have. At present, commands explained
75Append: 86 Destination: 192.168.1.50 Memo: joy
762.6.2 in_barring Incoming Call Barring (in_barring) can be used to bar incoming VoIP calls from the Internet. 2.6.2.1 allow This command can set
772.6.2.2 deny This command can set deny list of incoming calls. Only people listed in this list cannot call this router. deny -s <Index> de
782.6.2.3 set This command can block incoming VoIP calls from the Internet. Barring classes can be specified to allow or deny incoming calls. Ther
792.6.3 misc 2.6.3.1 dialing_timeout This command can specify the dialing completion timeout. The system will force to dial the incomplete number af
802.6.3.3 fxs_ringing This command can specify the FXS Ringing cadence and frequency. fxs_ringing -s fxs_ringing <Cadence_On> <Cadence_Off&
812.6.3.5 rtp_port This command can set port number for sending/receiving RTP packets. rtp_port -s rtp_port <Port number> Syntax Description
822.6.3.7 t38redundancy This command can set T38 redundancy number. t38redundancy -s t38redundancy <Number> Syntax Description Syntax Descrip
832.6.4 port 2.6.4.1 callforward This command can set call forwarding to forward all incoming calls to the specified SIP URL site. callforward -s
842.6.4.2 codec This command can set codec related setting. codec -s codec <Device port> <Prefer> <Rate> <VAD> codec -sing
4Valid subcommands Commands Type First Layer Second Layer Third Layer filetype enable lan dhcp Ip_nat Ip_route advance wan active dhcp dmz mac
856. G.729A - 8kbps 20 Disable Disable 7. G.729A - 8kbps 20 Disable Disable 8. G.729A - 8kbps 20 Disable Disable
862.6.4.3 disconnect This command can disconnect FXO connection. disconnect <Device port> Syntax Description Syntax Description Device port
872.6.4.4 dtmf_relay This command can set DTMF relay function. dtmf_relay -s dtmf_relay <Device port> <Mode> dtmf_relay <Device port&
882.6.4.5 fax This command can set fax transport mode. fax -s fax <Device port> <Mode0> fax <Device port> <Mode1> fax <De
892.6.4.6 gain This command can set Gain control for Device Port gain -s gain <Device port> <RX Gain> <TX Gain> Syntax Descripti
902.6.4.7 group This command can set user group setting. group -s group <Mode> group <Mode> <Group of Port 1> <Group of Port
912.6.4.8 hotline This command can set hotline. hotline -s hotline <Dir> <Device port> <Digits> Syntax Description Syntax Descr
922.6.4.9 phonenumber This command can activate phone number settings. set -s set <Device port> <Active> set <Device port> <A
932.6.4.10 proxy This command can display Proxy server information or specify a SIP proxy server to be used. Before using this command, you have t
942.6.4.11 voip_ip This command can set VoIP IP on WAN or LAN/VPN. If LAN/VPN is selected, VoIP can be applied through a VPN tunnel to create a high
Comentários a estes Manuais