set internet-connection

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 <is-unnumbered-pppoe> ] [ vpi <vpi> ] [ vci <vci> ] [ encapsulation <encapsulation> ] [ method <method> ] [ idle-time <idle-time> ] [ standard <standard> ] | ipoe-dynamic [ { use-connection-as-vlan } vlan-id <vlan-id> ] [ vpi <vpi>] [ vci <vci> ] [ encapsulation <encapsulation> ] | 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 <encapsulation> ] }

Parameters

Parameter

Description

default-gw

Default gateway

Type: IP address

dns-primary

First DNS server IP address

Type: IP address

dns-secondary

Second DNS server IP address

Type: IP address

dns-tertiary

Third DNS server IP address

Type: IP address

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

idle-time

Disconnect idle time

Type: A number with no fractional part (integer)

ipv4-address

IP address field (for static IP and bridge settings)

Type: IP address

is-unnumbered-pppoe

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

Type: Boolean (true/false)

isVlan

isVlan

Type: Boolean (true/false)

local-ipv4-address

Local tunnel IP address or Auto for automatic

Type: An IP address, or 'auto'

mask-length

Subnet mask length

Type: A string that contains numbers only

method

Authentication method

Options: auto, pap, chap

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

standard

The ADSL standard to use

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

subnet-mask

Subnet mask

Type: A subnet mask, or 255.255.255.255

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quotelike

characters. Usually <username>@<ISP>

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

Example

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