Draytek Telnet Commands User Manual

DrayTek Telnet Commands
Reference Guide
Version: 1.11
Date: 2009/02/03
Copyright Declarations
Trademarks
Copyright 2006 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.
The following trademarks are used in this document:
z Microsoft is a registered trademark of Microsoft Corp. z Windows, Windows 95, 98, Me, NT, 2000, XP and Explorer are
trademarks of Microsoft Corp.
z Apple and Mac OS are registered trademarks of Apple Computer Inc. z Other products may be trademarks or registered trademarks of their
respective manufacturers.
ii
TTaabbllee ooff CCoonntteennttss
1. Introduction.................................................................................................................... 1
1.1 Accessing Telnet................................................................................................................................... 1
1.2 Valid Commands .................................................................................................................................. 2
2. Commands Descriptions...............................................................................................3
2.1 upnp...................................................................................................................................................... 3
2.1.1 upnp off ..................................................................................................................................... 3
2.1.2 upnp on ..................................................................................................................................... 3
2.1.3 upnp nat .................................................................................................................................... 4
2.1.4 upnp service.............................................................................................................................. 4
2.1.5 upnp subscribe.......................................................................................................................... 5
2.1.6 upnp tmpvs................................................................................................................................ 6
2.2 ddns...................................................................................................................................................... 7
2.2.1 ddns log..................................................................................................................................... 7
2.2.2 ddns time................................................................................................................................... 7
2.3 exit........................................................................................................................................................ 7
2.4 ip........................................................................................................................................................... 8
2.4.1 ip 2ndsubnet.............................................................................................................................. 8
2.4.2 ip 2ndaddr ................................................................................................................................. 9
2.4.3 ip 2ndmask.............................................................................................................................. 10
2.4.4 ip aux....................................................................................................................................... 11
2.4.5 ip addr ..................................................................................................................................... 12
2.4.6 ip arp ....................................................................................................................................... 13
2.4.7 ip dhcpc................................................................................................................................... 14
2.4.8 ip ping...................................................................................................................................... 15
2.4.9 ip tracert .................................................................................................................................. 16
2.4.10 ip telnet (for 2950 Series only).............................................................................................. 17
2.4.10 ip rip....................................................................................................................................... 18
2.4.11 ip route .................................................................................................................................. 19
2.4.12 ip igmp_proxy........................................................................................................................ 20
2.4.13 ip wanaddr............................................................................................................................. 21
2.4.14 ip wan2addr........................................................................................................................... 22
2.4.16 ip dmz (for 2700/2950 series only)........................................................................................ 23
2.4.17 ip dmzswitch (for 2700 series) .............................................................................................. 24
2.4.19 ip session .............................................................................................................................. 25
2.4.20 ip bandwidth.......................................................................................................................... 26
2.4.21 ip bindmac............................................................................................................................. 27
2.5 ipf........................................................................................................................................................ 28
2.5.1 ipf view .................................................................................................................................... 28
2.5.2 ipf set (for 2950 series only).................................................................................................... 29
2.5.3 ipf flowtrack (for 2950 series only) .......................................................................................... 31
2.6 p2p...................................................................................................................................................... 32
2.7 im........................................................................................................................................................ 33
2.8 csm (for 2910/2950 series)................................................................................................................. 34
2.9 ddos.................................................................................................................................................... 36
2.10 urlf..................................................................................................................................................... 37
2.10.1 urlf blist.................................................................................................................................. 37
2.10.2 urlf setdefault......................................................................................................................... 38
iii
2.10.3 urlf esubnet............................................................................................................................ 39
2.10.4 urlf webf................................................................................................................................. 40
2.10.5 urlf tschedule......................................................................................................................... 41
2.1 1 isdn................................................................................................................................................... 42
2.11.1 isdn blknum........................................................................................................................... 42
2.11.2 isdn dial................................................................................................................................. 43
2.11.3 isdn drop................................................................................................................................ 44
2.11.4 isdn vci .................................................................................................................................. 44
2.11.5 isdn overlap........................................................................................................................... 44
2.12 log..................................................................................................................................................... 45
2.13 quit.................................................................................................................................................... 46
2.14 srv..................................................................................................................................................... 47
2.14.1 srv dhcp................................................................................................................................. 47
2.14.1.1 srv dhcp fixip............................................................................................................ 47
2.14.1.2 srv dhcp gateway..................................................................................................... 47
2.14.1.3 srv dhcp ipcnt........................................................................................................... 48
2.14.1.4 srv dhcp off .............................................................................................................. 48
2.16.1.6 srv dhcp startip......................................................................................................... 48
2.14.1.7 srv dhcp status......................................................................................................... 48
2.14.1.8 srv dhcp leasetime................................................................................................... 49
2.14.1.9 srv dhcp frcdnsmanl................................................................................................. 49
2.14.1.10 srv dhcp dns1.........................................................................................................50
2.14.1.11 srv dhcp dns2.........................................................................................................50
2.14.1.12 srv dhcp relay......................................................................................................... 50
2.14.1.14 srv dhcp public.......................................................................................................51
2.14.2 srv nat.................................................................................................................................... 52
2.14.2.1 srv nat dmz .............................................................................................................. 52
2.14.2.2 srv nat openport.......................................................................................................52
2.14.2.3 srv nat portmap........................................................................................................53
2.14.2.4 srv nat status............................................................................................................ 54
2.14.3 srv vta.................................................................................................................................... 55
2.15 show................................................................................................................................................. 56
2.15.1 show lan1.............................................................................................................................. 56
2.15.2 show lan2.............................................................................................................................. 56
2.15.3 show dhcp............................................................................................................................. 56
2.15.4 show dmz.............................................................................................................................. 56
2.15.5 show dns............................................................................................................................... 57
2.15.6 show openport....................................................................................................................... 57
2.15.7 show nat................................................................................................................................ 57
2.15.8 show session......................................................................................................................... 58
2.15.9 show adsl ..............................................................................................................................58
2.16 mngt.................................................................................................................................................. 59
2.16.1 mngt ftpport........................................................................................................................... 59
2.16.2 mngt httpport......................................................................................................................... 59
2.16.3 mngt httpsport .......................................................................................................................60
2.16.4 mngt telnetport ...................................................................................................................... 60
2.16.5 mngt ftpserver .......................................................................................................................61
2.16.6 mngt noping........................................................................................................................... 62
2.16.7 mngt defenseworm................................................................................................................ 63
2.16.8 mngt rmtcfg ...........................................................................................................................64
2.16.9 mngt echoicmp...................................................................................................................... 65
2.16.10 mngt accesslist.................................................................................................................... 66
2.17 sys.................................................................................................................................................... 67
2.17.1 sys admin.............................................................................................................................. 67
iv
2.17.2 sys cfg................................................................................................................................... 68
2.17.3 sys cmdlog ............................................................................................................................69
2.17.4 sys ftpd.................................................................................................................................. 70
2.17.5 sys domainname................................................................................................................... 71
2.17.6 sys iface ................................................................................................................................ 72
2.17.7 sys name............................................................................................................................... 73
2.17.8 sys passwd............................................................................................................................ 74
2.17.9 sys reboot.............................................................................................................................. 75
2.17.10 sys commit ..........................................................................................................................76
2.17.11 sys tftpd............................................................................................................................... 77
2.17.12 sys cc .................................................................................................................................. 77
2.17.13 sys version ..........................................................................................................................78
2.17.14 sys qrybuf............................................................................................................................ 79
2.17.15 sys pollbuf ...........................................................................................................................80
2.17.16 sys sip_alg........................................................................................................................... 81
2.18 register.............................................................................................................................................. 82
2.19 vpn.................................................................................................................................................... 83
2.19.1 vpn l2lset............................................................................................................................... 83
2.19.2 vpn 2ndsubnet....................................................................................................................... 84
2.20 wan................................................................................................................................................... 85
2.20.1 wan ppp_ipcp_vso ................................................................................................................ 85
2.20.2 ppp_mru................................................................................................................................ 85
2.20.3 wan ppp_mss........................................................................................................................ 86
2.20.4 wan DF_check....................................................................................................................... 86
2.20.5 wan disable ........................................................................................................................... 86
2.21 adsl................................................................................................................................................... 87
2.21.1 adsl txpct............................................................................................................................... 87
2.21.2 adsl rxpct............................................................................................................................... 88
2.21.3 adsl status............................................................................................................................. 89
2.21.4 adsl ppp................................................................................................................................. 90
2.21.5 adsl bridge (for 2700 series) .................................................................................................91
2.21.6 adsl idle................................................................................................................................. 92
2.21.7 adsl reboot............................................................................................................................. 92
2.21.8 adsl oamlb............................................................................................................................. 93
2.21.9 adsl vcilimit............................................................................................................................ 94
2.21.10 adsl showbins(for 2800 series)........................................................................................... 95
2.21.11 adsl codinggain (for 2800 series))....................................................................................... 96
2.21.12 adsl maxdnrate(for 2800 series).........................................................................................97
2.21.13 adsl duallatency (for 2800 series)....................................................................................... 98
2.21.14 adsl annex (for 2700 series)................................................................................................ 99
2.21.15 adsl savecfg ........................................................................................................................ 99
2.21.16 adsl atm (for 2700 series) ................................................................................................... 99
2.22 wl.................................................................................................................................................... 100
2.22.1 wl set (for 2910 series)........................................................................................................ 100
2.22.2 wl act (for 2910 series)........................................................................................................ 101
2.22.3 wl wpa ................................................................................................................................. 102
2.22.4 wl pwrtst (for 2900 series)................................................................................................... 103
2.22.5 wl emi (for 2900 series)....................................................................................................... 104
2.23 voip................................................................................................................................................. 105
2.23.1 voip block ............................................................................................................................ 105
2.23.2 voip debug........................................................................................................................... 106
2.23.3 voip dial_plan ......................................................................................................................107
2.23.4 voip rtp................................................................................................................................. 108
2.23.4.1 voip rtp codec......................................................................................................... 108
v
2.23.4.2 voip rtp dtmf........................................................................................................... 109
2.23.4.3 voip rtp port............................................................................................................ 110
2.23.4.4 voip rtp symmetric.................................................................................................. 110
2.23.4.5 voip rtp tos ............................................................................................................. 111
2.23.5 voip sip................................................................................................................................ 112
2.23.5.1 voip sip acc............................................................................................................ 112
2.23.5.2 voip sip calllog........................................................................................................ 114
2.23.5.3 voip sip ep.............................................................................................................. 115
2.23.5.4 voip sip misc (for 2800 series)............................................................................... 117
2.23.5.5 voip sip nat............................................................................................................. 118
2.23.6 voip dsp............................................................................................................................... 119
2.23.6.1 voip dsp countrytone.............................................................................................. 119
2.23.6.2 voip dsp dialtonepwr.............................................................................................. 120
2.23.6.4 voip dsp ringfeq...................................................................................................... 120
2.23.6.5 voip dsp cidtype..................................................................................................... 121
2.23.6.6 voip dsp micgain.................................................................................................... 121
2.23.6.7 voip dsp spkgain.................................................................................................... 122
2.23.6.8 voip dsp timer......................................................................................................... 122
2.24 port (for 2910 series only) ..............................................................................................................123
2.25 wol.................................................................................................................................................. 124
2.26 vigbrg.............................................................................................................................................. 125
2.26.1 vigbrg on.............................................................................................................................. 125
2.26.2 vigbrg off.............................................................................................................................. 126
2.26.3 vigbrg status........................................................................................................................ 127
2.26.4 vigbrg cfgip.......................................................................................................................... 128
2.26.5 vigbrg wanstatus ................................................................................................................. 129
2.26.6 vigbrg wlanstatus ................................................................................................................ 130
2.27 portmaptime (for 2800 Series)........................................................................................................ 131
vi
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 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. At present, commands explained in this manual are for Vigor 2700 Series, Vigor 2800 Series Vigor2910 Series and 2950 Series.
Valid Command Types for Vigor 2700 Series (F/W: V2.6.3_RC1)
upnp ddns exit ip ipf p2p Im ddos urlf isdn log quit srv sys register show mngt vpn wan adsl voip port wol vigbrg
Valid Command Types for Vigor 2800 Series (F/W: V2.7.1_B4_Y01)
upnp ddns exit ip ipf p2p Im ddos urlf isdn log quit srv sys register show mngt vpn wan adsl wl voip port wol vigbrg portmaptime
Valid Command Types for Vigor 2910 Series (F/W: V3.0.2_RC1a)
upnp ddns exit ip ipf csm ddos urlf isdn log quit srv sys register show mngt vpn wan wl voip port wol
Valid Command Types for Vigor 2950 Series (F/W: V3.0.0)
upnp ddns exit ip ipf csm ddos urlf log quit srv sys register show mngt vpn wan wl wol
2
Telnet Command Reference Guide V1.1
22.. CCoommmmaannddss DDeessccrriippttiioonnss
2.1 upnp
2.1.1 upnp off
This command can close UPnP function.
Example
>upnp off UPNP say bye-bye
2.1.2 upnp on
This command can enable UPnP function.
Example
>upnp on UPNP start.
Telnet Command Reference Guide V1.1
3
2.1.3 upnp nat
This command can display IGD NAT status.
Example
> upnp nat ****************** IGD NAT Status ****************
((0)) InternalClient >>202.168.1.0<<, RemoteHost >>0.0.0.0<< InternalPort >>21<<, ExternalPort >>21<< PortMapProtocol >>TCP<< The tmpvirtual server index >>0<< PortMapLeaseDuration >>0<<, PortMapEnabled >>0<< Ftp Example [MICROSOFT] ((1)) InternalClient >>0.0.0.0<<, RemoteHost >>0.0.0.0<< InternalPort >>0<<, ExternalPort >>0<< PortMapProtocol >>*<< The tmpvirtual server index >>0<< PortMapLeaseDuration >>0<<, PortMapEnabled >>0<<
2.1.4 upnp service
This command can display the information of the UPnP service.
Example
> upnp service >>>>> SERVICE TABLE1 <<<<< serviceType urn:schemas-microsoft-com:service:OSInfo:1 serviceId urn:microsoft-com:serviceId:OSInfo1 SCPDURL /upnp/OSInfo.xml controlURL /OSInfo1 eventURL /OSInfoEvent1 UDN uuid:f858949e-a0c6-4e4c-9eac-00507fd484f0
>>>>> SERVICE TABLE2 <<<<< serviceType urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 serviceId urn:upnp-org:serviceId:WANCommonIFC1 SCPDURL /upnp/WComIFCX.xml controlURL /upnp?control=WANCommonIFC1 eventURL /upnp?event=WANCommonIFC1 UDN uuid:aeadf384-d05a-429c-9f5f-d6e6f0591c43
4
Telnet Command Reference Guide V1.1
2.1.5 upnp subscribe
This 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 =<http://192.168.1.10:5000/notify> >>>> (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 =<http://192.168.1.10:5000/notify> >>>> (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 =<http://192.168.1.10:5000/notify>
Telnet Command Reference Guide V1.1
5
2.1.6 upnp tmpvs
This command can display current status of temp Virtual Server of your router.
Example
****************** Temp virtual server status ****************
((0)) real_addr >>192.168.1.10<<, pseudo_addr >>172.16.3.229<< real_port >>0<<, pseudo_port >>0<< hit_portmap_index >>0<< The protocol >>TCP<< time >>0<<
((1)) real_addr >>0.0.0.0<<, pseudo_addr >>0.0.0.0<< real_port >>0<<, pseudo_port >>0<< hit_portmap_index >>0<< The protocol >>0<< time >>0<<
6
Telnet Command Reference Guide V1.1
2.2 ddns
2.2.1 ddns log
Displays the DDNS log.
Example
>ddns log 01:07:38.0 >>>>> DDNS is updating. <<<<<
2.2.2 ddns time
Sets and displays the DDNS time. ddns time <update in minutes>
Syntax Description
Update in minutes Type the value as DDNS time. The range is from 1 to 1440.
Example
> ddns time ddns time <update in minutes> Valid: 1 ~ 1440 %Now: 1440
> ddns time 1000 ddns time <update in minutes> Valid: 1 ~ 1440 %Now: 1000
2.3 exit
Type this command will leave telnet window.
Telnet Command Reference Guide V1.1
7
2.4 ip
2.4.1 ip 2ndsubnet
This command allows users to enable or disable the second subnet for your router.
ip 2ndsubnet <Enable/Disable>
Syntax Description
Enable Enable the second subnet. Disable Disable the second subnet.
Example
>ip 2ndsubnet Disable 2nd subnet disabled! >ip 2ndsubnet Enable 2nd subnet enabled!
8
Telnet Command Reference Guide V1.1
2.4.2 ip 2ndaddr
This command allows users to set the second IP address for your router.
ip 2ndaddr ? ip 2ndaddr <2nd subnet IP address>
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
9
2.4.3 ip 2ndmask
This command allows users to set the second IP address for your router.
ip 2ndmask ? ip 2ndmask <2nd subnet mask>
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!!!
10
Telnet Command Reference Guide V1.1
2.4.4 ip aux
This command allows users to set a specified WAN IP for joining into the NAT Pool. Basically, the WAN IP has been added in WAN IP Alias but not joined to NAT Pool yet.
ip aux add [IP] [Join to NAT Pool] ip aux remove [index]
Syntax Description
IP It means the auxiliary WAN IP address. Join to NAT 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 NAT IP pool
---------------------------------------------- 1 Enable 172.16.3.229 Yes 2 Enable 172.16.3.56 No 3 Enable 172.16.3.113 No
Telnet Command Reference Guide V1.1
11
2.4.5 ip addr
This command allows users to set/add a specified LAN IP your router. ip addr [IP address]
Syntax Description
IP 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.
12
Telnet Command Reference Guide V1.1
2.4.6 ip arp
ARP 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 flush ip arp status
In 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 Description
IP 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 Address 1 192.168.1.10 00-0E-A6-2A-D5-A1
Telnet Command Reference Guide V1.1
13
2.4.7 ip dhcpc
This command is available for WAN DHCP.
ip dhcpc option ip dhcpc release ip dhcpc renew ip dhcpc status
Syntax Description
option 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 status I/F#3 DHCP Client Status:
DHCP Server IP : 172.16.3.7 WAN Ipm : 172.16.3.40 WAN Netmask : 255.255.255.0 WAN Gateway : 172.16.3.1 Primary DNS : 168.95.192.1 Secondary DNS : 0.0.0.0 Leased Time : 259200 Leased Time T1 : 129600 Leased Time T2 : 226800 Leased Elapsed : 259194 Leased Elapsed T1 : 129594 Leased Elapsed T2 : 226794
14
Telnet Command Reference Guide V1.1
2.4.8 ip ping
This 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 Description
IP 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 WAN1 Pinging 172.16.3.229 with 64 bytes of Data: Receive reply from 172.16.3.229, time=0ms Receive reply from 172.16.3.229, time=0ms Receive reply from 172.16.3.229, time=0ms Packets: Sent = 5, Received = 5, Lost = 0 <0% loss>
Telnet Command Reference Guide V1.1
15
2.4.9 ip tracert
This command allows users to trace the routes from the router to the host.
ip tracert [Host/IP address] [WAN1/WAN2]
Syntax Description
IP 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 WAN1 Traceroute to 22.128.2.62, 30 hops max 1 172.16.3.7 10ms 2 172.16.1.2 10ms 3 Request Time out. 4 168.95.90.66 50ms 5 211.22.38.134 50ms 6 220.128.2.62 50ms Trace complete
16
Telnet Command Reference Guide V1.1
2.4.10 ip telnet (for 2950 Series only)
This command allows users to telnet another server (terminal) in the LAN or WAN side. ip telnet [IP address] [Port]
Syntax Description
IP address It means the target IP address. Port It means the LAN port that the above IP address passes through.
Example
>ip telnet 192.168.1.1 3
Telnet Command Reference Guide V1.1
17
2.4.10 ip rip
This command allows users to set the RIP (routing information protocol) of IP.
ip rip [0/1/2]
Syntax Description
0/1/2 0 means disable; 1 means first subnet and 2 means second subnet.
Example
>ip rip 1 %% Set RIP 1
st
subnet.
18
Telnet Command Reference Guide V1.1
2.4.11 ip route
This 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 Description
add 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 destination. 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: WAN2 rtype 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, ~ - private C~ 192.168.1.0/ 255.255.255.0 is directly connected, IF0 S 172.16.2.0/ 255.255.255.0 via 172.16.2.4, IF3
Telnet Command Reference Guide V1.1
19
2.4.12 ip igmp_proxy
This command allows users to set
ip igmp_proxy [set|rset|status]
Syntax Description
set It means reset It means status it means
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=0
239.255.255.250 timer=0
20
Telnet Command Reference Guide V1.1
2.4.13 ip wanaddr
This command allows users to set WAN address for the router.
ip wanaddr [IP address][IP netmask][gateway ip]
Syntax Description
IP 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.1
21
2.4.14 ip wan2addr
This command allows users to set second WAN address for the router.
ip wan2addr [IP address][IP netmask]
Syntax Description
IP 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!!!
22
Telnet Command Reference Guide V1.1
2.4.16 ip dmz (for 2700/2950 series only)
Specify MAC address of certain device as the DMZ host. ip dmz [mac]
Syntax Description
mac It means the MAC address of the device that you want to specify.
Example
>ip dmz ? % ip dmz <mac>, now : 00-00-00-00-00-00 > ip dmz 11-22-33-44-55-66
> ip dmz ? % ip dmz <mac>, now : 11-22-33-44-55-66 >
Telnet Command Reference Guide V1.1
23
2.4.17 ip dmzswitch (for 2700 series)
This command allows users to set DMZ mode.
ip dmzswitch off ip dmzswitch private ip dmzswitch active_trueip
Syntax Description
off 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
24
Telnet Command Reference Guide V1.1
+ 107 hidden pages