Sei sulla pagina 1di 52

BEETEL 220BX1 ADSL 2+ MODEM

Instruction for CLI


V1.1

CONTENTS
ADSL......................................................................................................................................................3 ARP.........................................................................................................................................................7 ATM.........................................................................................................................................................8 BRCTL..................................................................................................................................................11 CAT.......................................................................................................................................................13 DDNS....................................................................................................................................................14 DEFAULTGATEWAY..........................................................................................................................15 DF..........................................................................................................................................................16 D CPSER!ER.....................................................................................................................................17 DNSRELAY..........................................................................................................................................1" DUMPCFG...........................................................................................................................................21 EC O....................................................................................................................................................22 ELP.....................................................................................................................................................23 #FCONF#G............................................................................................................................................24 $#LL......................................................................................................................................................27 LAN.......................................................................................................................................................28 LOGOUT..............................................................................................................................................30 PASSWD...............................................................................................................................................31 P#NG......................................................................................................................................................32 PPP........................................................................................................................................................33 PS...........................................................................................................................................................34 PWD......................................................................................................................................................35 REBOOT...............................................................................................................................................36 REMOTEACCESS...............................................................................................................................37 RESTOREDEFAULT...........................................................................................................................38 ROUTE..................................................................................................................................................3" SA!E.....................................................................................................................................................41 SNTP.....................................................................................................................................................42 SW!ERS#ON.......................................................................................................................................43 SYS#NFO..............................................................................................................................................44 TFTP......................................................................................................................................................45 !O#CE...................................................................................................................................................46 WAN......................................................................................................................................................48

ADSL
NAME adsl allow a user to control ADSL driver SYNOPSIS adsl start [options] adsl stop adsl connection [options] adsl confi ure [options] adsl !ert [options] adsl info [options] DES"#IP$ION Adsl is used to control ADSL driver% $&is utilit' can( start and stop t&e driver activate) deactivate and control ADSL connection confi ure ADSL driver and connection para*eters start) stop and *onitor +it Error #ate $est ,+E#$ displa' status and infor*ation of ADSL driver and connection displa' statistics for ADSL driver and connection All infor*ation is displa'ed to stdout% A pro ra* or s&ell script t&at calls t&is utilit' can redirect stdout to a file and t&en parse t&e file in order to interpret t&e displa'ed output% "OMMANDS start Starts ADSL driver% $&is co**and ta.es para*eters t&at can specif' various connection *odes% $&ese para*eters are t&e sa*e as in /confi ure0 co**and% stop Stops ADSL connection and ADSL driver% confi ure "onfi ures ADSL connection para*eters% $&ese co**and ta.es t&e sa*e para*eters as /start0 co**and e1cept for [22up] % $&is co**and will cause ADSL P3Y to retrain% connection "ontrols ADSL connection *odes) suc& as up and down and several special test *odes% $&is co**and can also !e used to specif' tone selection for upstrea* and downstrea*% !ert "ontrols ADSL !it error rate test ,+E#$-% $&is co**and can start4stop t&e +E#$ test and *onitor its results% info

Displa' infor*ation a!out ADSL driver and P3Y status% OP$IONS Options for t&e start and confi ure co**ands adsl start [22up] [22*od 5a6d6l6t676p6e6*8] [22lpair 5,i-nner6,o-uter8] [22trellis 5on6off8] [22 snr 5snr9:8] [22!itswap 5on6off8] or for Anne1"( [22!* 5,D-+M6,;-+M8] [22ccw] adsl confi ure [22*od 5a6d6l6t676p6e6*8] [22lpair 5,i-nner6,o-uter8] [22trellis 5on6off8] [22 snr 5snr9:8] [22!itswap 5on6off8] or for Anne1"( [22!* 5,D-+M6,;-+M8] [22ccw] 22up <ill start ADSL P3Y connection% 22*od 5a6d6l6t676p6e6*8 a all *odulations allowed d =%DM$ ena!led l =%Lite ena!led t $>%:>? ena!led 7 ADSL7 ,=%@@7%?- ena!led p ADSL7A ,=%@@7%B- ena!led e #eac& e1tended ADSL ,Anne1L- ena!led * Dou!le upstrea* ,Anne1 M- ena!led More t&an one *ode letter can !e iven to ena!le several *odes 22lpair 5,i-nner6,o-uter8 ,i-nner inner loop pair is used ,o-uter outer loop pair is used 22trellis 5on6off8 Ena!led or disa!les trellis codin 2snr 5snr9:8 Specif' SN# *ar in as 9: nu*!er 22!itswap 5on6off8 Ena!les or disa!les ADSL !itswap $&e followin options appl' to Anne1" onl' 22!* 5,D-+M6,;-+M8 ,D-+M 2 D+M *ode ,;-+M 2 ;+M *ode 22ccw Ena!les special "#" wor.around for "entilliu* *ode*s Options for t&e stop co**and adsl stop Options for t&e connection co**and adsl connection [22up] [22down] [22loop!ac.] [22rever!] [22*edle'] [22noretrain] [22L?] [22 tones 51*tStart 1*tNu* 1*tMap rcvStart rcvNu* rcvMap8]
4

22up Starts ADSL connection in nor*al *ode 22down Puts ADSL P3Y in idle *ode 22loop!ac. Puts ADSL P3Y in A$M cell loop!ac. *ode% In t&is *ode* ADSL P3Y will not tr' to esta!lis& connection 22rever! Puts ADSL P3Y in test *ode in w&ic& it onl' sends #ECE#+ si nal 22*edle' Puts ADSL P3Y in test *ode in w&ic& it onl' sends MEDLEY si nal 22noretrain In t&is *ode ADSL P3Y will !e tr'in to esta!lis& connection as in nor*al *ode) !ut once t&e connection is up it will not retrain even if t&e si nal is lost% 22L? Puts ADSL *ode* in L? power state 22tones 51*tStart 1*tNu* 1*tMap rcvStart rcvNu* rcvMap8 Specifies tones w&ic& can !e used !' ADSL P3Y% 1*tStart first tone used in upstrea* direction ,usuall' D1*tNu* 2 nu*!er of tones in upstrea* direction ,usuall' ?71*tMap 2 !it*ap for tones used in upstrea* direction% Specified as a &e1adeci*al strin % +it value Eero *eans t&e correspondin tone is not used) !it value one *eans it is used% rcvStart first tone used in downstrea* direction ,usuall' ?7rcvNu* 2 nu*!er of tones in downstrea* direction ,usuall' 77:rcvMap 2 !it*ap for tones used in downstrea* direction% Specified as a &e1adeci*al strin % +it value Eero *eans t&e correspondin tone is not used) !it value one *eans it is used% $one confi uration co**and does not cause ADSL P3Y retrain auto*aticall'% $o e1perience t&e effect of t&is co**and ADSL connection *ust !e restarted usin for e1a*ple adsl connection down followed !' adsl connection up co**and% $one selection is not affected !' adsl confi ure co**ands and &as to !e c&an ed e1plicitl'% Default tone confi uration ,all tones ena!led- will !e set !' adsl tones D ?7 D1;;;;;;;; ?7 77: D1;;F ,repeated 7G ti*es-% Options for t&e !ert co**and adsl !ert [22start 5seconds8] [22stop] [22s&ow] 22start Starts +it Error #ate $est ,+E#$- seconds duration of +E#$ test in seconds 22stop Stops t&e +E#$ test% 22s&ow Displa' +E#$ results to stdout in t&e followin for*at( +E#$ Status H [NO$] #INNIN= +E#$ $otal $i*e H >D sec
5

