set internet-connection type pppoe / ipoe

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

Description

Configures advanced settings for an existing internet connection.

This command is available only for hardware that contains a DSL port.

Syntax

set internet-connection "<name>" type pppoe [ username <username> ] [ { password <password> | password-hash <password-hash> } ] [ use-connection-as-vlan vlan-id <vlan-id> ] [ local-ipv4-address <local-ipv4-address> ] [ is-unnumbered-pppoe {true | false} ] [ vpi <vpi> ] [ vci <vci> ] [ encapsulation {llc | vcmux} ] [ method <method> ] [ idle-time <idle-time> ] [ standard <standard> ]

set internet-connection "<name>" type ipoe-static ipv4-address <ipv4-address> { subnet-mask <subnet-mask> | mask-length <mask-length> } default-gw <default-gw>[ dns-primary <dns-primary>] [ dns-secondary <dns-secondary> ] [ dns-tertiary <dns-tertiary> ] [ use-connection-as-vlan vlan-id <vlan-id> ] [ vpi <vpi> ] [ vci <vci> ] [ encapsulation {llc | vcmux} ]

set internet-connection "<name>" type ipoe-dynamic [ use-connection-as-vlan vlan-id <vlan-id> ] [ vpi <vpi>] [ vci <vci> ] [ encapsulation {llc | vcmux} ]

Parameters

Parameter

Description

name

Connection name

type

Connection type

Press TAB to see available options

default-gw

Default gateway

dns-primary

First DNS server IP address

dns-secondary

Second DNS server IP address

dns-tertiary

Third DNS server IP address

idle-time

Disconnect idle time in seconds

ipv4-address

IP address field (for static IP and bridge settings)

is-unnumbered-pppoe

Unnumbered PPPoE lets you manage a range of IP addresses and dial only once

username

User name for PPP connection or cellular modem settings

Usually <username>@<ISP>

password

Password for PPP connection or cellular modem settings

password-hash

The hash of the user password

local-ipv4-address

Local tunnel IP address or Auto for automatic

An IP address, or 'auto'

mask-length

Subnet mask length

subnet-mask

Subnet mask

A subnet mask, or 255.255.255.255

isVlan

This interface is VLAN

method

Authentication method

Options: auto, pap, chap

encapsulation

Encapsulation type for the ADSL connection

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

vlan-id

VLAN ID

A number with no fractional part (integer)

standard

The ADSL standard to use

Options: multimode, t1413, glite, gdmt, adsl2, adsl2+

Example Command

set internet-connection "My connection" type pppoe username MyUsername@MyISP password internetPassword true vlan-id 200 local-ipv4-address auto is-unnumbered-pppoe true vpi 42 vci 42 encapsulation llc method auto idle-time 60 standard multimode