add internet-connection interface DMZ - RJ45/SFP-Fiber

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

Description

Add a DMZ interface connection of type RJ45/SFP fiber.

See set internet-connection dmz-connection rj45/sfp-fiber / sfp-dsl.

RJ45/SFP-Fiber - Static IP Address

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type static default-gw <default-gw> ipv4-address <ipv4-address> subnet-mask <subnet-mask> { dns-primary <dns-primary> dns-secondary <dns-secondary> dns-tertiary <dns-tertiary> } { use-connection-as-vlan vlan-id <vlan-id>} { conn-test-timeout <conn-test-timeout> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and L2TP)

dns-primary

First DNS server IP address

dns-secondary

Second DNS server IP address

dns-tertiary

Third DNS server IP address

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

vlan-id

VLAN ID

A number with no fractional part (integer)

conn-test-timeout

Connection test timeout

A number with no fractional part (integer)

RJ45/SFP-Fiber - DHCP - VLAN

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type dhcp { use-connection-as-vlan vlan-id <vlan-id> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

vlan-id

VLAN ID

A number with no fractional part (integer)

RJ45/SFP-Fiber - Bridge - DHCP

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type bridge bridge-name <bridge-name> bridge-type dhcp { use-connection-as-vlan vlan-id <vlan-id> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

vlan-id

VLAN ID

A number with no fractional part (integer)

conn-test-timeout

Connection test timeout

A number with no fractional part (integer)

RJ45/SFP-Fiber - Bridge - Static IP Address

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type bridge bridge-name <bridge-name> bridge-type static

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

bridge-name

Name of the bridge interface

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

RJ45/SFP-Fiber - L2TP

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type l2tp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-subnet-mask <wan-mask-length> default-gw <default-gw> } { local-ipv4-address <local-ipv4-address> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and L2TP)

local-ipv4-address

Local tunnel IP address or Auto for automatic

An IP address, or 'auto'

password

Password for PPP connection or cellular modem settings

password-hash

The hash of the user password

server

Server IP address

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)

vlan-id

VLAN ID

A number with no fractional part (integer)

conn-test-timeout

Connection test timeout

A number with no fractional part (integer)

RJ45/SFP-Fiber - PPPoE

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type pppoe username <username> password <password> { is-unnumbered-pppoe {true | false} local-ipv4-address <local-ipv4-address> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

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

is-unnumbered-pppoe

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

local-ipv4-address

Local tunnel IP address or Auto for automatic

An IP address, or 'auto'

vlan-id

VLAN ID

A number with no fractional part (integer)

conn-test-timeout

Connection test timeout

A number with no fractional part (integer)

RJ45/SFP-Fiber - PPTP

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection rj45/sfp-fiber type pptp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-subnet-mask <wan-subnet-mask> default-gw <default-gw> } { local-ipv4-address <local-ipv4-address> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

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>

local-ipv4-address

Local tunnel IP address or Auto for automatic

An IP address, or 'auto'

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)

default-gw

WAN default gateway (in the advanced section of PPTP and L2TP)

isVlan

This interface is VLAN

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

dns-primary

First DNS server IP address

dns-secondary

Second DNS server IP address

dns-tertiary

Third DNS server IP address

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)

con-test-timeout

Connection test timeout

A number with no fractional part (integer)

standard

The ADSL standard to use

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

Example Command

add internet-connection name "My connection" interface DMZ dmz-connection rj45/sfp-fiber type static ipv4-address 172.15.47.4 subnet-mask 255.255.255.0 default-gw 172.15.2.2