+E#$ Elapsed $i*e H >D sec +E#$ +its $ested H D1DDDDDDDDD:BAJ?GD !its +E#$ Err +its H D1DDDDDDDDDDDDDDD7 !its +E#$ Status indicates w&et&er or not t&e +E#$ test is currentl' runnin % It can !e used to *onitor w&en t&e +E#$ test is co*plete after it is started% $&e nu*!ers of total !it tested and errorred !its are displa'ed as J: !it &e1adeci*al nu*!ers% Options for t&e info co**and adsl info [22state] [22s&ow] [22stats] [22reset] 22state Displa's t&e s&ortest *essa e a!out ADSL P3Y connection state) e% % adsl( ADSL driver and P3Y status Status( S&owti*e "&annel( ;AS$) Ipstrea* rate H GDJ: K!ps) Downstrea* rate H >D7: K!ps 22s&ow Displa's *ore statistics a!out ADSL connection% 22stats Displa's all availa!le statistics a!out ADSL connection% 22SN# Displa's si nal to noise ratio ,SN#- per tone 22reset "lears all statistic counters in ADSL driver

ARP
NAME arp *anipulate *ode*Ls A#P ,Address #esolution Protocol- ta!le SYNOPSIS arp add 5IP address8 5MA" address8 arp delete 5IP address8 arp s&ow arp &elp DES"#IP$ION arp is used to *anipulate *ode*Ls A#P ta!le% Note t&at A#P entries added !' t&is co**and are not saved in t&e flas& *e*or' !' t&e save co**and% After s'ste* re!oot) A#P entries need to !e re2added%

ATM
NAME at* allow a user to control A$M driver SYNOPSIS at* start [options] at* stop at* operate tdte6intf6vcc [options] DES"#IP$ION at* is used to control A$M driver% $&is utilit' can( start and stop t&e driver activate and deactivate an A$M interface ,port- or a Cirtual "&annel "onnection ,C"" add and re*ove traffic descriptor ta!le entries add and re*ove C""s displa' t&e confi uration for traffic descriptor ta!le entries) A$M interfaces and C""s displa' statistics for A$M interfaces and C""s All infor*ation is displa'ed to stdout% A pro ra* or s&ell script t&at calls t&is utilit' can redirect stdout to a file and t&en parse t&e file in order tointerpret t&e displa'ed output% "OMMANDS start Starts t&e +roadco* A$M driver% $&is co**and calls +c*At*MInitialiEe to initialiEe t&e driver and +c*At*MSet$rafficDescr$a!le to add one I+# traffic descriptor ta!le entr'% stop Stops t&e +roadco* A$M driver% $&is co**and calls +c*At*MIninitialiEe% operate Operates on traffic descriptor ta!le entries) A$M interfaces and C""s% OP$IONS Options for t&e start co**and at* start [22cNs 5siEe8] [22pNs 5siEe8] [22!s 5siEe8] [22!o 5offset8] [22intf 5port8 5t'pe8 5address8] 22cNs 5siEe8 siEe SiEe used to create t&e ;ree and #eceive cell Nueues% Default value is >D% 22pNs 5siEe8 siEe SiEe used to create t&e ;ree and #eceive pac.et Nueues% Default value is 7DD% 22!s 5siEe8 siEe SiEe of a !uffer used in t&e ;ree andf #eceive pac.et Nueues% Default value is >JDD%

22!o 5offset8 offset 2 Offset into a receive !uffer w&ere data is to !e received% Default value is ?7% 22intf 5port8 5t'pe8 5address8 port Port nu*!er startin at D to !e confi ured% t'pe adsl6loop!ac.6utopia6tc address I$OPIA address% Onl' used if t'pe is utopia% More t&an one intf option can !e specified to confi ure *ultiple ports% If no intf option is specified) t&e default value is OD) adsl) DO% Options for t&e stop co**and at* stop Options for t&e operate tdte co**and at* operate tdte [22add 5t'pe8 [5pcr8] [5scr8] [5*!s8]] [22delete 5inde18] [22s&ow [5inde18]] 22add 5t'pe8 [5pcr8] [5scr8] [5*!s8] t'pe 2 u!r6u!rMpcr6c!r6rtv!r6nrtv!r pcr Pea. "ell #ate ,P"#- if t'pe reNuires it scr Sustaina!le "ell #ate ,S"#- if t'pe reNuires it *!s Ma1i*u* +urst SiEe ,M+S- if t'pe reNuires it 22delete 5inde18 inde1 $raffic descriptor ta!le entr' inde1 to delete% $&e s&ow option displa's t&e current inde1 values% 22s&ow [5inde18] inde1 $raffic descriptor ta!le entr' inde1 to displa' infor*ation a!out% If inde1 is o*itted) all traffic descriptor ta!le entries are displa'ed% Options for t&e operate intf co**and at* operate intf [22state 5port8 5t'pe8] [22s&ow [5port8]] [22stats [5port8] [reset]] 22state 5port8 5t'pe8 port Port nu*!er startin at D to ena!le or disa!le% t'pe ena!le6disa!le 22s&ow [5port8] port Port nu*!er startin at D to displa' confi uration infor*ation a!out% If port is o*itted) confi uration infor*ation is displa'ed for all confi ured ports% 22stats [5port8] [reset] port Port nu*!er startin at D to displa' statistics for% reset #esets statistics fields% If port is o*itted) statistics are displa'ed for all confi ured ports% Options for t&e operate vcc co**and at* operate vcc [22add 5port%vpi%vci8 5aalMt'pe8 5tdteMinde18 5encapsulationMt'pe8] [22delete 5port%vpi%vci8] [22addN 5port%vpi%vci8 5siEe8 5priorit'8 ] [22deleteN 5port%vpi%vci8 5siEe8 5priorit'8] [22state 5port%vpi%vci8 5t'pe8] [22s&ow [5port%vpi%vci8]] [22stats [5port%vpi%vci8] [reset]] 22add 5port%vpi%vci8 5t'pe8 5tdteMinde18 5encapsulationMt'pe8 port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to add%
"

t'pe aalB6aal76aalDp.t6aalDcell6aaltransparent tdteMinde1 $raffic descriptor ta!le entr' inde1 to use for t&is C""% $&e co**and) at* operate tdte 22s&ow) displa's t&e current inde1 values% encapsulationMt'pe vc*u1Mrouted6vc*u1M!rid edGD7?6llcencaps6ot&er6 un.nown 22delete 5port%vpi%vci8 port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to delete% 22addN 5port%vpi%vci8 5siEe8 5priorit'8 port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to add a new Nueue for% SiEe SiEe of t&e Nueue% Priorit' Priorit' of t&e Nueue% 22deleteN 5port%vpi%vci8 5siEe8 5priorit'8 port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to delete a Nueue for% siEe SiEe of t&e Nueue% priorit' Priorit' of t&e Nueue% 22state 5port%vpi%vci8 5t'pe8 port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to ena!le or disa!le% t'pe ena!le6disa!le 22s&ow [5port%vpi%vci8] port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to displa' confi uration infor*ation a!out% If port%vpi%vci is o*itted) confi uration infor*ation is displa'ed for all confi ured C""s% 22stats [5port%vpi%vci8] [reset] port%vpi%vci Port nu*!er) CPI and C"I t&at identifies t&e C"" to displa' statistics for% reset #esets statistics fields% If port%vpi%vci is o*itted) statistics are displa'ed for all confi ured C""s%

