1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceEthernet
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.InterfaceEthernet

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.InterfaceEthernet("test", {
        factoryName: "sfp-sfpplus8",
        mtu: 9000,
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.InterfaceEthernet("test",
        factory_name="sfp-sfpplus8",
        mtu=9000)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := routeros.NewInterfaceEthernet(ctx, "test", &routeros.InterfaceEthernetArgs{
    			FactoryName: pulumi.String("sfp-sfpplus8"),
    			Mtu:         pulumi.Float64(9000),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Routeros.InterfaceEthernet("test", new()
        {
            FactoryName = "sfp-sfpplus8",
            Mtu = 9000,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.InterfaceEthernet;
    import com.pulumi.routeros.InterfaceEthernetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new InterfaceEthernet("test", InterfaceEthernetArgs.builder()
                .factoryName("sfp-sfpplus8")
                .mtu(9000)
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:InterfaceEthernet
        properties:
          factoryName: sfp-sfpplus8
          mtu: 9000
    

    Create InterfaceEthernet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InterfaceEthernet(name: string, args: InterfaceEthernetArgs, opts?: CustomResourceOptions);
    @overload
    def InterfaceEthernet(resource_name: str,
                          args: InterfaceEthernetArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceEthernet(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          factory_name: Optional[str] = None,
                          loop_protect: Optional[str] = None,
                          loop_protect_send_interval: Optional[str] = None,
                          advertise: Optional[str] = None,
                          arp: Optional[str] = None,
                          arp_timeout: Optional[str] = None,
                          auto_negotiation: Optional[bool] = None,
                          bandwidth: Optional[str] = None,
                          cable_settings: Optional[str] = None,
                          combo_mode: Optional[str] = None,
                          mac_address: Optional[str] = None,
                          disable_running_check: Optional[bool] = None,
                          disabled: Optional[bool] = None,
                          ___path_: Optional[str] = None,
                          fec_mode: Optional[str] = None,
                          full_duplex: Optional[bool] = None,
                          interface_ethernet_id: Optional[str] = None,
                          l2mtu: Optional[float] = None,
                          ___id_: Optional[float] = None,
                          ___skip_: Optional[str] = None,
                          loop_protect_disable_time: Optional[str] = None,
                          comment: Optional[str] = None,
                          mdix_enable: Optional[bool] = None,
                          mtu: Optional[float] = None,
                          name: Optional[str] = None,
                          poe_lldp_enabled: Optional[bool] = None,
                          poe_out: Optional[str] = None,
                          poe_priority: Optional[float] = None,
                          poe_voltage: Optional[str] = None,
                          power_cycle_interval: Optional[str] = None,
                          power_cycle_ping_address: Optional[str] = None,
                          power_cycle_ping_enabled: Optional[bool] = None,
                          power_cycle_ping_timeout: Optional[str] = None,
                          rx_flow_control: Optional[str] = None,
                          sfp_ignore_rx_los: Optional[bool] = None,
                          sfp_rate_select: Optional[str] = None,
                          sfp_shutdown_temperature: Optional[float] = None,
                          speed: Optional[str] = None,
                          tx_flow_control: Optional[str] = None)
    func NewInterfaceEthernet(ctx *Context, name string, args InterfaceEthernetArgs, opts ...ResourceOption) (*InterfaceEthernet, error)
    public InterfaceEthernet(string name, InterfaceEthernetArgs args, CustomResourceOptions? opts = null)
    public InterfaceEthernet(String name, InterfaceEthernetArgs args)
    public InterfaceEthernet(String name, InterfaceEthernetArgs args, CustomResourceOptions options)
    
    type: routeros:InterfaceEthernet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InterfaceEthernetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InterfaceEthernetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InterfaceEthernetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceEthernetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceEthernetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InterfaceEthernet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The InterfaceEthernet resource accepts the following input properties:

    FactoryName string
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    string
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    AutoNegotiation bool
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    Bandwidth string
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    CableSettings string
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    ComboMode string
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    Comment string
    DisableRunningCheck bool
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    Disabled bool
    FecMode string
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    FullDuplex bool
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    InterfaceEthernetId string
    L2mtu double
    Layer2 Maximum transmission unit. See.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    MacAddress string
    Media Access Control number of an interface.
    MdixEnable bool
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    Mtu double
    Layer3 Maximum transmission unit
    Name string
    Name of the ethernet interface.
    PoeLldpEnabled bool
    An option that enables LLDP for managing devices.
    PoeOut string
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoePriority double
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoeVoltage string
    An option that allows us to manually control the voltage outputs on the PoE port.
    PowerCycleInterval string
    An options that disables PoE-Out power for 5s between the specified intervals.
    PowerCyclePingAddress string
    An address to monitor.
    PowerCyclePingEnabled bool
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    PowerCyclePingTimeout string
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    RxFlowControl string
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    SfpIgnoreRxLos bool
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    SfpRateSelect string
    Allows to control rate select pin for SFP ports. Values: high | low
    SfpShutdownTemperature double
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    Speed string
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    TxFlowControl string
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    FactoryName string
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    string
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    AutoNegotiation bool
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    Bandwidth string
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    CableSettings string
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    ComboMode string
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    Comment string
    DisableRunningCheck bool
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    Disabled bool
    FecMode string
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    FullDuplex bool
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    InterfaceEthernetId string
    L2mtu float64
    Layer2 Maximum transmission unit. See.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    MacAddress string
    Media Access Control number of an interface.
    MdixEnable bool
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    Mtu float64
    Layer3 Maximum transmission unit
    Name string
    Name of the ethernet interface.
    PoeLldpEnabled bool
    An option that enables LLDP for managing devices.
    PoeOut string
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoePriority float64
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoeVoltage string
    An option that allows us to manually control the voltage outputs on the PoE port.
    PowerCycleInterval string
    An options that disables PoE-Out power for 5s between the specified intervals.
    PowerCyclePingAddress string
    An address to monitor.
    PowerCyclePingEnabled bool
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    PowerCyclePingTimeout string
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    RxFlowControl string
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    SfpIgnoreRxLos bool
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    SfpRateSelect string
    Allows to control rate select pin for SFP ports. Values: high | low
    SfpShutdownTemperature float64
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    Speed string
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    TxFlowControl string
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    factoryName String
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    String
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    autoNegotiation Boolean
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth String
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cableSettings String
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    comboMode String
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment String
    disableRunningCheck Boolean
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled Boolean
    fecMode String
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    fullDuplex Boolean
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interfaceEthernetId String
    l2mtu Double
    Layer2 Maximum transmission unit. See.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    macAddress String
    Media Access Control number of an interface.
    mdixEnable Boolean
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu Double
    Layer3 Maximum transmission unit
    name String
    Name of the ethernet interface.
    poeLldpEnabled Boolean
    An option that enables LLDP for managing devices.
    poeOut String
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poePriority Double
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poeVoltage String
    An option that allows us to manually control the voltage outputs on the PoE port.
    powerCycleInterval String
    An options that disables PoE-Out power for 5s between the specified intervals.
    powerCyclePingAddress String
    An address to monitor.
    powerCyclePingEnabled Boolean
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    powerCyclePingTimeout String
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    rxFlowControl String
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfpIgnoreRxLos Boolean
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfpRateSelect String
    Allows to control rate select pin for SFP ports. Values: high | low
    sfpShutdownTemperature Double
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    speed String
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    txFlowControl String
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    factoryName string
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    string
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    autoNegotiation boolean
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth string
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cableSettings string
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    comboMode string
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment string
    disableRunningCheck boolean
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled boolean
    fecMode string
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    fullDuplex boolean
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interfaceEthernetId string
    l2mtu number
    Layer2 Maximum transmission unit. See.
    loopProtect string
    loopProtectDisableTime string
    loopProtectSendInterval string
    macAddress string
    Media Access Control number of an interface.
    mdixEnable boolean
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu number
    Layer3 Maximum transmission unit
    name string
    Name of the ethernet interface.
    poeLldpEnabled boolean
    An option that enables LLDP for managing devices.
    poeOut string
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poePriority number
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poeVoltage string
    An option that allows us to manually control the voltage outputs on the PoE port.
    powerCycleInterval string
    An options that disables PoE-Out power for 5s between the specified intervals.
    powerCyclePingAddress string
    An address to monitor.
    powerCyclePingEnabled boolean
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    powerCyclePingTimeout string
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    rxFlowControl string
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfpIgnoreRxLos boolean
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfpRateSelect string
    Allows to control rate select pin for SFP ports. Values: high | low
    sfpShutdownTemperature number
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    speed string
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    txFlowControl string
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    factory_name str
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ str
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    str
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp str
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arp_timeout str
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    auto_negotiation bool
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth str
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cable_settings str
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    combo_mode str
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment str
    disable_running_check bool
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled bool
    fec_mode str
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    full_duplex bool
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interface_ethernet_id str
    l2mtu float
    Layer2 Maximum transmission unit. See.
    loop_protect str
    loop_protect_disable_time str
    loop_protect_send_interval str
    mac_address str
    Media Access Control number of an interface.
    mdix_enable bool
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu float
    Layer3 Maximum transmission unit
    name str
    Name of the ethernet interface.
    poe_lldp_enabled bool
    An option that enables LLDP for managing devices.
    poe_out str
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poe_priority float
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poe_voltage str
    An option that allows us to manually control the voltage outputs on the PoE port.
    power_cycle_interval str
    An options that disables PoE-Out power for 5s between the specified intervals.
    power_cycle_ping_address str
    An address to monitor.
    power_cycle_ping_enabled bool
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    power_cycle_ping_timeout str
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    rx_flow_control str
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfp_ignore_rx_los bool
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfp_rate_select str
    Allows to control rate select pin for SFP ports. Values: high | low
    sfp_shutdown_temperature float
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    speed str
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    tx_flow_control str
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    factoryName String
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    String
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    autoNegotiation Boolean
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth String
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cableSettings String
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    comboMode String
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment String
    disableRunningCheck Boolean
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled Boolean
    fecMode String
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    fullDuplex Boolean
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interfaceEthernetId String
    l2mtu Number
    Layer2 Maximum transmission unit. See.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    macAddress String
    Media Access Control number of an interface.
    mdixEnable Boolean
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu Number
    Layer3 Maximum transmission unit
    name String
    Name of the ethernet interface.
    poeLldpEnabled Boolean
    An option that enables LLDP for managing devices.
    poeOut String
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poePriority Number
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poeVoltage String
    An option that allows us to manually control the voltage outputs on the PoE port.
    powerCycleInterval String
    An options that disables PoE-Out power for 5s between the specified intervals.
    powerCyclePingAddress String
    An address to monitor.
    powerCyclePingEnabled Boolean
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    powerCyclePingTimeout String
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    rxFlowControl String
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfpIgnoreRxLos Boolean
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfpRateSelect String
    Allows to control rate select pin for SFP ports. Values: high | low
    sfpShutdownTemperature Number
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    speed String
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    txFlowControl String
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InterfaceEthernet resource produces the following output properties:

    DefaultName string
    The default name for an interface.
    Id string
    The provider-assigned unique ID for this managed resource.
    LoopProtectStatus string
    OrigMacAddress string
    Original Media Access Control number of an interface. (read only)
    Running bool
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    Slave bool
    Whether interface is configured as a slave of another interface (for example Bonding)
    Switch string
    ID to which switch chip interface belongs to.
    DefaultName string
    The default name for an interface.
    Id string
    The provider-assigned unique ID for this managed resource.
    LoopProtectStatus string
    OrigMacAddress string
    Original Media Access Control number of an interface. (read only)
    Running bool
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    Slave bool
    Whether interface is configured as a slave of another interface (for example Bonding)
    Switch string
    ID to which switch chip interface belongs to.
    defaultName String
    The default name for an interface.
    id String
    The provider-assigned unique ID for this managed resource.
    loopProtectStatus String
    origMacAddress String
    Original Media Access Control number of an interface. (read only)
    running Boolean
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    slave Boolean
    Whether interface is configured as a slave of another interface (for example Bonding)
    switch_ String
    ID to which switch chip interface belongs to.
    defaultName string
    The default name for an interface.
    id string
    The provider-assigned unique ID for this managed resource.
    loopProtectStatus string
    origMacAddress string
    Original Media Access Control number of an interface. (read only)
    running boolean
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    slave boolean
    Whether interface is configured as a slave of another interface (for example Bonding)
    switch string
    ID to which switch chip interface belongs to.
    default_name str
    The default name for an interface.
    id str
    The provider-assigned unique ID for this managed resource.
    loop_protect_status str
    orig_mac_address str
    Original Media Access Control number of an interface. (read only)
    running bool
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    slave bool
    Whether interface is configured as a slave of another interface (for example Bonding)
    switch str
    ID to which switch chip interface belongs to.
    defaultName String
    The default name for an interface.
    id String
    The provider-assigned unique ID for this managed resource.
    loopProtectStatus String
    origMacAddress String
    Original Media Access Control number of an interface. (read only)
    running Boolean
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    slave Boolean
    Whether interface is configured as a slave of another interface (for example Bonding)
    switch String
    ID to which switch chip interface belongs to.

    Look up Existing InterfaceEthernet Resource

    Get an existing InterfaceEthernet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InterfaceEthernetState, opts?: CustomResourceOptions): InterfaceEthernet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            ___skip_: Optional[str] = None,
            advertise: Optional[str] = None,
            arp: Optional[str] = None,
            arp_timeout: Optional[str] = None,
            auto_negotiation: Optional[bool] = None,
            bandwidth: Optional[str] = None,
            cable_settings: Optional[str] = None,
            combo_mode: Optional[str] = None,
            comment: Optional[str] = None,
            default_name: Optional[str] = None,
            disable_running_check: Optional[bool] = None,
            disabled: Optional[bool] = None,
            factory_name: Optional[str] = None,
            fec_mode: Optional[str] = None,
            full_duplex: Optional[bool] = None,
            interface_ethernet_id: Optional[str] = None,
            l2mtu: Optional[float] = None,
            loop_protect: Optional[str] = None,
            loop_protect_disable_time: Optional[str] = None,
            loop_protect_send_interval: Optional[str] = None,
            loop_protect_status: Optional[str] = None,
            mac_address: Optional[str] = None,
            mdix_enable: Optional[bool] = None,
            mtu: Optional[float] = None,
            name: Optional[str] = None,
            orig_mac_address: Optional[str] = None,
            poe_lldp_enabled: Optional[bool] = None,
            poe_out: Optional[str] = None,
            poe_priority: Optional[float] = None,
            poe_voltage: Optional[str] = None,
            power_cycle_interval: Optional[str] = None,
            power_cycle_ping_address: Optional[str] = None,
            power_cycle_ping_enabled: Optional[bool] = None,
            power_cycle_ping_timeout: Optional[str] = None,
            running: Optional[bool] = None,
            rx_flow_control: Optional[str] = None,
            sfp_ignore_rx_los: Optional[bool] = None,
            sfp_rate_select: Optional[str] = None,
            sfp_shutdown_temperature: Optional[float] = None,
            slave: Optional[bool] = None,
            speed: Optional[str] = None,
            switch: Optional[str] = None,
            tx_flow_control: Optional[str] = None) -> InterfaceEthernet
    func GetInterfaceEthernet(ctx *Context, name string, id IDInput, state *InterfaceEthernetState, opts ...ResourceOption) (*InterfaceEthernet, error)
    public static InterfaceEthernet Get(string name, Input<string> id, InterfaceEthernetState? state, CustomResourceOptions? opts = null)
    public static InterfaceEthernet get(String name, Output<String> id, InterfaceEthernetState state, CustomResourceOptions options)
    resources:  _:    type: routeros:InterfaceEthernet    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Advertise string
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    AutoNegotiation bool
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    Bandwidth string
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    CableSettings string
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    ComboMode string
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    Comment string
    DefaultName string
    The default name for an interface.
    DisableRunningCheck bool
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    Disabled bool
    FactoryName string
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    FecMode string
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    FullDuplex bool
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    InterfaceEthernetId string
    L2mtu double
    Layer2 Maximum transmission unit. See.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    LoopProtectStatus string
    MacAddress string
    Media Access Control number of an interface.
    MdixEnable bool
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    Mtu double
    Layer3 Maximum transmission unit
    Name string
    Name of the ethernet interface.
    OrigMacAddress string
    Original Media Access Control number of an interface. (read only)
    PoeLldpEnabled bool
    An option that enables LLDP for managing devices.
    PoeOut string
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoePriority double
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoeVoltage string
    An option that allows us to manually control the voltage outputs on the PoE port.
    PowerCycleInterval string
    An options that disables PoE-Out power for 5s between the specified intervals.
    PowerCyclePingAddress string
    An address to monitor.
    PowerCyclePingEnabled bool
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    PowerCyclePingTimeout string
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    Running bool
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    RxFlowControl string
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    SfpIgnoreRxLos bool
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    SfpRateSelect string
    Allows to control rate select pin for SFP ports. Values: high | low
    SfpShutdownTemperature double
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    Slave bool
    Whether interface is configured as a slave of another interface (for example Bonding)
    Speed string
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    Switch string
    ID to which switch chip interface belongs to.
    TxFlowControl string
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    Advertise string
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    AutoNegotiation bool
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    Bandwidth string
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    CableSettings string
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    ComboMode string
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    Comment string
    DefaultName string
    The default name for an interface.
    DisableRunningCheck bool
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    Disabled bool
    FactoryName string
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    FecMode string
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    FullDuplex bool
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    InterfaceEthernetId string
    L2mtu float64
    Layer2 Maximum transmission unit. See.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    LoopProtectStatus string
    MacAddress string
    Media Access Control number of an interface.
    MdixEnable bool
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    Mtu float64
    Layer3 Maximum transmission unit
    Name string
    Name of the ethernet interface.
    OrigMacAddress string
    Original Media Access Control number of an interface. (read only)
    PoeLldpEnabled bool
    An option that enables LLDP for managing devices.
    PoeOut string
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoePriority float64
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    PoeVoltage string
    An option that allows us to manually control the voltage outputs on the PoE port.
    PowerCycleInterval string
    An options that disables PoE-Out power for 5s between the specified intervals.
    PowerCyclePingAddress string
    An address to monitor.
    PowerCyclePingEnabled bool
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    PowerCyclePingTimeout string
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    Running bool
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    RxFlowControl string
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    SfpIgnoreRxLos bool
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    SfpRateSelect string
    Allows to control rate select pin for SFP ports. Values: high | low
    SfpShutdownTemperature float64
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    Slave bool
    Whether interface is configured as a slave of another interface (for example Bonding)
    Speed string
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    Switch string
    ID to which switch chip interface belongs to.
    TxFlowControl string
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    advertise String
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    autoNegotiation Boolean
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth String
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cableSettings String
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    comboMode String
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment String
    defaultName String
    The default name for an interface.
    disableRunningCheck Boolean
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled Boolean
    factoryName String
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    fecMode String
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    fullDuplex Boolean
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interfaceEthernetId String
    l2mtu Double
    Layer2 Maximum transmission unit. See.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    loopProtectStatus String
    macAddress String
    Media Access Control number of an interface.
    mdixEnable Boolean
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu Double
    Layer3 Maximum transmission unit
    name String
    Name of the ethernet interface.
    origMacAddress String
    Original Media Access Control number of an interface. (read only)
    poeLldpEnabled Boolean
    An option that enables LLDP for managing devices.
    poeOut String
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poePriority Double
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poeVoltage String
    An option that allows us to manually control the voltage outputs on the PoE port.
    powerCycleInterval String
    An options that disables PoE-Out power for 5s between the specified intervals.
    powerCyclePingAddress String
    An address to monitor.
    powerCyclePingEnabled Boolean
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    powerCyclePingTimeout String
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    running Boolean
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    rxFlowControl String
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfpIgnoreRxLos Boolean
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfpRateSelect String
    Allows to control rate select pin for SFP ports. Values: high | low
    sfpShutdownTemperature Double
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    slave Boolean
    Whether interface is configured as a slave of another interface (for example Bonding)
    speed String
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    switch_ String
    ID to which switch chip interface belongs to.
    txFlowControl String
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ string
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    advertise string
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    autoNegotiation boolean
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth string
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cableSettings string
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    comboMode string
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment string
    defaultName string
    The default name for an interface.
    disableRunningCheck boolean
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled boolean
    factoryName string
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    fecMode string
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    fullDuplex boolean
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interfaceEthernetId string
    l2mtu number
    Layer2 Maximum transmission unit. See.
    loopProtect string
    loopProtectDisableTime string
    loopProtectSendInterval string
    loopProtectStatus string
    macAddress string
    Media Access Control number of an interface.
    mdixEnable boolean
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu number
    Layer3 Maximum transmission unit
    name string
    Name of the ethernet interface.
    origMacAddress string
    Original Media Access Control number of an interface. (read only)
    poeLldpEnabled boolean
    An option that enables LLDP for managing devices.
    poeOut string
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poePriority number
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poeVoltage string
    An option that allows us to manually control the voltage outputs on the PoE port.
    powerCycleInterval string
    An options that disables PoE-Out power for 5s between the specified intervals.
    powerCyclePingAddress string
    An address to monitor.
    powerCyclePingEnabled boolean
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    powerCyclePingTimeout string
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    running boolean
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    rxFlowControl string
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfpIgnoreRxLos boolean
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfpRateSelect string
    Allows to control rate select pin for SFP ports. Values: high | low
    sfpShutdownTemperature number
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    slave boolean
    Whether interface is configured as a slave of another interface (for example Bonding)
    speed string
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    switch string
    ID to which switch chip interface belongs to.
    txFlowControl string
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ str
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    advertise str
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp str
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arp_timeout str
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    auto_negotiation bool
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth str
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cable_settings str
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    combo_mode str
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment str
    default_name str
    The default name for an interface.
    disable_running_check bool
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled bool
    factory_name str
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    fec_mode str
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    full_duplex bool
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interface_ethernet_id str
    l2mtu float
    Layer2 Maximum transmission unit. See.
    loop_protect str
    loop_protect_disable_time str
    loop_protect_send_interval str
    loop_protect_status str
    mac_address str
    Media Access Control number of an interface.
    mdix_enable bool
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu float
    Layer3 Maximum transmission unit
    name str
    Name of the ethernet interface.
    orig_mac_address str
    Original Media Access Control number of an interface. (read only)
    poe_lldp_enabled bool
    An option that enables LLDP for managing devices.
    poe_out str
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poe_priority float
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poe_voltage str
    An option that allows us to manually control the voltage outputs on the PoE port.
    power_cycle_interval str
    An options that disables PoE-Out power for 5s between the specified intervals.
    power_cycle_ping_address str
    An address to monitor.
    power_cycle_ping_enabled bool
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    power_cycle_ping_timeout str
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    running bool
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    rx_flow_control str
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfp_ignore_rx_los bool
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfp_rate_select str
    Allows to control rate select pin for SFP ports. Values: high | low
    sfp_shutdown_temperature float
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    slave bool
    Whether interface is configured as a slave of another interface (for example Bonding)
    speed str
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    switch str
    ID to which switch chip interface belongs to.
    tx_flow_control str
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___skip_ String
    A set of transformations for field names. This is an internal service field, setting a value is not required.
    advertise String
    Advertised speed and duplex modes for Ethernet interfaces over twisted pair, only applies when auto-negotiation is enabled. Advertising higher speeds than the actual interface supported speed will have no effect, multiple options are allowed.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    autoNegotiation Boolean
    When enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible. Note1: Auto-negotiation should not be disabled on one end only, otherwise Ethernet Interfaces may not work properly. Note2: Gigabit Ethernet and NBASE-T Ethernet links cannot work with auto-negotiation disabled.
    bandwidth String
    Sets max rx/tx bandwidth in kbps that will be handled by an interface. TX limit is supported on all Atheros switch-chip ports. RX limit is supported only on Atheros8327/QCA8337 switch-chip ports.
    cableSettings String
    Changes the cable length setting (only applicable to NS DP83815/6 cards)
    comboMode String
    When auto mode is selected, the port that was first connected will establish the link. In case this link fails, the other port will try to establish a new link. If both ports are connected at the same time (e.g. after reboot), the priority will be the SFP/SFP+ port. When sfp mode is selected, the interface will only work through SFP/SFP+ cage. When copper mode is selected, the interface will only work through RJ45 Ethernet port.
    comment String
    defaultName String
    The default name for an interface.
    disableRunningCheck Boolean
    Disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not. Default value is 'yes' because older NICs do not support it. (only applicable to x86)
    disabled Boolean
    factoryName String
    The factory name of the identifier, serves as resource identifier. Determines which interface will be updated.
    fecMode String
    Changes Forward Error Correction (FEC) mode for SFP28, QSFP+ and QSFP28 interfaces. Same mode should be used on both link ends, otherwise FEC mismatch could result in non-working link or even false link-ups.
    fullDuplex Boolean
    Defines whether the transmission of data appears in two directions simultaneously, only applies when auto-negotiation is disabled.
    interfaceEthernetId String
    l2mtu Number
    Layer2 Maximum transmission unit. See.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    loopProtectStatus String
    macAddress String
    Media Access Control number of an interface.
    mdixEnable Boolean
    Whether the MDI/X auto cross over cable correction feature is enabled for the port (Hardware specific, e.g. ether1 on RB500 can be set to yes/no. Fixed to 'yes' on other hardware.)
    mtu Number
    Layer3 Maximum transmission unit
    name String
    Name of the ethernet interface.
    origMacAddress String
    Original Media Access Control number of an interface. (read only)
    poeLldpEnabled Boolean
    An option that enables LLDP for managing devices.
    poeOut String
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poePriority Number
    PoE settings: (https://wiki.mikrotik.com/wiki/Manual:PoE-Out)
    poeVoltage String
    An option that allows us to manually control the voltage outputs on the PoE port.
    powerCycleInterval String
    An options that disables PoE-Out power for 5s between the specified intervals.
    powerCyclePingAddress String
    An address to monitor.
    powerCyclePingEnabled Boolean
    An option that enables ping watchdog of power cycles on the port if a host does not respond to ICMP or MAC-Telnet packets.
    powerCyclePingTimeout String
    If the host does not respond over the specified period, the PoE-Out port is switched off for 5s.
    running Boolean
    Whether interface is running. Note that some interface does not have running check and they are always reported as "running"
    rxFlowControl String
    When set to on, the port will process received pause frames and suspend transmission if required. auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.
    sfpIgnoreRxLos Boolean
    An option to ignore RX LOS (Loss of Signal) status of the SFP module.
    sfpRateSelect String
    Allows to control rate select pin for SFP ports. Values: high | low
    sfpShutdownTemperature Number
    The temperature in Celsius at which the interface will be temporarily turned off due to too high detected SFP module temperature (introduced v6.48).The default value for SFP/SFP+/SFP28 interfaces is 95, and for QSFP+/QSFP28 interfaces 80 (introduced v7.6).
    slave Boolean
    Whether interface is configured as a slave of another interface (for example Bonding)
    speed String
    Sets interface data transmission speed which takes effect only when auto_negotiation is disabled.
    switch String
    ID to which switch chip interface belongs to.
    txFlowControl String
    When set to on, the port will generate pause frames to the upstream device to temporarily stop the packet transmission. Pause frames are only generated when some routers output interface is congested and packets cannot be transmitted anymore. Auto is the same as on except when auto-negotiation=yes flow control status is resolved by taking into account what other end advertises.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/interface/ethernet get [print show-ids]]

    $ pulumi import routeros:index/interfaceEthernet:InterfaceEthernet test "*0"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros