1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceEthernetSwitchCrsIngressVlanTranslation
routeros 1.97.0 published on Wednesday, Dec 3, 2025 by terraform-routeros
routeros logo
routeros 1.97.0 published on Wednesday, Dec 3, 2025 by terraform-routeros

    # routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation (Resource)

    Resource for managing CRS (Cloud Router Switch) series device properties.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation("test", {
        ports: ["ether1"],
        serviceVlanFormat: "any",
        customerVlanFormat: "any",
        customerVid: "0",
        newCustomerVid: "100",
        saLearning: "true",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation("test",
        ports=["ether1"],
        service_vlan_format="any",
        customer_vlan_format="any",
        customer_vid="0",
        new_customer_vid="100",
        sa_learning="true")
    
    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.NewInterfaceEthernetSwitchCrsIngressVlanTranslation(ctx, "test", &routeros.InterfaceEthernetSwitchCrsIngressVlanTranslationArgs{
    			Ports: pulumi.StringArray{
    				pulumi.String("ether1"),
    			},
    			ServiceVlanFormat:  pulumi.String("any"),
    			CustomerVlanFormat: pulumi.String("any"),
    			CustomerVid:        pulumi.String("0"),
    			NewCustomerVid:     pulumi.String("100"),
    			SaLearning:         pulumi.String("true"),
    		})
    		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.InterfaceEthernetSwitchCrsIngressVlanTranslation("test", new()
        {
            Ports = new[]
            {
                "ether1",
            },
            ServiceVlanFormat = "any",
            CustomerVlanFormat = "any",
            CustomerVid = "0",
            NewCustomerVid = "100",
            SaLearning = "true",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.InterfaceEthernetSwitchCrsIngressVlanTranslation;
    import com.pulumi.routeros.InterfaceEthernetSwitchCrsIngressVlanTranslationArgs;
    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 InterfaceEthernetSwitchCrsIngressVlanTranslation("test", InterfaceEthernetSwitchCrsIngressVlanTranslationArgs.builder()
                .ports("ether1")
                .serviceVlanFormat("any")
                .customerVlanFormat("any")
                .customerVid("0")
                .newCustomerVid("100")
                .saLearning("true")
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:InterfaceEthernetSwitchCrsIngressVlanTranslation
        properties:
          ports:
            - ether1
          serviceVlanFormat: any
          customerVlanFormat: any
          customerVid: 0
          newCustomerVid: 100
          saLearning: true
    

    Create InterfaceEthernetSwitchCrsIngressVlanTranslation Resource

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

    Constructor syntax

    new InterfaceEthernetSwitchCrsIngressVlanTranslation(name: string, args?: InterfaceEthernetSwitchCrsIngressVlanTranslationArgs, opts?: CustomResourceOptions);
    @overload
    def InterfaceEthernetSwitchCrsIngressVlanTranslation(resource_name: str,
                                                         args: Optional[InterfaceEthernetSwitchCrsIngressVlanTranslationArgs] = None,
                                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceEthernetSwitchCrsIngressVlanTranslation(resource_name: str,
                                                         opts: Optional[ResourceOptions] = None,
                                                         ___id_: Optional[float] = None,
                                                         ___path_: Optional[str] = None,
                                                         comment: Optional[str] = None,
                                                         customer_dei: Optional[str] = None,
                                                         customer_pcp: Optional[str] = None,
                                                         customer_vid: Optional[str] = None,
                                                         customer_vlan_format: Optional[str] = None,
                                                         disabled: Optional[bool] = None,
                                                         interface_ethernet_switch_crs_ingress_vlan_translation_id: Optional[str] = None,
                                                         new_customer_vid: Optional[str] = None,
                                                         new_service_vid: Optional[str] = None,
                                                         pcp_propagation: Optional[str] = None,
                                                         ports: Optional[Sequence[str]] = None,
                                                         protocol: Optional[str] = None,
                                                         sa_learning: Optional[str] = None,
                                                         service_dei: Optional[str] = None,
                                                         service_pcp: Optional[str] = None,
                                                         service_vid: Optional[str] = None,
                                                         service_vlan_format: Optional[str] = None,
                                                         swap_vids: Optional[str] = None)
    func NewInterfaceEthernetSwitchCrsIngressVlanTranslation(ctx *Context, name string, args *InterfaceEthernetSwitchCrsIngressVlanTranslationArgs, opts ...ResourceOption) (*InterfaceEthernetSwitchCrsIngressVlanTranslation, error)
    public InterfaceEthernetSwitchCrsIngressVlanTranslation(string name, InterfaceEthernetSwitchCrsIngressVlanTranslationArgs? args = null, CustomResourceOptions? opts = null)
    public InterfaceEthernetSwitchCrsIngressVlanTranslation(String name, InterfaceEthernetSwitchCrsIngressVlanTranslationArgs args)
    public InterfaceEthernetSwitchCrsIngressVlanTranslation(String name, InterfaceEthernetSwitchCrsIngressVlanTranslationArgs args, CustomResourceOptions options)
    
    type: routeros:InterfaceEthernetSwitchCrsIngressVlanTranslation
    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 InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
    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 InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
    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 InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceEthernetSwitchCrsIngressVlanTranslationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InterfaceEthernetSwitchCrsIngressVlanTranslation 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 InterfaceEthernetSwitchCrsIngressVlanTranslation resource accepts the following input properties:

    Comment string
    CustomerDei string
    Matching DEI of the customer tag.
    CustomerPcp string
    Matching PCP of the customer tag.
    CustomerVid string
    Matching the VLAN ID of the customer tag.
    CustomerVlanFormat string
    Type of frames with customer tag for which VLAN translation rule is valid.
    Disabled bool
    InterfaceEthernetSwitchCrsIngressVlanTranslationId string
    The ID of this resource.
    NewCustomerVid string
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    NewServiceVid string
    The new service VLAN ID replaces the matching service VLAN ID.
    PcpPropagation string
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    Ports List<string>
    Matching switch ports for VLAN translation rule.
    Protocol string
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    SaLearning string
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    ServiceDei string
    Matching DEI of the service tag.
    ServicePcp string
    Matching PCP of the service tag.
    ServiceVid string
    Matching VLAN ID of the service tag.
    ServiceVlanFormat string
    Type of frames with service tag for which VLAN translation rule is valid.
    SwapVids string
    ___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.
    Comment string
    CustomerDei string
    Matching DEI of the customer tag.
    CustomerPcp string
    Matching PCP of the customer tag.
    CustomerVid string
    Matching the VLAN ID of the customer tag.
    CustomerVlanFormat string
    Type of frames with customer tag for which VLAN translation rule is valid.
    Disabled bool
    InterfaceEthernetSwitchCrsIngressVlanTranslationId string
    The ID of this resource.
    NewCustomerVid string
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    NewServiceVid string
    The new service VLAN ID replaces the matching service VLAN ID.
    PcpPropagation string
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    Ports []string
    Matching switch ports for VLAN translation rule.
    Protocol string
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    SaLearning string
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    ServiceDei string
    Matching DEI of the service tag.
    ServicePcp string
    Matching PCP of the service tag.
    ServiceVid string
    Matching VLAN ID of the service tag.
    ServiceVlanFormat string
    Type of frames with service tag for which VLAN translation rule is valid.
    SwapVids string
    ___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.
    comment String
    customerDei String
    Matching DEI of the customer tag.
    customerPcp String
    Matching PCP of the customer tag.
    customerVid String
    Matching the VLAN ID of the customer tag.
    customerVlanFormat String
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled Boolean
    interfaceEthernetSwitchCrsIngressVlanTranslationId String
    The ID of this resource.
    newCustomerVid String
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    newServiceVid String
    The new service VLAN ID replaces the matching service VLAN ID.
    pcpPropagation String
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports List<String>
    Matching switch ports for VLAN translation rule.
    protocol String
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    saLearning String
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    serviceDei String
    Matching DEI of the service tag.
    servicePcp String
    Matching PCP of the service tag.
    serviceVid String
    Matching VLAN ID of the service tag.
    serviceVlanFormat String
    Type of frames with service tag for which VLAN translation rule is valid.
    swapVids String
    ___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.
    comment string
    customerDei string
    Matching DEI of the customer tag.
    customerPcp string
    Matching PCP of the customer tag.
    customerVid string
    Matching the VLAN ID of the customer tag.
    customerVlanFormat string
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled boolean
    interfaceEthernetSwitchCrsIngressVlanTranslationId string
    The ID of this resource.
    newCustomerVid string
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    newServiceVid string
    The new service VLAN ID replaces the matching service VLAN ID.
    pcpPropagation string
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports string[]
    Matching switch ports for VLAN translation rule.
    protocol string
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    saLearning string
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    serviceDei string
    Matching DEI of the service tag.
    servicePcp string
    Matching PCP of the service tag.
    serviceVid string
    Matching VLAN ID of the service tag.
    serviceVlanFormat string
    Type of frames with service tag for which VLAN translation rule is valid.
    swapVids string
    ___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.
    comment str
    customer_dei str
    Matching DEI of the customer tag.
    customer_pcp str
    Matching PCP of the customer tag.
    customer_vid str
    Matching the VLAN ID of the customer tag.
    customer_vlan_format str
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled bool
    interface_ethernet_switch_crs_ingress_vlan_translation_id str
    The ID of this resource.
    new_customer_vid str
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    new_service_vid str
    The new service VLAN ID replaces the matching service VLAN ID.
    pcp_propagation str
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports Sequence[str]
    Matching switch ports for VLAN translation rule.
    protocol str
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    sa_learning str
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    service_dei str
    Matching DEI of the service tag.
    service_pcp str
    Matching PCP of the service tag.
    service_vid str
    Matching VLAN ID of the service tag.
    service_vlan_format str
    Type of frames with service tag for which VLAN translation rule is valid.
    swap_vids str
    ___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.
    comment String
    customerDei String
    Matching DEI of the customer tag.
    customerPcp String
    Matching PCP of the customer tag.
    customerVid String
    Matching the VLAN ID of the customer tag.
    customerVlanFormat String
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled Boolean
    interfaceEthernetSwitchCrsIngressVlanTranslationId String
    The ID of this resource.
    newCustomerVid String
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    newServiceVid String
    The new service VLAN ID replaces the matching service VLAN ID.
    pcpPropagation String
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports List<String>
    Matching switch ports for VLAN translation rule.
    protocol String
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    saLearning String
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    serviceDei String
    Matching DEI of the service tag.
    servicePcp String
    Matching PCP of the service tag.
    serviceVid String
    Matching VLAN ID of the service tag.
    serviceVlanFormat String
    Type of frames with service tag for which VLAN translation rule is valid.
    swapVids String

    Outputs

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

    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id String
    The provider-assigned unique ID for this managed resource.
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id string
    The provider-assigned unique ID for this managed resource.
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id str
    The provider-assigned unique ID for this managed resource.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing InterfaceEthernetSwitchCrsIngressVlanTranslation Resource

    Get an existing InterfaceEthernetSwitchCrsIngressVlanTranslation 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?: InterfaceEthernetSwitchCrsIngressVlanTranslationState, opts?: CustomResourceOptions): InterfaceEthernetSwitchCrsIngressVlanTranslation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            comment: Optional[str] = None,
            customer_dei: Optional[str] = None,
            customer_pcp: Optional[str] = None,
            customer_vid: Optional[str] = None,
            customer_vlan_format: Optional[str] = None,
            disabled: Optional[bool] = None,
            dynamic: Optional[bool] = None,
            interface_ethernet_switch_crs_ingress_vlan_translation_id: Optional[str] = None,
            new_customer_vid: Optional[str] = None,
            new_service_vid: Optional[str] = None,
            pcp_propagation: Optional[str] = None,
            ports: Optional[Sequence[str]] = None,
            protocol: Optional[str] = None,
            sa_learning: Optional[str] = None,
            service_dei: Optional[str] = None,
            service_pcp: Optional[str] = None,
            service_vid: Optional[str] = None,
            service_vlan_format: Optional[str] = None,
            swap_vids: Optional[str] = None) -> InterfaceEthernetSwitchCrsIngressVlanTranslation
    func GetInterfaceEthernetSwitchCrsIngressVlanTranslation(ctx *Context, name string, id IDInput, state *InterfaceEthernetSwitchCrsIngressVlanTranslationState, opts ...ResourceOption) (*InterfaceEthernetSwitchCrsIngressVlanTranslation, error)
    public static InterfaceEthernetSwitchCrsIngressVlanTranslation Get(string name, Input<string> id, InterfaceEthernetSwitchCrsIngressVlanTranslationState? state, CustomResourceOptions? opts = null)
    public static InterfaceEthernetSwitchCrsIngressVlanTranslation get(String name, Output<String> id, InterfaceEthernetSwitchCrsIngressVlanTranslationState state, CustomResourceOptions options)
    resources:  _:    type: routeros:InterfaceEthernetSwitchCrsIngressVlanTranslation    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:
    Comment string
    CustomerDei string
    Matching DEI of the customer tag.
    CustomerPcp string
    Matching PCP of the customer tag.
    CustomerVid string
    Matching the VLAN ID of the customer tag.
    CustomerVlanFormat string
    Type of frames with customer tag for which VLAN translation rule is valid.
    Disabled bool
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    InterfaceEthernetSwitchCrsIngressVlanTranslationId string
    The ID of this resource.
    NewCustomerVid string
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    NewServiceVid string
    The new service VLAN ID replaces the matching service VLAN ID.
    PcpPropagation string
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    Ports List<string>
    Matching switch ports for VLAN translation rule.
    Protocol string
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    SaLearning string
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    ServiceDei string
    Matching DEI of the service tag.
    ServicePcp string
    Matching PCP of the service tag.
    ServiceVid string
    Matching VLAN ID of the service tag.
    ServiceVlanFormat string
    Type of frames with service tag for which VLAN translation rule is valid.
    SwapVids string
    ___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.
    Comment string
    CustomerDei string
    Matching DEI of the customer tag.
    CustomerPcp string
    Matching PCP of the customer tag.
    CustomerVid string
    Matching the VLAN ID of the customer tag.
    CustomerVlanFormat string
    Type of frames with customer tag for which VLAN translation rule is valid.
    Disabled bool
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    InterfaceEthernetSwitchCrsIngressVlanTranslationId string
    The ID of this resource.
    NewCustomerVid string
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    NewServiceVid string
    The new service VLAN ID replaces the matching service VLAN ID.
    PcpPropagation string
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    Ports []string
    Matching switch ports for VLAN translation rule.
    Protocol string
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    SaLearning string
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    ServiceDei string
    Matching DEI of the service tag.
    ServicePcp string
    Matching PCP of the service tag.
    ServiceVid string
    Matching VLAN ID of the service tag.
    ServiceVlanFormat string
    Type of frames with service tag for which VLAN translation rule is valid.
    SwapVids string
    ___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.
    comment String
    customerDei String
    Matching DEI of the customer tag.
    customerPcp String
    Matching PCP of the customer tag.
    customerVid String
    Matching the VLAN ID of the customer tag.
    customerVlanFormat String
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled Boolean
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    interfaceEthernetSwitchCrsIngressVlanTranslationId String
    The ID of this resource.
    newCustomerVid String
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    newServiceVid String
    The new service VLAN ID replaces the matching service VLAN ID.
    pcpPropagation String
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports List<String>
    Matching switch ports for VLAN translation rule.
    protocol String
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    saLearning String
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    serviceDei String
    Matching DEI of the service tag.
    servicePcp String
    Matching PCP of the service tag.
    serviceVid String
    Matching VLAN ID of the service tag.
    serviceVlanFormat String
    Type of frames with service tag for which VLAN translation rule is valid.
    swapVids String
    ___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.
    comment string
    customerDei string
    Matching DEI of the customer tag.
    customerPcp string
    Matching PCP of the customer tag.
    customerVid string
    Matching the VLAN ID of the customer tag.
    customerVlanFormat string
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled boolean
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    interfaceEthernetSwitchCrsIngressVlanTranslationId string
    The ID of this resource.
    newCustomerVid string
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    newServiceVid string
    The new service VLAN ID replaces the matching service VLAN ID.
    pcpPropagation string
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports string[]
    Matching switch ports for VLAN translation rule.
    protocol string
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    saLearning string
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    serviceDei string
    Matching DEI of the service tag.
    servicePcp string
    Matching PCP of the service tag.
    serviceVid string
    Matching VLAN ID of the service tag.
    serviceVlanFormat string
    Type of frames with service tag for which VLAN translation rule is valid.
    swapVids string
    ___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.
    comment str
    customer_dei str
    Matching DEI of the customer tag.
    customer_pcp str
    Matching PCP of the customer tag.
    customer_vid str
    Matching the VLAN ID of the customer tag.
    customer_vlan_format str
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled bool
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    interface_ethernet_switch_crs_ingress_vlan_translation_id str
    The ID of this resource.
    new_customer_vid str
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    new_service_vid str
    The new service VLAN ID replaces the matching service VLAN ID.
    pcp_propagation str
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports Sequence[str]
    Matching switch ports for VLAN translation rule.
    protocol str
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    sa_learning str
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    service_dei str
    Matching DEI of the service tag.
    service_pcp str
    Matching PCP of the service tag.
    service_vid str
    Matching VLAN ID of the service tag.
    service_vlan_format str
    Type of frames with service tag for which VLAN translation rule is valid.
    swap_vids str
    ___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.
    comment String
    customerDei String
    Matching DEI of the customer tag.
    customerPcp String
    Matching PCP of the customer tag.
    customerVid String
    Matching the VLAN ID of the customer tag.
    customerVlanFormat String
    Type of frames with customer tag for which VLAN translation rule is valid.
    disabled Boolean
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    interfaceEthernetSwitchCrsIngressVlanTranslationId String
    The ID of this resource.
    newCustomerVid String
    The new customer VLAN ID replaces the matching customer VLAN ID. If set to 4095 and ingress VLAN translation is used, then traffic is dropped.
    newServiceVid String
    The new service VLAN ID replaces the matching service VLAN ID.
    pcpPropagation String
    Enables or disables PCP propagation.If the port type is Edge, the customer PCP is copied from the service PCP.If the port type is Network, the service PCP is copied from the customer PCP.
    ports List<String>
    Matching switch ports for VLAN translation rule.
    protocol String
    Matching Ethernet protocol (only for Ingress VLAN Translation).
    saLearning String
    Enables or disables source MAC learning after VLAN translation (only for Ingress VLAN Translation).
    serviceDei String
    Matching DEI of the service tag.
    servicePcp String
    Matching PCP of the service tag.
    serviceVid String
    Matching VLAN ID of the service tag.
    serviceVlanFormat String
    Type of frames with service tag for which VLAN translation rule is valid.
    swapVids String

    Import

    #The ID can be found via API or the terminal

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

    $ pulumi import routeros:index/interfaceEthernetSwitchCrsIngressVlanTranslation:InterfaceEthernetSwitchCrsIngressVlanTranslation test *3
    

    #Or you can import a resource using one of its attributes

    $ pulumi import routeros:index/interfaceEthernetSwitchCrsIngressVlanTranslation:InterfaceEthernetSwitchCrsIngressVlanTranslation test "name=xxx"
    

    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.97.0 published on Wednesday, Dec 3, 2025 by terraform-routeros
      Meet Neo: Your AI Platform Teammate