10

BRCTL
NAME !rctl !rid e ad*inistration utilit' SYNOPSIS !rctl [ co**and ] DES"#IP$ION !rctl is used to set up) *aintain) and inspect t&e !rid e confi uration% A !rid e is a device co**onl' used to connect different networ.s ,Et&ernet) IS+) GD7%>>1 wireless networ. or A$M- to et&er) so t&at t&ese networ.s will appear as one networ. to t&e participants% Eac& of t&e networ.s !ein connected corresponds to one p&'sical interface ,port- in t&e !rid e% $&ese individual networ.s are !undled into one !i er ,Plo icalP- networ.) t&is !i er networ. corresponds to t&e !rid e networ. interface suc& as /!rD0% "OMMANDS add!r 5!rid e8 "reates a new instance of t&e !rid e% $&e networ. interface correspondin to t&e !rid e will !e called 5!rid e8% del!r 5!rid e8 Deletes t&e instance 5!rid e8 of t&e !rid e% $&e networ. interface correspondin to t&e !rid e *ust !e down !efore it can !e deleted% s&ow 5!rid e8 S&ows t&e instance 5!rid e8 of t&e !rid e% s&ow S&ows all current instances of t&e !rid e% addif 5!rid e8 5device8 Ma.es t&e interface 5device8 a port of t&e !rid e 5!rid e8% $&is *eans t&at all fra*es received on 5device8 will !e processed as if destined for t&e !rid e% Also) w&en sendin fra*es on 5!rid e8) 5device8 will !e considered as a potential output interface% delif 5!rid e8 5device8 Detac&es t&e interface 5device8 fro* t&e !rid e 5!rid e8% s&ow*acs 5!rid e8 S&ows a list of learned MA" addresses for t&is !rid e% s&owstp 5!rid e8 S&ows t&e S$P ,Spannin $ree Protocol- status of t&is !rid e% seta ein 5!rid e8 5ti*e8 Sets t&e MA" address a ein ti*e) in seconds% After 5ti*e8 seconds of not &avin seen a fra*e co*in fro* a certain address) t&e !rid e will ti*e out ,delete- t&at

11

address fro* t&e ;orwardin Data+ase ,fd!-% set!rid eprio 5!rid e8 5priorit'8 Sets t&e !rid ePs priorit' to 5priorit'8% $&e priorit' value is an unsi ned >J2!it Nuantit' ,a nu*!er !etween D and JBB?B-) and &as no di*ension% Lower priorit' values are P!etterP% $&e !rid e wit& t&e lowest priorit' will !e elected Proot !rid eP% setfd 5!rid e8 5ti*e8 Sets t&e !rid ePs P!rid e forward dela'P to 5ti*e8 seconds% set cint 5!rid e8 5ti*e8 Sets t&e ar!a e collectioninterval for t&e !rid e 5!rid e8 to 5ti*e8 seconds% $&is *eans t&at t&e !rid e will c&ec. t&e forwardin data!ase for ti*ed out entries ever' 5ti*e8 seconds% set&ello 5!rid e8 5ti*e8 Sets t&e !rid ePs P!rid e &ello ti*eP to 5ti*e8 seconds% set*a1a e 5!rid e8 5ti*e8 Sets t&e !rid ePs P*a1i*u* *essa e a eP to 5ti*e8 seconds% setpat&cost 5!rid e8 5port8 5cost8 Sets t&e port cost of t&e port 5port8 to 5cost8% $&is is a di*ensionless *etric% setportprio 5!rid e8 5port8 5prio8 Sets t&e port 5port8Ps priorit' to 5priorit'8% $&e priorit' value is an unsi ned G2!it Nuantit' ,a nu*!er !etween D and 7BB-) and &as no di*ension% $&is *etric is used in t&e desi nated port and root port selection al orit&*s% setportsnoopin 5!rid e8 5port8 5addr8 Adds an entr' for a port 5port8 in t&e port snoopin ta!le of t&e !rid e 5!rid e8% $&e for*at of t&e 5addr8 is roupM*acMaddress4srcM*acMaddress% clearportsnoopin 5!rid e8 5port8 5addr8 #e*oves an entr' for a port 5port8 fro* t&e port snoopin ta!le of t&e !rid e 5!rid e8% $&e for*at of t&e 5addr8 is roupM*acMaddress4srcM*acMaddress% s&owportsnoopin 5!rid e8 Displa' t&e current contents of t&e port snoopin ta!le% ena!leportsnoopin 5ena!le8 Ena!le4Disa!le t&e port snoopin feature% Ena!le !' /ena!leportsnoopin >0)and disa!le !' /ena!leportsnoopin D0% stp 5!rid e8 5state8 "ontrols t&is !rid e instancePs participation in t&e spannin tree protocol% If 5state8 is OonO or O'esO t&e S$P will !e turned on) ot&erwise it will !e turned off% <&en turned off) t&e !rid e will not send or receive +PDIs) and will t&us not participate in t&e spannin tree protocol% If 'our !rid e isnPt t&e onl' !rid e on t&e LAN) or if t&ere are loops in t&e LANPs topolo ') DO NO$ turn t&is option off% If 'ou turn t&is option off) please .now w&at 'ou are doin % OP$IONS None%

12

CAT
NAME cat concatenates ;ILE,s- and prints t&e* to standard output SYNOPSIS cat [;ILE] %%% DES"#IP$ION "oncatenates ;ILE,s- and prints t&e* to standard output "OMMANDS None% OP$IONS None%

13

DDNS
NAME ddns add) re*ove or s&ow t&e d'na*ic DNS% SYNOPSIS ddns add 5&ostna*e8 22userna*e 5userna*e8 22password 5password8 22interface 5interface8 22service 5d'ndns8 ddns re*ove 5&ostna*e8 ddns s&ow ddns 22&elp DES"#IP$ION $&e use of ddns co**and is to confi ure t&e d'na*ic DNS service provider account infor*ation% In "LI) onl' one operator) D'nDNS%or ) is supported at t&is point% $&is router will update t&e d'na*ic DNS service operator wit& t&e IP address associated wit& &is DDNS &ost na*e w&enever t&e IP address assi ned to a specified <AN interface &as !een c&an ed% Note t&at t&e user account for t&at d'na*ic DNS operator account *ust &ave !een pre2esta!lis&ed alread'% OP$IONS &ostna*e t&e co*plete DNS &ost na*e pre2esta!lis&ed in t&e DDNS service operator% userna*e t&e userna*e of t&e d'na*ic DNS account% password t&e password of t&e d'na*ic DNS account% interface t&e <AN interface na*e t&at is associated wit& t&e d'na*ic IP address% service t&e d'na*ic DNS service operator% "urrentl') it onl' support one service Qd'ndnsL 2 service provider d'ndns%or %

