: config interface
Focus
Focus
Table of Contents

config interface

Use the
config interface
command to configure a physical or a logical interface and consists of sub-commands—create a point to point protocol over ethernet (PPPoE) interface on a parent physical interface, update PPPoE interface details, configure the LLDP state of a selected interface, configure or enable the PoE threshold of a selected interface.
PPPoE option is only available for preclaimed or unclaimed devices.

Command

config interface interface-number (pppoe | ip | ip6 | mode | mtu | usedfor= (none | private | public | private-l2) | enabled = (false | true))
config interface (cellular1 | cellular2) (apn (auto-apn | name) | iptype (ipv4 | ipv6 | ipv4v6)| mtu | enabled= (false | true))
config interface interface-number ipv6 (autoconf | static address= | pppoe | none)
config interface <id> lldp state=(rxonly or txrx)
config interface <id> poe enabled=true-usage-threshold 60

Options

pppoe
description
Enter a description for the PPPoE interface.
pppoeuser
Enter the challenge handshake authentication protocol (CHAP) or password authentication protocol (PAP) user name for PPPoE authentication.
pppoepasswd
Enter the CHAP or PAP password for PPPoE authentication.
servicename
Enter the name of the PPPoE service provider for connection. A WAN network has multiple service providers and select the service name field.
adddress
Enter the IP address of the remote shim.
gw
Enter the IP address of the Gateway.
reconnectdelay
Enter a value for delay (in seconds) for PPPoE reconnection.
hostuniq
Enter an even-sized hexadecimal number to set a value for Host-Uniq.
ip
static
gw - Enter the IP address for the gateway.
dns - Enter the DNS address.
address - Enter the static IP address of the interface.
dhcp
hostname - Enter a single hostname or comma separated multiple hostnames.
clientid - Enter the DHCP client identity.
pppoe
Select pppoe to configure a PPPoE interface.
none
Enter none to reset previously entered information.
ipv6
static
gw - Enter the IP address for the gateway.
dns - Enter the DNS address.
address - Enter the static IP address of the interface.
autoconf
Indicates the Global IP address is derived using stateless address autoconfiguration (SLAAC).
Release 6.2.1
pppoe
Select pppoe to configure a PPPoE interface.
Release 6.2.1
none
Enter none to reset previously entered information.
Release 6.2.1
mode
auto
Select auto for automatic negotiation.
speed
Select speed as 10, 100 or 1000 MBPS.
duplex
Select duplex for duplex negotiation.
mtu
Enter a number between 552-1500. The default value is 1500.
usedfor
none
Enter none when interface is used as a controller port (just for connecting to controller).
private
Enter private to configure the interface for a private WAN.
public
Enter public to configure the interface for a public network.
private-l2
Enter private-l2 to configure an L2 interface as part of a bypass pair.
enabled
true
Enter true to enable the interface.
false
Enter false to disable the interface.
Cellular Interfaces
apn
auto-apn
When you select auto-apn, default carrier APN is automatically detected and the device connects using auto-APN profile.
name=
Enter the name of the APN profile. Optional parameters are auth-type (pap, chap, pap/chap), username, and password.
iptype
ipv4/ipv6/ipv4v6
Configure cellular iptype options IPv4 / IPv4v6 on the cellular interface. In case of IPv4v6, devices can run IPv4 and IPv6 in parallel.
Release 6.1.1
mtu
MTU number must be between 552-1428 for IPv4 and 1280-1428 for IPv6. The default value is 1428.
enabled=
false
Enter false to disable the cellular interface.
true
Enter true to enable the cellular interface.
lldp state
All non-PoE ports are set to receive-only mode and PoE ports are set to transmit and receive mode.
rxonly
LLDP packets in receive only mode.
txrx
LLDP packets in transmit and receive mode.
poe
Configure PoE ports.
enabled=
Enter true to enable or false to disable the PoE port.
usage threshold
Enter a usage threshold percentage.

Command Notes

Role
Super
Related Commands
dump interface config
Introduced in
Release 4.5.1

Example

config interface controller1 ip dhcp config interface 3 pppoe pppoeuser=root pppoepasswd=pass config interface config interface 2 ip static address=10.10.10.252
config interface cellular1 apn name=test auth-type=pap username=test1 password=test2
config interface cellular1 iptype version=ipv4
config interface cellular1 iptype version=ipv6
config interface cellular1 iptype version=ipv4v6
config interface 5 ipv6 static address=2001:10:3:5::100/64 gw=2001:10:3:5::1 dns=2001:4860:4860::8888

Recommended For You