.. _dellemc.enterprise_sonic.sonic_interfaces_module:
*****************************************
dellemc.enterprise_sonic.sonic_interfaces
*****************************************
**Configure Interface attributes on interfaces such as, Eth, LAG, VLAN, and loopback. (create a loopback interface if it does not exist.)**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Configure Interface attributes such as, MTU, admin statu, and so on, on interfaces such as, Eth, LAG, VLAN, and loopback. (create a loopback interface if it does not exist.)
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A list of interface configurations.
|
|
advertised_speed
list
/ elements=string
|
|
Advertised speeds of the interface.
Applicable only for Ethernet interfaces.
Supported speeds are dependent on the type of switch.
Speeds may be 10, 100, 1000, 2500, 5000, 10000, 20000, 25000, 40000, 50000, 100000, 400000 or 800000.
|
|
auto_negotiate
boolean
|
|
auto-negotiate transmission parameters with peer interface.
Applicable only for Ethernet interfaces.
|
|
autoneg_mode
string
added in 4.0.0
|
Choices:
- AUTONEG_MODE_BAM
- AUTONEG_MODE_MSA
|
BAM/MSA configuration for autonegotiation
Applicable only for Ethernet interfaces.
auto_negotiate should be set to true to configure autoneg_mode
with auto_negotiate set to true , autoneg_mode defaults to BAM
|
|
description
string
|
|
Description about the interface.
|
|
enabled
boolean
|
|
Administrative state of the interface.
|
|
fec
string
|
Choices:
- FEC_RS
- FEC_FC
- FEC_DISABLED
- FEC_DEFAULT
- FEC_AUTO
|
Interface FEC (Forward Error Correction).
Applicable only for Ethernet interfaces.
|
|
mtu
integer
|
|
MTU of the interface.
Not applicable for Loopback interfaces.
|
|
name
string
/ required
|
|
The name of the interface, for example, 'Eth1/15'.
|
|
speed
string
|
Choices:
- SPEED_10MB
- SPEED_100MB
- SPEED_1GB
- SPEED_2500MB
- SPEED_5GB
- SPEED_10GB
- SPEED_20GB
- SPEED_25GB
- SPEED_40GB
- SPEED_50GB
- SPEED_100GB
- SPEED_200GB
- SPEED_400GB
- SPEED_800GB
|
Interface speed.
Applicable only for Ethernet interfaces.
Supported speeds are dependent on the type of switch.
|
|
unreliable_los
string
|
Choices:
- UNRELIABLE_LOS_MODE_ON
- UNRELIABLE_LOS_MODE_OFF
- UNRELIABLE_LOS_MODE_AUTO
|
Monitoring type to be used for generating a loss of service alarm.
|
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
|
The state the configuration should be left in.
|