14

DEFAULTGATEWAY
NAME default atewa' confi ure or s&ow t&e default atewa' or default route SYNOPSIS default atewa' confi auto default atewa' confi static [5ipaddress8] [5interface8] default atewa' s&ow default atewa' 22&elp DES"#IP$ION $&e pri*ar' use of default atewa' co**and is to set up a static default atewa' or default route) or to retrieve t&e default atewa' infor*ation auto*aticall' fro* re*ote ISPs t&rou & D3"P protocol for a ME# interface or t&rou & PPP protocol for a PPPoA or PPPoE interface% A PPPoA or PPPoE interface will alwa's retrieve re*ote atewa' infor*ation auto*aticall'% $&is co**and will save confi uration to t&e Per*anent Stora e% If t&e default atewa' is confi ured wit& static data) it will override an' re*ote atewa' address received auto*aticall' fro* so*e <AN interface and !eco*e effective i**ediatel' in t&e runti*e s'ste*% Ipaddress is optional if t&e default route is en route a PPPoE) PPPoA or IPoA interface% If t&e default atewa' is en route a ME# interface) ipaddress *ust !e confi ured and t&e interface para*eter is optional% If t&ere is onl' one IPoA <AN interface) 'ou *ust confi ure static default atewa' or default route since IPoA does not support D3"P% If t&e default atewa' is confi ured wit& t&e OautoO option) t&e s'ste* needs to !e re!ooted !efore it can ta.e effect% If t&ere are *ultiple <AN interfaces wit& D3"P or PPP ena!led) *ultiple re*ote atewa' addresses *a' !e received and t&e first received will !e c&osen to !e t&e default atewa'% OP$IONS ipaddress t&e IP address of t&e default atewa' in dotted deci*al% interface force t&e default atewa' to !e associated wit& t&e specified device) as t&e .ernel will ot&erwise tr' to deter*ine t&e device on its own !' c&ec.in alread' e1istin routes and devices%

15

DF
NAME df print t&e files'ste* used space and availa!le space SYNOPSIS df [OP$ION]%%% [;ILESYS$EM]%%% DES"#IP$ION df displa's t&e a*ount of dis. space availa!le on t&e file s'ste* of eac& files'ste* na*e ar u*ent% If no file s'ste* na*e is iven) t&e space availa!le on all currentl' *ounted files'ste*s is s&own% Dis. space is s&own in > .! !loc.s !' default% "OMMANDS None% OP$IONS 2& print siEes in &u*an reada!le for*at ,e% %) >K 7:?M 7= 2* print siEes in *e a!'tes 2. print siEes in .ilo!'tes ,default-

16

DHCPSERVER
NAME d&cpserver allow a user to confi ure) or s&ow t&e D3"P Server data SYNOPSIS d&cpserver confi 5start IP address8 5end IP address8 5leased ti*e ,&our-8 d&cpserver s&ow d&cpserver 22&elp DES"#IP$ION d&cpserver is used to confi ure) or s&ow t&e D3"P server data% $&is utilit' can( confi ure t&e D3"P server on t&e pri*ar' LAN interface% s&ow t&e D3"P server confi uration data% displa' usa e% All infor*ation is displa'ed to stdout% A pro ra* or s&ell script t&at calls t&is utilit' can redirect stdout to a file and t&en parse t&e file in order to interpret t&e displa'ed output% "OMMANDS confi confi ure t&e D3"P server wit& t&e iven data% Notice( t&e co**and saves t&e confi uration data to t&e flas& !ut does not ta.e effect until t&e s'ste* is re!ooted% s&ow s&ow t&e D3"P server confi uration data% 22&elp displa' usa e% OP$IONS Options for t&e confi co**and d&cpserver confi 5start IP address8 5end IP address8 5leased ti*e ,&our-8% 5start IP address8 $&e IP address of t&e first address in t&e ran e% $&e value of ran e start *ust !e less t&an or eNual to t&e value of ran e end% Calid values( an' valid IP address% Default value( >@7%>JG%>%7% 5end IP address8 $&e IP address of t&e last address in t&e ran e% $&e value of ran e end *ust !e reter t&an or eNual to t&e value of ran e start% Calid values( an' valid IP address% Default value( >@7%>JG%>%7B:% 5leased ti*e ,&our-8 $&e lease period for w&ic& t&e server assi sn an IP address to t&e client in case

17

t&e client does not reNuest for t&e specific lease period itself% Calid values( D 2 GRJD% Default value( 7: &ours ,t&is eNuals a da'-% Options for t&e s&ow co**and d&cpserver s&ow Options for t&e 22&elp co**and d&cpserver 22&elp

18

DNSRELAY
NAME dnsrela' allow a user to confi ure or s&ow t&e DNS rela' data SYNOPSIS dnsrela' confi auto dnsrela' confi static 5pri*ar' DNS8 [5secondar' DNS8] dnsrela' s&ow dnsrela' 22&elp DES"#IP$ION dnsrela' is used to confi ure) or s&ow t&e DNS rela' data% $&is utilit' can( confi ure t&e DNS rela' wit& t&e iven data% s&ow t&e DNS rela' confi uration data% displa' usa e% All infor*ation is displa'ed to stdout% A pro ra* or s&ell script t&at calls t&is utilit' can redirect stdout to a file and t&en parse t&e file in order to interpret t&e displa'ed output% "OMMANDS confi confi ure t&e DNS rela' wit& t&e iven data% Notice( t&e co**and onl' saves t&e confi uration data to t&e flas&) and does not ta.e effect until t&e s'ste* is re!ooted% s&ow s&ow t&e DNS rela' confi uration data% 22&elp displa' usa e% OP$IONS Options for t&e confi auto co**and dnsrela' confi auto Options for t&e confi static co**and dnsrela' confi static 5pri*ar' DNS8 [5secondar' DNS8] 5pri*ar' DNS8 $&e IP address of t&e pri*ar' DNS server% Calid values( an' valid IP address% [5secondar' DNS8] $&e IP address of t&e secondar' DNS server% ItLs optional and can !e o*itted% Calid values( an' valid IP address% Options for t&e s&ow co**and dnsrela' s&ow

1"

Options for t&e 22&elp co**and dnsrela' &elp

20

DUMPCFG
NAME du*pcf displa' s'ste*Ls confi uration SYNOPSIS du*pcf DES"#IP$ION du*pcf displa's t&e s'ste*Ls confi uration w&ic& is in te1t SML for*at% "OMMANDS None% OP$IONS None%

21

ECHO
NAME ec&o displa' a line of te1t or an environ*ent varia!leLs value SYNOPSIS ec&o [OP$ION]%%% [S$#IN=]%%% DES"#IP$ION ec&o displa's a line of te1t) or an environ*ent varia!leLs value% Notice t&at /ls0 co**and is not supported in t&e "LI% Ec&o can !e used to displa' files and su!directories usin wildcard QTL% "OMMANDS None% OP$IONS 2n suppress trailin newline 2e interpret !ac.slas&2escaped c&aracters ,i%e%) UtHta!2E disa!le interpretation of !ac.slas&2escaped c&aracters

22

HELP
NAME &elp list all of availa!le "LI co**ands t&at t&e DSL router supports SYNOPSIS 3elp 6 V DES"#IP$ION list all of availa!le "LI co**ands t&at t&e DSL router supports% OP$IONS none

23

IFCONFIG
NAME ifconfi confi ure a networ. interface SYNOPSIS ifconfi [interface] ifconfi interface [aft'pe] options 6 address %%% DES"#IP$ION Ifconfi is used to confi ure t&e .ernel2resident networ. interfaces% It is used at !oot ti*e to set up interfaces as necessar'% After t&at) it is usuall' onl' needed w&en de!u w&en s'ste* tunin is needed% If no ar u*ents are iven) ifconfi displa's t&e status of t&e currentl' active interfaces% If a sin le interface ar u*ent is iven) it displa's t&e status of t&e iven interface onl'W if a sin le 2a ar u*ent is iven) it displa's t&e status of all interfaces) even t&ose t&at are down% Ot&erwise) it confi ures an interface% "OMMANDS None% OP$IONS interface $&e na*e of t&e interface% $&is is usuall' a driver na*e followed !' a unit nu*!er) for e1a*ple et&D for t&e first Et&ernet interface% address $&e IP address to !e assi ned to t&is interface% up $&is fla causes t&e interface to !e activated% It is i*plicitl' specified if an address is assi ned to t&e interface% down $&is fla causes t&e driver for t&is interface to !e s&ut down% [2]arp Ena!le or disa!le t&e use of t&e A#P protocol on t&is interface% [2]pro*isc Ena!le or disa!le t&e pro*iscuous *ode of t&e interface% If selected) all pac.ets on t&e networ. will !e received !' t&e interface% [2]all*ulti Ena!le or disa!le all2*ulticast *ode% If selected) all *ulticast pac.ets on t&e networ. will !e received !' t&e interface% *etric N $&is para*eter sets t&e interface *etric% in or

