config system interface
Description: Configure system interface settings.
config system interface
edit <name>
set *type [loopback | virtual-wan | vlan | capwap | dummy]
set status [up| down]
set mode [static | dhcp]
set ip {ipv4-address}
set gateway {ipv4-address}
set mtu-override [enable | disable]
set mtu [512-1500] *available when mtu-override is set to enable
set distance [1 – 512]
set vrrp-virtual-mac [enable | disable]
set allowaccess {option1}, {option2}, ...
set security-mode [none|captive-portal]
set security-external-web {string}
set security-groups <name1>, <name2>, ...
set security-exempt-list {string}
set security-exempt-list6 {string}
set security-redirect-url {string}
set defaultgw [enable | disable] *available when mode is set to dhcp
set dns-server-override [enable | disable] *available when mode is set to dhcp
set redundant-by [priority | cost] *available when type is set to virtual-wan
set algorithm [redundant | WRR] *available when type is set to virtual-wan
set FEC [source_ip | dest_ip | source_dest_ip_pair | connection] *available when type is set to virtual-wan
set session-timeout [0 – 86400] *available when type is set to virtual-wan
set grace-period [0 – 10000000] *available when type is set to virtual-wan
set members <name1>, <name2>, …*available when type is set to virtual-wan
set rid [1 | 2] *available when type is set to capwap
set *vid [1 – 4089] *available when type is set to vlan
set *ingress-intf <name1>
unset
| Parameter | Description | Type | Size | Default | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| type | Interface type. | option | - | none | ||||||||||||
|
||||||||||||||||
| status | Interface status. | option | - | up | ||||||||||||
|
||||||||||||||||
| mode | Addressing mode. | option | - | static | ||||||||||||
|
||||||||||||||||
| ip | Interface IP address and subnet mask (in x.x.x.x/24 format). | IPv4 address | - | none | ||||||||||||
| gateway | Interface's connected gateway. | string | - | none | ||||||||||||
|
mtu-override |
Status of MTU override. |
option |
- |
disable |
||||||||||||
|
|
|
|||||||||||||||
|
mtu |
MTU value for the interface. |
integer |
512 - 1500 |
1500 |
||||||||||||
|
distance |
Route metric of the interface gateway. |
integer |
1 - 512 |
5 |
||||||||||||
|
vrrp-virtual-mac |
Use of virtual MAC for VRRP. |
option |
- |
disable |
||||||||||||
|
|
|
|||||||||||||||
|
allowaccess |
Types of management access allowed to this interface. |
option |
- |
none |
||||||||||||
|
security-mode |
Turn on captive portal authentication for this interface. |
option |
- |
none |
||||||||||||
|
|
|
|||||||||||||||
|
security-external-web |
URL of external authentication web server. |
string |
Maximum length: 255 |
- |
||||||||||||
|
security-groups |
Names of user groups that can authenticate with the captive portal. |
option |
- |
- | ||||||||||||
|
security-exempt-list |
Name of security-exempt-list. |
option |
- |
- | ||||||||||||
|
security-exempt-list6 |
Name of security-exempt-list6. |
option |
- |
- | ||||||||||||
|
security-redirect-url |
URL redirection after disclaimer/authentication. |
string |
Maximum length: 255 |
- | ||||||||||||
|
defaultgw |
Ability to get the gateway IP from the DHCP server. |
option |
- |
enable |
||||||||||||
|
|
|
|||||||||||||||
|
dns-server-override |
Use DNS acquired by DHCP. |
option |
- |
enable |
||||||||||||
|
|
|
|||||||||||||||
|
redundant-by |
Use of the benchmark for redundant algorithm. |
option |
- |
priority |
||||||||||||
|
|
|
|||||||||||||||
|
algorithm |
LLB algorithm. |
option |
- |
redundant |
||||||||||||
|
|
|
|||||||||||||||
|
FEC |
Forward equivalence class. |
option |
- |
source_ip |
||||||||||||
|
|
|
|||||||||||||||
|
session-timeout |
FEC session timeout in seconds. |
integer |
0 - 86400 |
60 |
||||||||||||
|
grace-period |
Grace period measured in seconds before failback. |
integer |
0 - 10000000 |
0 |
||||||||||||
|
members |
Link members of virtual WAN. |
option |
- |
none |
||||||||||||
|
rid |
CAPWAP virtual interface ID. |
integer |
1, 2 |
1 |
||||||||||||
|
vid |
VLAN ID. |
integer |
1 - 4089 |
0 |
||||||||||||
|
ingress-intf |
CAPWAP or VLAN interface's parent interface. |
option |
- |
none |
||||||||||||
|
|
|
|||||||||||||||
|
Sfp-dsl |
sfp-dsl status |
option |
- |
disable |
||||||||||||
|
|
|
|||||||||||||||
|
Autodect |
Enable/disable sfp-dsl auto-detect. |
option |
- |
enable |
||||||||||||
|
Phy-mode |
DSL physical mode. |
option |
- |
vdsl |
||||||||||||
|
|
|
|||||||||||||||