![GreatSpeed GS-R250S Plus/Duo Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/greatspeed/gs-r250s-plus-duo/gs-r250s-plus-duo_installation-manual-and-command-reference_2259962052.webp)
52
GS-R250S Installation Guide
Experience the Internet @ GreatSpeed
Example:
Dial -in:
Mymachine > ip device add ether ether //edd 192.168.4.254
!
Mymachine > ip device add ppp_device ether //ppp/DEVICE=2 192.168.1.254
!
Mymachine > ppp user add peter pwd telecom chap
!
(user name :peter , password : telecom”)
!
Mymachine > ppp 2 pvc 0 35 ip listen
!
Mymachine > ppp 2 interface 2
!
Mymachine > ppp 2 remoteip 192.168.1.1
!
Mymachine > ppp 2 theylogin chap
!
Mymachine > ppp 2 enable
!
Mymachine > ip relay all
!
Mymachine > config save
!
Mymachine > restart
!
• they login
> <channel> they login pap|chap|none
!
This command describes how we requires the far end to login on this channel.
This command specifies that when using this channel , the user must log on using the specified protocol, and
that they must provide any name/password combination which has been defined for that protocols, using the
user command.
To remove this information on a channel , call theylogin with a single argument of none.
By default no login is required.
Configuration saving saves this information.
Example: see
remoteip
• tunnel
> <channel> tunnel <n> <tunnel protocol> <dial direction>
!
Logically associated the specified channel with the specified tunnel. A single PPP channel can only be associated
with a single interface, or a single tunnel. Use info to find the current setting.
Calling with n=0 removes any association . This is the default state. The possible tunnel protocols are : pptp
and l2tp.
The dial direction may be : in or out for dial-in or dial-out respectively.
Configuration saving saves this information.
Example:
Mymachine : ppp 3 tunnel 1 pptp out
!
• welogin
> <channel> welogin <name> <password> [pap|chap]
!
This command describes how we should login to the far end when a connection is established.
A name and password are supplied , and whether these should be used with the PAP or CHAP authentication
protocol . CHAP is the default. To remove this information on a channel, call welogin with a single argument
none.
If chap is specified, we will also log in using pap if the other end prefers this. If pap is specified we will only log
in using pap.
By default no login is performed.
Configuration saving saves this information.
Example:
Mymachine > ppp 1 welogin peter telecom chap
!