24

*tu N $&is para*eter sets t&e Ma1i*u* $ransfer Init ,M$I- of an interface% dstaddr addr Set t&e re*ote IP address for a point2to2point lin. ,suc& as PPP-% $&is .e'word is now o!soleteW use t&e pointopoint .e'word instead% net*as. addr Set t&e IP networ. *as. for t&is interface% $&is value defaults to t&e usual class A) + or " networ. *as. ,as derived fro* t&e interface IP address-) !ut it can !e set to an' value% irN addr Set t&e interrupt line used !' t&is device% Not all devices can d'na*icall' c&an e t&eir I#9 settin % ioMaddr addr Set t&e start address in I4O space for t&is device% *e*Mstart addr Set t&e start address for s&ared *e*or' used !' t&is device% Onl' a few devices need t&is% [2]!roadcast [addr] If t&e address ar u*ent is iven) set t&e protocol !roadcast address for t&is interface% Ot&erwise) set ,or clear- t&e I;;M+#OAD"AS$ fla for t&e interface% [2]pointopoint [addr] $&is .e'word ena!les t&e point2to2point *ode of an interface) *eanin t&at it is a direct lin. !etween two *ac&ines wit& no!od' else listenin on it% If t&e address ar u*ent is also iven) set t&e protocol address of t&e ot&er side of t&e lin.) Xust li.e t&e o!solete dstaddr .e'word does% Ot&erwise) set or clear t&e I;;MPOIN$OPOIN$ fla for t&e interface% [2]trailers Set or clear t&e I;;MNO$#AILE#S fla for t&e interface% [2]d'na*ic Set or clear t&e I;;MDYNAMI" fla for t&e interface% &w class address Set t&e &ardware address of t&is interface) if t&e device driver supports t&is operation% $&e .e'word *ust !e followed !' t&e na*e of t&e &ardware class and t&e printa!le AS"II eNuivalent of t&e &ardware address% 3ardware classes currentl' supported include et&er ,Et&ernet- onl'% *ulticast Set t&e *ulticast fla on t&e interface% $&is s&ould not nor*all' !e needed as t&e drivers set t&e fla correctl' t&e*selves% outfill N $&is para*eter sets t&e interface outfill ti*eout% .eepalive N $&is para*eter sets t&e interface .eepalive ti*eout% t1Nueuelen len t& Set t&e len t& of t&e trans*it Nueue of t&e device% It is useful to set t&is to s*all values
25

for slower devices wit& a &i & latenc' ,*ode* lin.s) ISDN- to prevent fast !ul. transfers fro* distur!in interactive traffic li.e telnet too *uc&%

26

KILL
NAME .ill send a si nal to t&e specified process,esSYNOPSIS .ill [ 2si nal ] pid %%% .ill 2l [ si nal ] DES"#IP$ION .ill sends t&e specified si nal to t&e specified process or process roup% If no si nal is specified) t&e $E#M si nal is sent% $&e $E#M si nal will .ill processes w&ic& do not catc& t&is si nal% ;or ot&er processes) it *a' !e necessar' to use t&e KILL ,@- si nal) since t&is si nal cannot !e cau &t% "OMMANDS None% OP$IONS pid%%% Specif' t&e list of processes t&at .ill s&ould si al% 2si nal =iven as a si nal na*e or nu*!er% 2l List all si nal na*es and nu*!ers%

27

LAN
NAME lan allow a user to confi ure t&e IP la'er for t&e LAN interfaces SYNOPSIS lan confi [22ipaddr 5pri*ar'6secondar'8 5IP address8 5su!net *as.8] [22d&cpserver 5ena!le6disa!le8] lan delete ipaddr 5pri*ar'6secondar'8 lan s&ow [5pri*ar'6secondar'8] lan 22&elp DES"#IP$ION

Lan is used to confi ure t&e IP la'er data for t&e pri*ar' and secondar' LAN interfaces% A LAN interface is a lo ic interface toward IP stac. fro* t&e +rid e *odule% +ot& pri*ar' and secondar' LAN interfaces s&are t&e sa*e MA" address fro* t&e p&'sical Et&ernet port% $&is utilit' can( "onfi ure t&e IP address and su!net *as. for t&e pri*ar' LAN interface% It "an !e eit&er a private or a pu!lic IP address% "onfi ure t&e IP address and su!net *as. for t&e secondar' LAN interface% NA$ is not supported on t&e secondar' LAN interface% Onl' pu!lic IP address is allowed% Ena!le or disa!le t&e D3"P server on t&e pri*ar' LAN interface% D3"P server is not supported on t&e secondar' LAN interface% Displa' confi uration data for t&e pri*ar' and secondar' LAN interfaces% Displa' usa e% All infor*ation is displa'ed to stdout% A pro ra* or s&ell script t&at calls t&is utilit' can redirect stdout to a file and t&en parse t&e file in order to interpret t&e displa'ed output%
"OMMANDS confi confi ure IP la'er for t&e pri*ar' or secondar' LAN interface% delete delete t&e pri*ar' or secondar' LAN interface confi uration% s&ow s&ow confi uration data for t&e pri*ar' and secondar' LAN interfaces% 22&elp displa' usa e% OP$IONS Options for t&e confi co**and lan confi [22ipaddr 5pri*ar'6secondar'8 5IP address8 5su!net *as.8] [22d&cpserver 5ena!le6disa!le8] 22ipaddr 5pri*ar'6secondar'8 5IP address8 5su!net *as.8

