1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceEthernetSwitchCrsEgressVlanTranslation
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.InterfaceEthernetSwitchCrsEgressVlanTranslation (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.InterfaceEthernetSwitchCrsEgressVlanTranslation("test", {
        ports: ["ether1"],
        serviceVlanFormat: "any",
        customerVlanFormat: "any",
        customerVid: "100",
        newCustomerVid: "0",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.InterfaceEthernetSwitchCrsEgressVlanTranslation("test",
        ports=["ether1"],
        service_vlan_format="any",
        customer_vlan_format="any",
        customer_vid="100",
        new_customer_vid="0")
    
    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.NewInterfaceEthernetSwitchCrsEgressVlanTranslation(ctx, "test", &routeros.InterfaceEthernetSwitchCrsEgressVlanTranslationArgs{
    			Ports: pulumi.StringArray{
    				pulumi.String("ether1"),
    			},
    			ServiceVlanFormat:  pulumi.String("any"),
    			CustomerVlanFormat: pulumi.String("any"),
    			CustomerVid:        pulumi.String("100"),
    			NewCustomerVid:     pulumi.String("0"),
    		})
    		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.InterfaceEthernetSwitchCrsEgressVlanTranslation("test", new()
        {
            Ports = new[]
            {
                "ether1",
            },
            ServiceVlanFormat = "any",
            CustomerVlanFormat = "any",
            CustomerVid = "100",
            NewCustomerVid = "0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.InterfaceEthernetSwitchCrsEgressVlanTranslation;
    import com.pulumi.routeros.InterfaceEthernetSwitchCrsEgressVlanTranslationArgs;
    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 InterfaceEthernetSwitchCrsEgressVlanTranslation("test", InterfaceEthernetSwitchCrsEgressVlanTranslationArgs.builder()
                .ports("ether1")
                .serviceVlanFormat("any")
                .customerVlanFormat("any")
                .customerVid("100")
                .newCustomerVid("0")
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:InterfaceEthernetSwitchCrsEgressVlanTranslation
        properties:
          ports:
            - ether1
          serviceVlanFormat: any
          customerVlanFormat: any
          customerVid: 100
          newCustomerVid: 0
    

    Create InterfaceEthernetSwitchCrsEgressVlanTranslation Resource

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

    Constructor syntax

    new InterfaceEthernetSwitchCrsEgressVlanTranslation(name: string, args?: InterfaceEthernetSwitchCrsEgressVlanTranslationArgs, opts?: CustomResourceOptions);
    @overload
    def InterfaceEthernetSwitchCrsEgressVlanTranslation(resource_name: str,
                                                        args: Optional[InterfaceEthernetSwitchCrsEgressVlanTranslationArgs] = None,
                                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceEthernetSwitchCrsEgressVlanTranslation(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_egress_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,
                                                        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 NewInterfaceEthernetSwitchCrsEgressVlanTranslation(ctx *Context, name string, args *InterfaceEthernetSwitchCrsEgressVlanTranslationArgs, opts ...ResourceOption) (*InterfaceEthernetSwitchCrsEgressVlanTranslation, error)
    public InterfaceEthernetSwitchCrsEgressVlanTranslation(string name, InterfaceEthernetSwitchCrsEgressVlanTranslationArgs? args = null, CustomResourceOptions? opts = null)
    public InterfaceEthernetSwitchCrsEgressVlanTranslation(String name, InterfaceEthernetSwitchCrsEgressVlanTranslationArgs args)
    public InterfaceEthernetSwitchCrsEgressVlanTranslation(String name, InterfaceEthernetSwitchCrsEgressVlanTranslationArgs args, CustomResourceOptions options)
    
    type: routeros:InterfaceEthernetSwitchCrsEgressVlanTranslation
    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 InterfaceEthernetSwitchCrsEgressVlanTranslationArgs
    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 InterfaceEthernetSwitchCrsEgressVlanTranslationArgs
    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 InterfaceEthernetSwitchCrsEgressVlanTranslationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceEthernetSwitchCrsEgressVlanTranslationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceEthernetSwitchCrsEgressVlanTranslationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InterfaceEthernetSwitchCrsEgressVlanTranslation 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 InterfaceEthernetSwitchCrsEgressVlanTranslation 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
    InterfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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
    InterfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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
    interfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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
    interfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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_egress_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.
    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
    interfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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 InterfaceEthernetSwitchCrsEgressVlanTranslation 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 InterfaceEthernetSwitchCrsEgressVlanTranslation Resource

    Get an existing InterfaceEthernetSwitchCrsEgressVlanTranslation 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?: InterfaceEthernetSwitchCrsEgressVlanTranslationState, opts?: CustomResourceOptions): InterfaceEthernetSwitchCrsEgressVlanTranslation
    @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_egress_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,
            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) -> InterfaceEthernetSwitchCrsEgressVlanTranslation
    func GetInterfaceEthernetSwitchCrsEgressVlanTranslation(ctx *Context, name string, id IDInput, state *InterfaceEthernetSwitchCrsEgressVlanTranslationState, opts ...ResourceOption) (*InterfaceEthernetSwitchCrsEgressVlanTranslation, error)
    public static InterfaceEthernetSwitchCrsEgressVlanTranslation Get(string name, Input<string> id, InterfaceEthernetSwitchCrsEgressVlanTranslationState? state, CustomResourceOptions? opts = null)
    public static InterfaceEthernetSwitchCrsEgressVlanTranslation get(String name, Output<String> id, InterfaceEthernetSwitchCrsEgressVlanTranslationState state, CustomResourceOptions options)
    resources:  _:    type: routeros:InterfaceEthernetSwitchCrsEgressVlanTranslation    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.
    InterfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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.
    InterfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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.
    interfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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.
    interfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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_egress_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.
    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.
    interfaceEthernetSwitchCrsEgressVlanTranslationId 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.
    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/egress-vlan-translation get [print show-ids]]

    $ pulumi import routeros:index/interfaceEthernetSwitchCrsEgressVlanTranslation:InterfaceEthernetSwitchCrsEgressVlanTranslation test *3
    

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

    $ pulumi import routeros:index/interfaceEthernetSwitchCrsEgressVlanTranslation:InterfaceEthernetSwitchCrsEgressVlanTranslation 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