set interface-type internal-interface-name

In the R81.10.X releases, this command is available in these versions:

  • R81.10.10 Build 996002945 and higher

  • R81.10.15 and higher

Description

Configure interfaces by their internal names.

For example, when working with Wireless interfaces, instead of specifying their SSID name, you can specify their internal names wlan0, wlan1, and so on.

See:

Syntax

set interface-type <Internal Name of Interface> ipv4-address <IPv4-Address> {mask-length <Mask-Length> | subnet-mask <Subnet-Mask>} default-gw <IPv4-Address> [dns-primary <IPv4-Address> [dns-secondary <IPv4-Address>] [dns-tertiary <IPv4-Address>]]

Parameters

Parameter

Description

interface-type

Specifies the internal name of the interface.

Press the TAB key to see the available options.

ipv4-address

Specifies the IPv4 address for the interface.

mask-length

Specifies the mask length for the interface (for example, 24).

subnet-mask

Specifies the subnet mask for the interface (for example, 255.255.255.0).

default-gw

Specifies the IPv4 address of the default gateway.

dns-primary

Specifies the IPv4 address of the Primary DNS server.

dns-secondary

Specifies the IPv4 address of the Secondary DNS server.

dns-tertiary

Specifies the IPv4 address of the Tertiary DNS server.

Example Command

set interface-type wlan0 192.168.22.33 mask-lenght 24 default-gw 192.168.22.1 dns-primary 192.168.22.100