28

pri*ar'6secondar' specif' w&ic& LAN interface will !e confi ured% Calid values( pri*ar' or secondar'% IP address $&e IP address of t&e LAN interface% Calid values( an' valid IP address% Default value( >@7%>JG%>%>% Su!net *as. $&e su!net *as. of t&e LAN interface% Calid values( D%D%D%> 2 7BB%7BB%7BB%7BB% Default value( 7BB%7BB%7BB%D 22d&cpserver 5ena!le6disa!le8 ena!le6disa!le specif' D3"P server s&ould !e ena!led or disa!led% $&is option is onl' valid for t&e pri*ar' LAN interface% Calid values( ena!le or disa!le% Default value is ena!le for t&e pri*ar' LAN interface% Options for t&e delete co**and lan delete 22ipaddr 5pri*ar'6secondar'8 22ipaddr 5pri*ar'6secondar'8 pri*ar'6secondar' specif' w&ic& LAN interface will !e deleted% Calid values( pri*ar' or secondar'% Options for t&e s&ow co**and lan s&ow [5pri*ar'6secondar'8] pri*ar'6secondar' specif' w&ic& LAN interface will !e s&own% Calid values( pri*ar' or secondar'% If it is o*itted) all LAN interfaces are displa'ed% Options for t&e 22&elp co**and lan 22&elp

2"

LOGOUT
NAME lo out lo out current user console SYNOPSIS lo out DES"#IP$ION lo out is used to lo out current user console% After lo out co**and is e1ecuted) a !'e !'e *essa e appears% 3it return to see a new Lo in pro*pt% "OMMANDS None% OP$IONS None%

30

PASSWD
NAME passwd allow a user to c&an e password SYNOPSIS passwd 5ad*in6support6user8 5password8 DES"#IP$ION passwd is a "LI co**and used to c&an e password for user account ad*in) support or user% "OMMANDS None% OP$IONS None%

31

PING
NAME pin send I"MP ec&o reNuests to tar et &ost SYNOPSIS Pin [2c 5count8] [2s 5siEe8] &ost DES"#IP$ION Pin sends out I"MP ec&o reNuests over t&e I"MP protocol to a &ost on t&e networ.% $&e default nu*!er of t&e I"MP ec&o reNuest pac.ets pin sends out is four% $o continuall' send out pac.ets wit&out stop) use O2c DO option% "OMMANDS None% OP$IONS count $&e nu*!er of I"MP ec&o reNuest pac.ets pin co**and will send out% siEe force t&e pin to send out I"MP ec&o reNuest pac.ets wit& t&is nu*!er of data !'tes% 3ost $&e na*e or ip address of t&e tar et &ost%

32

PPP
NAME ppp allow a user to !rin up or !rin down a ppp connection SYNOPSIS ppp confi 5port%vpi%vci8 [5connection Id8] up6down DES"#IP$ION ppp is used to control t&e ppp interfaces% Ppp co**and !rin s up t&e ppp connection wit& OupO option) and !rin s down t&e connection wit& OdownO option% ;or ppp connection in on2 de*and *ode) in addition to t&e OupO option) traffic to t&e ppp interface needs to !e initiated to !rin t&e connection up% "OMMANDS None% OP$IONS 5port%vpi%vci8 Port nu*!er) CPI and C"I t&at identifies t&e C"" w&ere t&e ppp connection is esta!lis&ed% 5connection Id8 $&e nu*!er t&at identifies a e1istent <AN connection on a PC"% If connection Id is o!*itted) t&e default is >% Calid values( > G% Default value( >

33

PS
NAME ps report process status SYNOPSIS ps DES"#IP$ION ps ives a snaps&ot of t&e current processes% $&e output consists of si1 colu*ns( PID $$Y Iid SiEe State "o**and "OMMANDS None% OP$IONS None% $&e process ID $&e ter*inal device t&e process attac&es to) suc& as 4dev4tt'pD $&e user ID of t&e process owner $&e a*ount of virtual *e*or' ta.en !' t&e process ,.ilo!'tes$&e state of t&e process% ,S2Sleepin ) #2#unnin ) <2<aitin $&e co**and t&at launc&es t&e process

34

PWD
NAME pwd print na*e of current wor.in director' SYNOPSIS pwd DES"#IP$ION pwd is a "LI co**and used to displa' na*e of current wor.in director'% "OMMANDS None% OP$IONS None%

35

REBOOT
NAME re!oot re!oot t&e s'ste* SYNOPSIS re!oot DES"#IP$ION #e!oot t&e s'ste*% "OMMANDS None% OP$IONS None%

36

REMOTEACCESS
NAME re*oteaccess allow certain protocols to access t&e *ode* fro* t&e <AN side SYNOPSIS re*oteaccess 5ena!le6disa!le8 re*oteaccess s&ow re*oteaccess 22&elp DES"#IP$ION

#e*oteaccess sets securit' level to allow or disallow re*ote access into t&e route usin telnet) &ttp) sn*p or pin fro* t&e <AN side% $&e options are ena!le) disa!le and s&ow%
"OMMANDS None% OP$IONS None%

37

RESTOREDEFAULT
NAME restoredefault restore *ode* confi uration to factor' defaults SYNOPSIS restoredefault DES"#IP$ION restoredefault is a "LI co**and used to erase all confi urations *ade !' user) and restore t&e *ode* !ac. to factor' default confi uration% Once t&is co**and is e1ecuted) *ode* re!oots auto*aticall' wit& default confi uration% "OMMANDS None% OP$IONS None%

38

ROUTE
NAME route s&ow 4 *anipulate t&e IP routin ta!le SYNOPSIS route add 5ipaddress8 5su!net*as.8 5[5 atewa'8] [5interface8]8 route delete 5ipaddress8 5su!net*as.8 route s&ow route 22&elp DES"#IP$ION route *anipulates t&e IP routin ta!le% Its pri*ar' use is to set up static routes to specific &osts or networ.s via an interface% <&en t&e add or delete options are used) route *odifies t&e routin ta!les% S&ow option displa's t&e current contents of t&e routin ta!les% Note default atewa' route s&ould use anot&er /default atewa'0 co**and% If D%D%D%D is entered usin route add co**and) it is treated t&e sa*e as a static default atewa' w&ere a su!net*as. *ust !e entered% "OMMANDS add add a new route entr' delete s&ow OP$IONS ipaddress t&e destination networ. or &ost IP address in dotted deci*al notation% su!net*as. w&en addin a networ. route) t&e net*as. *ust !e specified% $ar et address *ust &ave Eero *atc&in wit& t&e Eero portion in NM% Ot&erwise) co**and will fail and displa' *essa e /net*as. doesnPt *atc& route address0 atewa' route pac.ets via a atewa'% NO$E( $&e specified atewa' *ust !e reac&a!le first% $&is usuall' *eans t&at 'ou &ave to set up a static route to t&e atewa' !efore&and% If 'ou specif' t&e address of one of 'our local interfaces) it will !e used to decide a!out t&e interface to w&ic& t&e pac.ets s&ould !e routed to% interface force t&e route to !e associated wit& t&e specified device) as t&e .ernel will ot&erwise tr' to deter*ine t&e device on its own !' c&ec.in alread' e1istin routes and devices% OI$PI$ delete a route entr' s&ow current content of routin ta!le includin static and d'na*ic route entries

3"

$&e output of t&e .ernel routin ta!le is or aniEed in t&e followin colu*ns Destination =atewa' =en*as. ;la s $&e destination networ. or destination &ost% $&e atewa' address or T if none set% $&e net*as. for t&e destination netW 7BB%7BB%7BB%7BB for a &ost destination Possi!le fla s include I ,route is up3 ,tar et is a &ost= ,use atewa'# ,reinstate route for d'na*ic routin D ,d'na*icall' installed !' dae*on or redirectM ,*odified fro* routin dae*on or redirect-

and D%D%D%D for t&e default route%

40

SAVE
NAME save save current confi uration to Per*anent Stora e on t&e flas& *e*or' SYNOPSIS save DES"#IP$ION save is a "LI co**and used to save current confi uration to flas&% "OMMANDS None% OP$IONS None%

41

SNTP
NAME sntp s'nc&roniEe auto*aticall' router ti*e wit& Internet ti*e servers wit& a ti*eEone% SYNOPSIS sntp 2s server [ 2s server7 ] 2t Oti*eEoneO sntp disa!le sntp date sntp Eones sntp 22&elp DES"#IP$ION sntp co**and s'nc&roniEes auto*aticall' t&e routerLs ti*e wit& t&e specified internet ti*er servers% "OMMANDS None% OP$IONS disa!le If SN$P is ena!le) disa!le it ,reNuire re!oot-% date S&ow t&e current date and ti*e of t&e routeer% Eones S&ow t&e list of t&e supported Eones%

