set internet-connection type pptp

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Configures settings for an existing internet connection.

Syntax

set internet-connection "<name>" type pptp username <username> { password <password> | password-hash <password-hash> } [ local-ipv4-address <local-ipv4-address> ] server <server> [ local-ipv4-address <local-ipv4-address> ] [ wan-ipv4-address <wan-ipv4-address> { wan-subnet-mask <wan-subnet-mask> | wan-mask-length <wan-mask-length> } default-gw <default-gw> ]

Parameters

Parameter

Description

name

Connection name

type

Connection type

Press the TAB key to see the available options.

ipv4-address

IP address field (for static IP and bridge settings)

mask-length

Subnet mask length

subnet-mask

Subnet mask

A subnet mask, or 255.255.255.255

default-gw

Default gateway

local-ipv4-address

Local tunnel IP address or Auto for automatic

An IP address, or 'auto'

server

Server IP address

password

Password for PPP connection or cellular modem settings

password-hash

The hash of the user password

username

User name for PPP connection or cellular modem settings

Usually <username>@<ISP>

wan-ipv4-address

WAN IP address wrapper

An IP address, or 'auto'

wan-mask-length

WAN subnet mask length

wan-subnet-mask

WAN subnet mask (in the advanced section)

vci

VCI value for the ADSL connection

A number between 0 and 65535

vpi

VPI value for the ADSL connection

A number between 0 and 255

encapsulation

Encapsulation type for the ADSL connection