routeros.InterfaceEthernetSwitchHost
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.InterfaceEthernetSwitchHost("test", {
macAddress: "00:00:00:00:00:00",
mirror: true,
ports: ["ether1"],
"switch": "switch1",
});
import pulumi
import pulumi_routeros as routeros
test = routeros.InterfaceEthernetSwitchHost("test",
mac_address="00:00:00:00:00:00",
mirror=True,
ports=["ether1"],
switch="switch1")
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.NewInterfaceEthernetSwitchHost(ctx, "test", &routeros.InterfaceEthernetSwitchHostArgs{
MacAddress: pulumi.String("00:00:00:00:00:00"),
Mirror: pulumi.Bool(true),
Ports: pulumi.StringArray{
pulumi.String("ether1"),
},
Switch: pulumi.String("switch1"),
})
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.InterfaceEthernetSwitchHost("test", new()
{
MacAddress = "00:00:00:00:00:00",
Mirror = true,
Ports = new[]
{
"ether1",
},
Switch = "switch1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceEthernetSwitchHost;
import com.pulumi.routeros.InterfaceEthernetSwitchHostArgs;
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 InterfaceEthernetSwitchHost("test", InterfaceEthernetSwitchHostArgs.builder()
.macAddress("00:00:00:00:00:00")
.mirror(true)
.ports("ether1")
.switch_("switch1")
.build());
}
}
resources:
test:
type: routeros:InterfaceEthernetSwitchHost
properties:
macAddress: 00:00:00:00:00:00
mirror: true
ports:
- ether1
switch: switch1
Create InterfaceEthernetSwitchHost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceEthernetSwitchHost(name: string, args: InterfaceEthernetSwitchHostArgs, opts?: CustomResourceOptions);
@overload
def InterfaceEthernetSwitchHost(resource_name: str,
args: InterfaceEthernetSwitchHostArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceEthernetSwitchHost(resource_name: str,
opts: Optional[ResourceOptions] = None,
mac_address: Optional[str] = None,
ports: Optional[Sequence[str]] = None,
switch: Optional[str] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
copy_to_cpu: Optional[bool] = None,
drop: Optional[bool] = None,
interface_ethernet_switch_host_id: Optional[str] = None,
mirror: Optional[bool] = None,
redirect_to_cpu: Optional[bool] = None,
share_vlan_learned: Optional[bool] = None,
vlan_id: Optional[str] = None)
func NewInterfaceEthernetSwitchHost(ctx *Context, name string, args InterfaceEthernetSwitchHostArgs, opts ...ResourceOption) (*InterfaceEthernetSwitchHost, error)
public InterfaceEthernetSwitchHost(string name, InterfaceEthernetSwitchHostArgs args, CustomResourceOptions? opts = null)
public InterfaceEthernetSwitchHost(String name, InterfaceEthernetSwitchHostArgs args)
public InterfaceEthernetSwitchHost(String name, InterfaceEthernetSwitchHostArgs args, CustomResourceOptions options)
type: routeros:InterfaceEthernetSwitchHost
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 InterfaceEthernetSwitchHostArgs
- 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 InterfaceEthernetSwitchHostArgs
- 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 InterfaceEthernetSwitchHostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceEthernetSwitchHostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceEthernetSwitchHostArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceEthernetSwitchHost 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 InterfaceEthernetSwitchHost resource accepts the following input properties:
- Mac
Address string - Host's MAC address.
- Ports List<string>
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- Switch string
- Name of the switch to which the MAC address is going to be assigned to.
- Copy
To boolCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Drop bool
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- Interface
Ethernet stringSwitch Host Id - The ID of this resource.
- Mirror bool
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Redirect
To boolCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- bool
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- Vlan
Id string - VLAN ID for the statically added MAC address entry.
- ___
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.
- Mac
Address string - Host's MAC address.
- Ports []string
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- Switch string
- Name of the switch to which the MAC address is going to be assigned to.
- Copy
To boolCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Drop bool
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- Interface
Ethernet stringSwitch Host Id - The ID of this resource.
- Mirror bool
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Redirect
To boolCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- bool
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- Vlan
Id string - VLAN ID for the statically added MAC address entry.
- ___
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.
- mac
Address String - Host's MAC address.
- ports List<String>
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- switch_ String
- Name of the switch to which the MAC address is going to be assigned to.
- ___
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.
- copy
To BooleanCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop Boolean
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- interface
Ethernet StringSwitch Host Id - The ID of this resource.
- mirror Boolean
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- redirect
To BooleanCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Boolean
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- vlan
Id String - VLAN ID for the statically added MAC address entry.
- mac
Address string - Host's MAC address.
- ports string[]
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- switch string
- Name of the switch to which the MAC address is going to be assigned to.
- ___
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.
- copy
To booleanCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop boolean
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- interface
Ethernet stringSwitch Host Id - The ID of this resource.
- mirror boolean
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- redirect
To booleanCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- boolean
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- vlan
Id string - VLAN ID for the statically added MAC address entry.
- mac_
address str - Host's MAC address.
- ports Sequence[str]
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- switch str
- Name of the switch to which the MAC address is going to be assigned to.
- ___
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.
- copy_
to_ boolcpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop bool
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- interface_
ethernet_ strswitch_ host_ id - The ID of this resource.
- mirror bool
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- redirect_
to_ boolcpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- bool
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- vlan_
id str - VLAN ID for the statically added MAC address entry.
- mac
Address String - Host's MAC address.
- ports List<String>
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- switch String
- Name of the switch to which the MAC address is going to be assigned to.
- ___
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.
- copy
To BooleanCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop Boolean
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- interface
Ethernet StringSwitch Host Id - The ID of this resource.
- mirror Boolean
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- redirect
To BooleanCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Boolean
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- vlan
Id String - VLAN ID for the statically added MAC address entry.
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceEthernetSwitchHost resource produces the following output properties:
Look up Existing InterfaceEthernetSwitchHost Resource
Get an existing InterfaceEthernetSwitchHost 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?: InterfaceEthernetSwitchHostState, opts?: CustomResourceOptions): InterfaceEthernetSwitchHost
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
copy_to_cpu: Optional[bool] = None,
drop: Optional[bool] = None,
dynamic: Optional[bool] = None,
interface_ethernet_switch_host_id: Optional[str] = None,
invalid: Optional[bool] = None,
mac_address: Optional[str] = None,
mirror: Optional[bool] = None,
ports: Optional[Sequence[str]] = None,
redirect_to_cpu: Optional[bool] = None,
share_vlan_learned: Optional[bool] = None,
switch: Optional[str] = None,
vlan_id: Optional[str] = None) -> InterfaceEthernetSwitchHost
func GetInterfaceEthernetSwitchHost(ctx *Context, name string, id IDInput, state *InterfaceEthernetSwitchHostState, opts ...ResourceOption) (*InterfaceEthernetSwitchHost, error)
public static InterfaceEthernetSwitchHost Get(string name, Input<string> id, InterfaceEthernetSwitchHostState? state, CustomResourceOptions? opts = null)
public static InterfaceEthernetSwitchHost get(String name, Output<String> id, InterfaceEthernetSwitchHostState state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceEthernetSwitchHost 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.
- Copy
To boolCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Drop bool
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Interface
Ethernet stringSwitch Host Id - The ID of this resource.
- Invalid bool
- Mac
Address string - Host's MAC address.
- Mirror bool
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Ports List<string>
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- Redirect
To boolCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- bool
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- Switch string
- Name of the switch to which the MAC address is going to be assigned to.
- Vlan
Id string - VLAN ID for the statically added MAC address entry.
- ___
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.
- Copy
To boolCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Drop bool
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Interface
Ethernet stringSwitch Host Id - The ID of this resource.
- Invalid bool
- Mac
Address string - Host's MAC address.
- Mirror bool
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Ports []string
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- Redirect
To boolCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- bool
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- Switch string
- Name of the switch to which the MAC address is going to be assigned to.
- Vlan
Id string - VLAN ID for the statically added MAC address entry.
- ___
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.
- ___
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.
- copy
To BooleanCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop Boolean
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface
Ethernet StringSwitch Host Id - The ID of this resource.
- invalid Boolean
- mac
Address String - Host's MAC address.
- mirror Boolean
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- ports List<String>
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- redirect
To BooleanCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Boolean
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- switch_ String
- Name of the switch to which the MAC address is going to be assigned to.
- vlan
Id String - VLAN ID for the statically added MAC address entry.
- ___
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.
- copy
To booleanCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop boolean
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface
Ethernet stringSwitch Host Id - The ID of this resource.
- invalid boolean
- mac
Address string - Host's MAC address.
- mirror boolean
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- ports string[]
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- redirect
To booleanCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- boolean
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- switch string
- Name of the switch to which the MAC address is going to be assigned to.
- vlan
Id string - VLAN ID for the statically added MAC address entry.
- ___
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.
- copy_
to_ boolcpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop bool
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface_
ethernet_ strswitch_ host_ id - The ID of this resource.
- invalid bool
- mac_
address str - Host's MAC address.
- mirror bool
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- ports Sequence[str]
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- redirect_
to_ boolcpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- bool
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- switch str
- Name of the switch to which the MAC address is going to be assigned to.
- vlan_
id str - VLAN ID for the statically added MAC address entry.
- ___
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.
- copy
To BooleanCpu - Whether to send a frame copy to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- drop Boolean
- Whether to drop a frame with matching MAC source address received on a certain port (matching destination or source address for CRS3xx series switches).
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- interface
Ethernet StringSwitch Host Id - The ID of this resource.
- invalid Boolean
- mac
Address String - Host's MAC address.
- mirror Boolean
- Whether to send a frame copy to mirror-target port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- ports List<String>
- Name of the interface, static MAC address can be mapped to more that one port, including switch CPU port.
- redirect
To BooleanCpu - Whether to redirect a frame to switch CPU port from a frame with matching MAC destination address (matching destination or source address for CRS3xx series switches).
- Boolean
- Whether the static host MAC address lookup is used with shared-VLAN-learning (SVL) or independent-VLAN-learning (IVL). The SVL mode is used for those VLAN entries that do not support IVL or IVL is disabled (independent-learning=no).
- switch String
- Name of the switch to which the MAC address is going to be assigned to.
- vlan
Id String - VLAN ID for the statically added MAC address entry.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/ethernet/switch/host get [print show-ids]]
$ pulumi import routeros:index/interfaceEthernetSwitchHost:InterfaceEthernetSwitchHost 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.