42

SWVERSION
NAME swversion displa' current runnin software version SYNOPSIS swversion s&ow DES"#IP$ION swversion is a "LI co**and used to view t&e current runnin software version% "OMMANDS None% OP$IONS None%

43

SYSINFO
NAME s'sinfo displa' t&e eneral s'ste* infor*ation SYNOPSIS s'sinfo DES"#IP$ION s'sinfo displa's t&e nu*!er of processes in t&e s'ste*) s'ste* ti*e) s'ste* upti*e) t&e avera e s'ste* load in t&e past >) B and >B *inutes) and t&e s'ste* *e*or' consu*ption% $&e fi ures in t&e *e*or' consu*ption ta!le are in >.! unit% "OMMANDS None% OP$IONS None%

44

TFTP
NAME tftp tftp client to update software or retrieve and !ac.up t&e confi uration data% SYNOPSIS tftp [OP$ION]%%% tftpMserverMipMaddress DES"#IP$ION $ftp client is used for updatin t&e software and confi uration data fro* a re*ote tftp server as well as !ac.up and retrieve t&e confi uration to t&e re*ote tftp server% "OMMANDS None% OP$IONS 2 =et file% ,Ipdate i*a e4confi uration data2p Put file% ,!ac.up confi uration data2f re*ote file na*e% 2t i for i*a e and c for confi uration data%

45

VOICE
NAME voice *anipulate voice2related para*eters or start voice application SYNOPSIS Coice &elp Coice s&ow Coice start Coice set 5para*eter8 5value8 DES"#IP$ION

Coice co**and ena!les *anipulation of t&e voice2related para*eters or startin t&e voice application%
"OMMANDS &elp Displa's t&e co**and s'nta1% s&ow S&ows t&e voice2related para*eters% ;or e1a*ple) for M="P application t&e followin para*eters are s&own( call a ent IP address) atewa' na*e and interface used for sendin t&e voice pac.ets% start Starts t&e voice application% set "onfi ures t&e voice related para*eters% $&ese para*eters are specific to t'pe of voice protocol used in t&e voice application% ;or M="P) t&e followin para*eters can !e set( Parameter calla ent wna*e interface Value IP address of t&e call a ent Na*e of t&e M="P atewa' ,t&is na*e is used in eac& M="P *essa e sent to t&e call a entInterface na*e over w&ic& t&e M="P and voice pac.ets are sent ,e% % !rD) nas7B) etc%;or SIP) t&e followin para*eters can !e set( Parameter pro1' re istrar lo server e1tension interface Value IP address and port for t&e SIP pro1' server IP address and port for t&e SIP re istrar server IP address and port for lo in SIP *essa es P&one e1tension ,used onl' in co*!ination wit& SIP pro1'Interface na*e over w&ic& t&e M="P and voice pac.ets are sent ,e% % !rD) nas7B) etc%-

46

NO$E( $&e values for t&e SIP pro1') re istrar) and lo server s&ould &ave t&e for*at ipaddress[(port]% OP$IONS None%

47

WAN
NAME wan allow a user to confi ure t&e <AN interfaces for t&e DSL router SYNOPSIS wan confi 5port%vpi%vci8 [5connection Id8] [22protocol 5!rid e6pppoe6pppoa6*er6ipoa8] [22 encap 5llc6vc*u18] [22state 5ena!le6disa!le8] [22service 5servicena*e8] [22firewall 5ena!le6 disa!le8] [22nat 5ena!le6disa!le8] [22userna*e 5userna*e8 22password 5password8] [22 pppidleti*eout 5ti*eout8] [22pppipe1tension 5disa!le6ena!le8] [22ipaddr 5wanipaddress8 5wansu!net*as.] [22d&cpclient 5ena!le6disa!le8] wan delete 5port%vpi%vci8 wan s&ow [5port%vpi%vci8] wan 22&elp 5!rid e6pppoe6pppoa6*er6ipoa8 DES"#IP$ION

wan is used to confi ure t&e networ.in protocols for eac& <AN interface% "urrentl' eac& <AN interface occupies one A$M PC"% It does not support *ultiple PPPoE sessions on one A$M PC"% +efore usin t&is co**and) t&e A$M PC" of w&ic& t&e <AN interface is !ased on) *ust !e confi ured first !' usin t&e at* co**and% $&is co**and can( confi ure t&e protocol) encapsulation *ode over A$M PC") state) service na*e for eac& <AN interface% confi ure t&e userna*e) password) idle ti*eout) and PPP IP e1tension for a PPPoE or a PPPoA interface% confi ure t&e IP address and su!net *as. for a ME# or a IPoA interface% ena!lin NA$ or firewall for a ME# or IPoA interface% ena!le or disa!le t&e D3"P client for a ME# interface% delete t&e e1isted <AN interface ,it will not delete t&e A$M PC"-% s&ow A$M PC" and <AN interface su**ar' data and status% displa' usa e for <AN interface% All infor*ation is displa'ed to stdout% A pro ra* or s&ell script t&at calls t&is utilit' can redirect stdout to a file and t&en parse t&e file in order to interpret t&e displa'ed output% Note t&at special c&aracters are supported in all options of c&aracter strin t'pe%
"OMMANDS confi confi ure t&e <AN interface for t&e DSL router% Notice( t&e co**and onl' saves t&e confi uration data to t&e flas&) and does not ta.e effect until t&e s'ste* is re!ooted% delete re*ove t&e e1isted <AN interface% Notice( t&e co**and onl' saves t&e confi uration data to t&e flas&) and does not ta.e

