config interface
Table of Contents
Expand all | Collapse all
-
-
- clear app-engine
- clear app-map dynamic
- clear app-probe prefix
- clear connection
- clear device account-login
- clear dhcplease
- clear dhcprelay stat
- clear flow and clear flows
- clear flow-arp
- clear qos-bwc queue-snapshot
- clear routing
- clear routing multicast statistics
- clear routing ospf
- clear routing peer-ip
- clear switch mac-address-entries
- clear user-id agent statistics
-
- arping interface
- curl
- ping
- ping6
- debug bounce interface
- debug bw-test src-interface
- debug cellular stats
- debug controller reachability
- debug flow
- debug ipfix
- debug log agent eal file log
- debug logging facility
- debug logs dump
- debug logs follow
- debug logs tail
- debug poe interface
- debug process
- debug reboot
- debug routing multicast log
- debug routing multicast pimd
- debug servicelink logging
- debug tcpproxy
- debug time sync
- debug performance-policy
- dig dns
- dig6
- file export
- file remove
- file space available
- file tailf log
- file view log
- ssh6 interface
- ssh interface
- tcpdump
- tcpping
- traceroute
- traceroute6
-
- dump appdef config
- dump appdef version
- dump app-engine
- dump app-l4-prefix table
- dump app-probe config
- dump app-probe flow
- dump app-probe prefix
- dump app-probe status
- dump auth config
- dump auth status
- dump banner config
- dump bfd status
- dump bypass-pair config
- dump cellular config
- dump cellular stats
- dump cellular status
- dump cgnxinfra status
- dump cgnxinfra status live
- dump cgnxinfra status store
- dump config network
- dump config security
- dump controller cipher
- dump controller status
- dump device accessconfig
- dump device conntrack count
- dump device date
- dump device info
- dump device status
- dump dhcp-relay config
- dump dhcprelay stat
- dump dhcp-server config
- dump dhcp-server status
- dump dhcpstat
- dump dnsservice config all
- dump dpdk cpu
- dump dpdk interface
- dump dpdk port status
- dump dpdk stats
- dump flow
- dump flow count-summary
- dump interface config
- dump interface status
- dump interface status interface details
- dump interface status interface module
- dump ipfix config collector-contexts
- dump ipfix config derived-exporters
- dump ipfix config filter-contexts
- dump ipfix config ipfix-overrides
- dump ipfix config prefix-filters
- dump ipfix config profiles
- dump ipfix config templates
- dump lldp
- dump lldp config
- dump lldp info
- dump lldp stats
- dump lldp status
- dump log-agent eal conn
- dump log-agent eal response-time
- dump log-agent eal stats
- dump log-agent config
- dump log-agent iot snmp config
- dump log-agent iot snmp device discovery stats
- dump log-agent ip mac bindings
- dump log-agent neighbor discovery stats
- dump log-agent status
- dump ml7 mctd counters
- dump ml7 mctd session
- dump ml7 mctd version
- dump nat counters
- dump nat summary
- dump network-policy config policy-rules
- dump network-policy config policy-sets
- dump network-policy config policy-stacks
- dump network-policy config prefix-filters
- dump overview
- dump performance-policy config policy-rules
- dump performance-policy config policy-sets
- dump performance-policy config policy-set-stacks
- dump performance-policy config threshold-profile
- dump poe system config
- dump poe system status
- dump priority-policy config policy-rules
- dump priority-policy config policy-sets
- dump priority-policy config policy-stacks
- dump priority-policy config prefix-filters
- dump probe config
- dump probe profile
- dump radius config
- dump radius statistics
- dump radius status
- dump reachability-probe config
- dump qos-bwc config
- dump reachability-probe status
- dump routing aspath-list
- dump routing cache
- dump routing communitylist
- dump routing multicast config
- dump routing multicast igmp
- dump routing multicast interface
- dump routing multicast internal vif-entries
- dump routing multicast mroute
- dump routing multicast pim
- dump routing multicast sources
- dump routing multicast statistics
- dump routing multicast status
- dump routing ospf
- dump routing peer advertised routes
- dump routing peer config
- dump routing peer neighbor
- dump routing peer received-routes
- dump routing peer routes
- dump routing peer route-via
- dump routing peer status
- dump routing peer route-json
- dump routing prefixlist
- dump routing prefix-reachability
- dump routing route
- dump routing routemap
- dump routing running-config
- dump routing summary
- dump routing static-route reachability-status
- dump routing static-route config
- dump security-policy config policy-rules
- dump security-policy config policy-set
- dump security-policy config policy-set-stack
- dump security-policy config prefix-filters
- dump security-policy config zones
- dump sensor type
- dump sensor type summary
- dump serviceendpoints
- dump servicelink summary
- dump servicelink stats
- dump servicelink status
- dump site config
- dump snmpagent config
- dump snmpagent status
- dump software status
- dump spoke-ha config
- dump spoke-ha status
- dump standingalarms
- dump static-arp config
- dump static host config
- dump static routes
- dump support details
- dump-support
- dump switch fdb vlan-id
- dump switch port status
- dump switch vlan-db
- dump syslog config
- dump syslog-rtr stats
- dump syslog status
- dump time config
- dump time log
- dump time status
- dump troubleshoot message
- dump user-id agent config
- dump user-id agent statistics
- dump user-id agent status
- dump user-id agent summary
- dump user-id groupidx
- dump user-id group-mapping
- dump user-id ip-user-mapping
- dump user-id statistics
- dump user-id status
- dump user-id summary
- dump user-id useridx
- dump vlan member
- dump vpn count
- dump vpn ka all
- dump vpn ka summary
- dump vpn ka VpnID
- dump vpn status
- dump vpn summary
- dump vrf
- dump waninterface config
- dump waninterface summary
-
- inspect app-flow-table
- inspect app-l4-prefix lookup
- inspect app-map
- inspect certificate
- inspect certificate device
- inspect cgnxinfra role
- inspect connection
- inspect dhcplease
- inspect dhcp6lease
- inspect dpdk ip-rules
- inspect dpdk vrf
- inspect fib
- inspect fib-leak
- inspect flow-arp
- inspect flow brief
- inspect flow-detail
- inspect flow internal
- inspect interface stats
- inspect ipfix exporter-stats
- inspect ipfix collector-stats
- inspect ipfix app-table
- inspect ipfix wan-path-info
- inspect ipfix interface-info
- inspect ip-rules
- inspect ipv6-rules
- inspect lqm stats
- inspect memory summary
- inspect network-policy conflicts
- inspect network-policy dropped
- inspect network-policy hits policy-rules
- inspect network-policy lookup
- inspect performance-policy fec status
- inspect policy-manager status
- inspect policy-mix lookup-flow
- inspect priority-policy conflicts
- inspect priority-policy dropped
- inspect priority-policy hits default-rule-dscp
- inspect priority-policy hits policy-rules
- inspect priority-policy lookup
- inspect performance-policy incidents
- inspect performance-policy lookup
- inspect performance-policy hits analytics
- inspect process status
- inspect qos-bwc debug-state
- inspect qos-bwc queue-history
- inspect qos-bwc queue-snapshot
- inspect routing multicast fc site-iface
- inspect routing multicast interface
- inspect routing multicast mroute
- inspect security-policy lookup
- inspect security-policy size
- inspect switch mac-address-table
- inspect system arp
- inspect system ipv6-neighbor
- inspect system vrf
- inspect vrf
- inspect wanpaths
-
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 |
|
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