48

effect until t&e s'ste* is re!ooted% s&ow s&ow A$M PC" CPI4C"I) service cate or') <AN interface service na*e) <AN interface na*e) <AN protocol) <AN interface service state) <AN interface up4down status) and <AN IP address% 22&elp displa' usa e for <AN interface% OP$IONS Options for t&e confi co**and wan confi 5port%vpi%vci8 [22protocol 5!rid e6pppoe6pppoa6*er6ipoa8] [22encap 5llc6 vc*u18] [22state 5ena!le6disa!le8] [22service 5servicena*e8] [22firewall 5ena!le6 disa!le8] [22nat 5ena!le6disa!le8] [22userna*e 5userna*e8 22password 5password8] [22pppidleti*eout 5ti*eout8] [22pppipe1tension 5disa!le6ena!le8] [22ipaddr 5wanipaddress8 5wansu!net*as.8] [22d&cpclient 5ena!le6disa!le8] 5port%vpi%vci8 port( port nu*!er of t&e A$M C"" to add% Calid values( D% vpi( CPI of t&e C"" to add% Calid values( D 2 7BB% Default value( D Cci( C"I of t&e C"" to add% Calid values( ?7 2 JBB?B% Default value( ?B% 5connection Id8 $&e connection ID identifies a <AN connection on a PC"% $o add a new <AN connection) connection Id s&ould !e o!*itted% $o edit an e1istent <AN connection) connection Id can !e !e specified to identif' a specific <AN connection% If o*itted) it is defaulted to !e >% Calid values( > G% Default value( > 22protocol 5!rid e6pppoe6pppoa6*er6ipoa8 $&e protocol of t&e <AN interface% Calid values( !rid e) pppoe) pppoa) *er) or ipoa% Default value( !rid e% 22encap 5llc6vc*u18 $&e encapsulation t'pe over t&e A$M PC"% Calid values( llc or vc*u1% llc 2 ;or *er) pppoe or !rid e) itLs #;"7JG: !rid ed encapsulation% ;or pppoa) itLs #;"7?J: LL"4NLPID encapsulation Cc*u1 2 #;"7JG: C"2MIS ,null encapsulation-% Default value( llc for !rid e) pppoe) *er) or ipoa% Cc*u1 for pppoa% 22state 5ena!le6disa!le8
4"

$&e service state of t&e <AN interface% Calid values( ena!le or disa!le% Default value( ena!le% 22service 5servicena*e8 $&e service na*e of t&e <AN interface% Calid values( strin s of ?7 c&aracters% Default value( 5protocol8M5vpi8M5vci8% 22firewall 5ena!le6disa!le8 $&e firewall state of t&e ME# or IPoA interface% Notice t&at firewall is alwa's ena!led on a PPPoE or a PPPoA interface% Calid values( ena!le or disa!le% Default value( ena!le% 22nat 5ena!le6disa!le8 $&e NA$ state of t&e ME# or IPoA interface% Notice t&at NA$ is alwa's ena!led on a PPPoE or a PPPoA interface% Calid values( ena!le or disa!le% Default value( ena!le% 22userna*e 5userna*e8 $&e lo in na*e of t&e PPPoE or PPPoA interface% $&is option is onl' applied to a PPPoE or PPPoA interface% $&e 22password option is also needed w&en t&is option is used% Calid values( strin of ?7 c&aracters% 22password 5password8 $&e password of t&e PPPoE or PPPoA interface% $&is option is onl' applied to a PPPoE or PPPoA interface% $&e 22userna*e option is also needed w&en t&is option is used% Calid values( strin of 7BJ c&aracters% 22pppidleti*eout 5ti*eout8 $&e PPP ti*eout of a PPPoE or PPPoA interface%$&is option is onl' applied to a PPPoE or PPPoA interface% Calid values( D >D@D ,*inutes-% D( PPP connection is alwa's2on% =reater t&an D( <AN traffic will !e *onitored and PPP connection will !e torn down w&en t&ere is no user data activit' over t&e <AN interface for *ore t&an t&is idle ti*e period% Default value( ?D *inutes% 22pppipe1tension 5disa!le6ena!le8 $&e PPP IP e1tension *ode of a PPPoE or PPPoA interface% $&is option is onl' applied to a PPPoE or PPPoA interface% Calid values( disa!le or ena!le% Default value( disa!le% 22ipaddr 5wanipaddress8 5wansu!net*as.8 $&e <AN IP address and <AN su!net *as. of a ME# or IPoA interface% $&is option s&ould onl' !e used for a ME# or IPoA interface% PPPoE and PPPoA
50

interface alwa's receives t&e IP address) su!*as. and DNS addresses auto*aticall' fro* t&e ISP t&rou & t&e PPP protocol% If t&is option is used and t&e d&cpclient value is /ena!le0) D3"P client will !e disa!led on t&is interface% In eneral principle) static confi uration overwrites d'na*icall' assi ned data% 5wanipaddress8 2 t&e <AN IP address% Calid values( an' valid IP address% 5wansu!net*as.8 2 t&e <AN su!net *as.% Calid values( D%D%D%> 2 7BB%7BB%7BB%7BB% 22d&cpclient 5ena!le6disa!le8 $&e D3"P client state of t&e ME# interface% $&is option is onl' valid to a ME# interface% D3"P client is not supported over an' ot&er t'pe of <AN interface% Calid values( ena!le or disa!le% Default value( ena!le% Options for t&e delete co**and wan delete 5port%vpi%vci8 [5connection Id8] 5port%vpi%vci8 port( port nu*!er of t&e C"" to add% Calid values( D% vpi( CPI of t&e C"" to add% Calid values( D 2 7BB% Default value( D vci( C"I of t&e C"" to add% Calid values( ?7 2 JBB?B% Default value( ?B% 5connection Id8 $&e nu*!er t&at identifies t&e e1isted <AN connection% If t&e connection Id is o!*itted) t&en its value is >% Calid values( > G% Default value( > Options for t&e s&ow co**and wan s&ow [5port%vpi%vci8] 5port%vpi%vci8 port( port nu*!er of t&e C"" to add% Calid values( D% vpi( CPI of t&e C"" to add% Calid values( D 2 7BB% Default value( D vci( C"I of t&e C"" to add% Calid values( ?7 2 JBB?B% Default value( ?B If 5port%vpi%vci8 is o!*itted t&en it will displa' su**ar' state of all e1istin <AN interfaces% Notice) confi uration needs to !e saved to t&e Per*anent Stora e first and t&en !eco*e effective after re!oot% $&e wan s&ow co**and s&ows t&e <AN interfaces after re!oot) t&e second sta e%
51

Options for t&e 22&elp co**and wan &elp [5!rid e6pppoe6pppoa6*er6ipoa8] 5!rid e6pppoe6pppoa6*er6ipoa8 Displa' onl' valid options for t&e specified protocol% If it is o!*itted t&en t&e &elp for all protocols is dipla'ed%

52

Potrebbero piacerti anche