1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceBridge
routeros 1.81.2 published on Tuesday, Apr 15, 2025 by terraform-routeros

routeros.InterfaceBridge

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";

const bridge = new routeros.InterfaceBridge("bridge", {vlanFiltering: true});
Copy
import pulumi
import pulumi_routeros as routeros

bridge = routeros.InterfaceBridge("bridge", vlan_filtering=True)
Copy
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.NewInterfaceBridge(ctx, "bridge", &routeros.InterfaceBridgeArgs{
			VlanFiltering: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;

return await Deployment.RunAsync(() => 
{
    var bridge = new Routeros.InterfaceBridge("bridge", new()
    {
        VlanFiltering = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceBridge;
import com.pulumi.routeros.InterfaceBridgeArgs;
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 bridge = new InterfaceBridge("bridge", InterfaceBridgeArgs.builder()
            .vlanFiltering(true)
            .build());

    }
}
Copy
resources:
  bridge:
    type: routeros:InterfaceBridge
    properties:
      vlanFiltering: true
Copy

Create InterfaceBridge Resource

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

Constructor syntax

new InterfaceBridge(name: string, args?: InterfaceBridgeArgs, opts?: CustomResourceOptions);
@overload
def InterfaceBridge(resource_name: str,
                    args: Optional[InterfaceBridgeArgs] = None,
                    opts: Optional[ResourceOptions] = None)

@overload
def InterfaceBridge(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    ___id_: Optional[float] = None,
                    ___path_: Optional[str] = None,
                    add_dhcp_option82: Optional[bool] = None,
                    admin_mac: Optional[str] = None,
                    ageing_time: Optional[str] = None,
                    arp: Optional[str] = None,
                    arp_timeout: Optional[str] = None,
                    auto_mac: Optional[bool] = None,
                    comment: Optional[str] = None,
                    dhcp_snooping: Optional[bool] = None,
                    disabled: Optional[bool] = None,
                    ether_type: Optional[str] = None,
                    fast_forward: Optional[bool] = None,
                    forward_delay: Optional[str] = None,
                    forward_reserved_addresses: Optional[bool] = None,
                    frame_types: Optional[str] = None,
                    igmp_snooping: Optional[bool] = None,
                    igmp_version: Optional[float] = None,
                    ingress_filtering: Optional[bool] = None,
                    interface_bridge_id: Optional[str] = None,
                    last_member_interval: Optional[str] = None,
                    last_member_query_count: Optional[float] = None,
                    max_hops: Optional[float] = None,
                    max_learned_entries: Optional[str] = None,
                    max_message_age: Optional[str] = None,
                    membership_interval: Optional[str] = None,
                    mld_version: Optional[float] = None,
                    mtu: Optional[str] = None,
                    multicast_querier: Optional[bool] = None,
                    multicast_router: Optional[str] = None,
                    mvrp: Optional[bool] = None,
                    name: Optional[str] = None,
                    port_cost_mode: Optional[str] = None,
                    priority: Optional[str] = None,
                    protocol_mode: Optional[str] = None,
                    pvid: Optional[float] = None,
                    querier_interval: Optional[str] = None,
                    query_interval: Optional[str] = None,
                    query_response_interval: Optional[str] = None,
                    region_name: Optional[str] = None,
                    region_revision: Optional[float] = None,
                    startup_query_count: Optional[float] = None,
                    startup_query_interval: Optional[str] = None,
                    transmit_hold_count: Optional[float] = None,
                    vlan_filtering: Optional[bool] = None)
func NewInterfaceBridge(ctx *Context, name string, args *InterfaceBridgeArgs, opts ...ResourceOption) (*InterfaceBridge, error)
public InterfaceBridge(string name, InterfaceBridgeArgs? args = null, CustomResourceOptions? opts = null)
public InterfaceBridge(String name, InterfaceBridgeArgs args)
public InterfaceBridge(String name, InterfaceBridgeArgs args, CustomResourceOptions options)
type: routeros:InterfaceBridge
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

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

AddDhcpOption82 bool
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
AdminMac string
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
AgeingTime string
How long a host's information will be kept in the bridge database.
Arp string
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
ArpTimeout string
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
AutoMac bool
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
Comment string
DhcpSnooping bool
Disabled bool
EtherType string
This property only has effect when vlan-filtering is set to yes.
FastForward bool
ForwardDelay string
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
ForwardReservedAddresses bool
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
FrameTypes string
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
IgmpSnooping bool
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
IgmpVersion double
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
IngressFiltering bool
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
InterfaceBridgeId string
LastMemberInterval string
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
LastMemberQueryCount double
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
MaxHops double
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
MaxLearnedEntries string
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
MaxMessageAge string
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
MembershipInterval string
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
MldVersion double
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
Mtu string
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
MulticastQuerier bool
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
MulticastRouter string
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
Mvrp bool
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
Name string
PortCostMode string
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
Priority string
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
ProtocolMode string
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
Pvid double
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
QuerierInterval string
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryInterval string
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryResponseInterval string
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
RegionName string
MSTP region name. This property only has effect when protocol-mode is set to mstp.
RegionRevision double
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
StartupQueryCount double
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
StartupQueryInterval string
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
TransmitHoldCount double
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
VlanFiltering bool
Globally enables or disables VLAN functionality for bridge.
___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.
AddDhcpOption82 bool
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
AdminMac string
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
AgeingTime string
How long a host's information will be kept in the bridge database.
Arp string
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
ArpTimeout string
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
AutoMac bool
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
Comment string
DhcpSnooping bool
Disabled bool
EtherType string
This property only has effect when vlan-filtering is set to yes.
FastForward bool
ForwardDelay string
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
ForwardReservedAddresses bool
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
FrameTypes string
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
IgmpSnooping bool
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
IgmpVersion float64
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
IngressFiltering bool
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
InterfaceBridgeId string
LastMemberInterval string
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
LastMemberQueryCount float64
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
MaxHops float64
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
MaxLearnedEntries string
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
MaxMessageAge string
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
MembershipInterval string
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
MldVersion float64
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
Mtu string
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
MulticastQuerier bool
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
MulticastRouter string
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
Mvrp bool
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
Name string
PortCostMode string
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
Priority string
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
ProtocolMode string
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
Pvid float64
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
QuerierInterval string
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryInterval string
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryResponseInterval string
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
RegionName string
MSTP region name. This property only has effect when protocol-mode is set to mstp.
RegionRevision float64
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
StartupQueryCount float64
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
StartupQueryInterval string
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
TransmitHoldCount float64
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
VlanFiltering bool
Globally enables or disables VLAN functionality for bridge.
___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.
addDhcpOption82 Boolean
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
adminMac String
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageingTime String
How long a host's information will be kept in the bridge database.
arp String
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arpTimeout String
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
autoMac Boolean
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment String
dhcpSnooping Boolean
disabled Boolean
etherType String
This property only has effect when vlan-filtering is set to yes.
fastForward Boolean
forwardDelay String
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forwardReservedAddresses Boolean
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frameTypes String
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmpSnooping Boolean
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmpVersion Double
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingressFiltering Boolean
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interfaceBridgeId String
lastMemberInterval String
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
lastMemberQueryCount Double
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
maxHops Double
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
maxLearnedEntries String
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
maxMessageAge String
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membershipInterval String
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mldVersion Double
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu String
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicastQuerier Boolean
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicastRouter String
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp Boolean
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name String
portCostMode String
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority String
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocolMode String
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid Double
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querierInterval String
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryInterval String
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryResponseInterval String
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
regionName String
MSTP region name. This property only has effect when protocol-mode is set to mstp.
regionRevision Double
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
startupQueryCount Double
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startupQueryInterval String
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmitHoldCount Double
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlanFiltering Boolean
Globally enables or disables VLAN functionality for bridge.
___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.
addDhcpOption82 boolean
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
adminMac string
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageingTime string
How long a host's information will be kept in the bridge database.
arp string
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arpTimeout string
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
autoMac boolean
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment string
dhcpSnooping boolean
disabled boolean
etherType string
This property only has effect when vlan-filtering is set to yes.
fastForward boolean
forwardDelay string
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forwardReservedAddresses boolean
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frameTypes string
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmpSnooping boolean
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmpVersion number
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingressFiltering boolean
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interfaceBridgeId string
lastMemberInterval string
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
lastMemberQueryCount number
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
maxHops number
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
maxLearnedEntries string
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
maxMessageAge string
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membershipInterval string
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mldVersion number
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu string
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicastQuerier boolean
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicastRouter string
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp boolean
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name string
portCostMode string
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority string
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocolMode string
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid number
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querierInterval string
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryInterval string
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryResponseInterval string
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
regionName string
MSTP region name. This property only has effect when protocol-mode is set to mstp.
regionRevision number
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
startupQueryCount number
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startupQueryInterval string
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmitHoldCount number
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlanFiltering boolean
Globally enables or disables VLAN functionality for bridge.
___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.
add_dhcp_option82 bool
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
admin_mac str
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageing_time str
How long a host's information will be kept in the bridge database.
arp str
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arp_timeout str
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
auto_mac bool
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment str
dhcp_snooping bool
disabled bool
ether_type str
This property only has effect when vlan-filtering is set to yes.
fast_forward bool
forward_delay str
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forward_reserved_addresses bool
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frame_types str
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmp_snooping bool
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmp_version float
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingress_filtering bool
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interface_bridge_id str
last_member_interval str
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
last_member_query_count float
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
max_hops float
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
max_learned_entries str
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
max_message_age str
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membership_interval str
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mld_version float
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu str
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicast_querier bool
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicast_router str
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp bool
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name str
port_cost_mode str
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority str
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocol_mode str
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid float
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querier_interval str
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
query_interval str
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
query_response_interval str
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
region_name str
MSTP region name. This property only has effect when protocol-mode is set to mstp.
region_revision float
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
startup_query_count float
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startup_query_interval str
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmit_hold_count float
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlan_filtering bool
Globally enables or disables VLAN functionality for bridge.
___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.
addDhcpOption82 Boolean
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
adminMac String
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageingTime String
How long a host's information will be kept in the bridge database.
arp String
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arpTimeout String
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
autoMac Boolean
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment String
dhcpSnooping Boolean
disabled Boolean
etherType String
This property only has effect when vlan-filtering is set to yes.
fastForward Boolean
forwardDelay String
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forwardReservedAddresses Boolean
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frameTypes String
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmpSnooping Boolean
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmpVersion Number
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingressFiltering Boolean
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interfaceBridgeId String
lastMemberInterval String
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
lastMemberQueryCount Number
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
maxHops Number
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
maxLearnedEntries String
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
maxMessageAge String
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membershipInterval String
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mldVersion Number
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu String
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicastQuerier Boolean
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicastRouter String
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp Boolean
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name String
portCostMode String
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority String
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocolMode String
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid Number
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querierInterval String
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryInterval String
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryResponseInterval String
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
regionName String
MSTP region name. This property only has effect when protocol-mode is set to mstp.
regionRevision Number
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
startupQueryCount Number
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startupQueryInterval String
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmitHoldCount Number
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlanFiltering Boolean
Globally enables or disables VLAN functionality for bridge.

Outputs

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

ActualMtu double
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.
L2mtu double
Layer2 Maximum transmission unit. See.
MacAddress string
Current mac address.
Running bool
ActualMtu float64
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.
L2mtu float64
Layer2 Maximum transmission unit. See.
MacAddress string
Current mac address.
Running bool
actualMtu Double
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.
l2mtu Double
Layer2 Maximum transmission unit. See.
macAddress String
Current mac address.
running Boolean
actualMtu number
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.
l2mtu number
Layer2 Maximum transmission unit. See.
macAddress string
Current mac address.
running boolean
actual_mtu float
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.
l2mtu float
Layer2 Maximum transmission unit. See.
mac_address str
Current mac address.
running bool
actualMtu Number
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.
l2mtu Number
Layer2 Maximum transmission unit. See.
macAddress String
Current mac address.
running Boolean

Look up Existing InterfaceBridge Resource

Get an existing InterfaceBridge 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?: InterfaceBridgeState, opts?: CustomResourceOptions): InterfaceBridge
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ___id_: Optional[float] = None,
        ___path_: Optional[str] = None,
        actual_mtu: Optional[float] = None,
        add_dhcp_option82: Optional[bool] = None,
        admin_mac: Optional[str] = None,
        ageing_time: Optional[str] = None,
        arp: Optional[str] = None,
        arp_timeout: Optional[str] = None,
        auto_mac: Optional[bool] = None,
        comment: Optional[str] = None,
        dhcp_snooping: Optional[bool] = None,
        disabled: Optional[bool] = None,
        dynamic: Optional[bool] = None,
        ether_type: Optional[str] = None,
        fast_forward: Optional[bool] = None,
        forward_delay: Optional[str] = None,
        forward_reserved_addresses: Optional[bool] = None,
        frame_types: Optional[str] = None,
        igmp_snooping: Optional[bool] = None,
        igmp_version: Optional[float] = None,
        ingress_filtering: Optional[bool] = None,
        interface_bridge_id: Optional[str] = None,
        l2mtu: Optional[float] = None,
        last_member_interval: Optional[str] = None,
        last_member_query_count: Optional[float] = None,
        mac_address: Optional[str] = None,
        max_hops: Optional[float] = None,
        max_learned_entries: Optional[str] = None,
        max_message_age: Optional[str] = None,
        membership_interval: Optional[str] = None,
        mld_version: Optional[float] = None,
        mtu: Optional[str] = None,
        multicast_querier: Optional[bool] = None,
        multicast_router: Optional[str] = None,
        mvrp: Optional[bool] = None,
        name: Optional[str] = None,
        port_cost_mode: Optional[str] = None,
        priority: Optional[str] = None,
        protocol_mode: Optional[str] = None,
        pvid: Optional[float] = None,
        querier_interval: Optional[str] = None,
        query_interval: Optional[str] = None,
        query_response_interval: Optional[str] = None,
        region_name: Optional[str] = None,
        region_revision: Optional[float] = None,
        running: Optional[bool] = None,
        startup_query_count: Optional[float] = None,
        startup_query_interval: Optional[str] = None,
        transmit_hold_count: Optional[float] = None,
        vlan_filtering: Optional[bool] = None) -> InterfaceBridge
func GetInterfaceBridge(ctx *Context, name string, id IDInput, state *InterfaceBridgeState, opts ...ResourceOption) (*InterfaceBridge, error)
public static InterfaceBridge Get(string name, Input<string> id, InterfaceBridgeState? state, CustomResourceOptions? opts = null)
public static InterfaceBridge get(String name, Output<String> id, InterfaceBridgeState state, CustomResourceOptions options)
resources:  _:    type: routeros:InterfaceBridge    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ActualMtu double
AddDhcpOption82 bool
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
AdminMac string
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
AgeingTime string
How long a host's information will be kept in the bridge database.
Arp string
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
ArpTimeout string
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
AutoMac bool
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
Comment string
DhcpSnooping bool
Disabled bool
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
EtherType string
This property only has effect when vlan-filtering is set to yes.
FastForward bool
ForwardDelay string
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
ForwardReservedAddresses bool
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
FrameTypes string
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
IgmpSnooping bool
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
IgmpVersion double
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
IngressFiltering bool
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
InterfaceBridgeId string
L2mtu double
Layer2 Maximum transmission unit. See.
LastMemberInterval string
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
LastMemberQueryCount double
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
MacAddress string
Current mac address.
MaxHops double
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
MaxLearnedEntries string
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
MaxMessageAge string
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
MembershipInterval string
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
MldVersion double
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
Mtu string
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
MulticastQuerier bool
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
MulticastRouter string
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
Mvrp bool
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
Name string
PortCostMode string
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
Priority string
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
ProtocolMode string
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
Pvid double
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
QuerierInterval string
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryInterval string
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryResponseInterval string
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
RegionName string
MSTP region name. This property only has effect when protocol-mode is set to mstp.
RegionRevision double
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
Running bool
StartupQueryCount double
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
StartupQueryInterval string
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
TransmitHoldCount double
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
VlanFiltering bool
Globally enables or disables VLAN functionality for bridge.
___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.
ActualMtu float64
AddDhcpOption82 bool
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
AdminMac string
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
AgeingTime string
How long a host's information will be kept in the bridge database.
Arp string
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
ArpTimeout string
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
AutoMac bool
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
Comment string
DhcpSnooping bool
Disabled bool
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
EtherType string
This property only has effect when vlan-filtering is set to yes.
FastForward bool
ForwardDelay string
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
ForwardReservedAddresses bool
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
FrameTypes string
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
IgmpSnooping bool
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
IgmpVersion float64
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
IngressFiltering bool
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
InterfaceBridgeId string
L2mtu float64
Layer2 Maximum transmission unit. See.
LastMemberInterval string
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
LastMemberQueryCount float64
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
MacAddress string
Current mac address.
MaxHops float64
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
MaxLearnedEntries string
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
MaxMessageAge string
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
MembershipInterval string
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
MldVersion float64
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
Mtu string
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
MulticastQuerier bool
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
MulticastRouter string
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
Mvrp bool
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
Name string
PortCostMode string
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
Priority string
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
ProtocolMode string
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
Pvid float64
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
QuerierInterval string
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryInterval string
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
QueryResponseInterval string
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
RegionName string
MSTP region name. This property only has effect when protocol-mode is set to mstp.
RegionRevision float64
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
Running bool
StartupQueryCount float64
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
StartupQueryInterval string
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
TransmitHoldCount float64
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
VlanFiltering bool
Globally enables or disables VLAN functionality for bridge.
___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.
actualMtu Double
addDhcpOption82 Boolean
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
adminMac String
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageingTime String
How long a host's information will be kept in the bridge database.
arp String
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arpTimeout String
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
autoMac Boolean
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment String
dhcpSnooping Boolean
disabled Boolean
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
etherType String
This property only has effect when vlan-filtering is set to yes.
fastForward Boolean
forwardDelay String
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forwardReservedAddresses Boolean
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frameTypes String
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmpSnooping Boolean
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmpVersion Double
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingressFiltering Boolean
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interfaceBridgeId String
l2mtu Double
Layer2 Maximum transmission unit. See.
lastMemberInterval String
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
lastMemberQueryCount Double
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
macAddress String
Current mac address.
maxHops Double
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
maxLearnedEntries String
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
maxMessageAge String
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membershipInterval String
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mldVersion Double
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu String
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicastQuerier Boolean
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicastRouter String
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp Boolean
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name String
portCostMode String
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority String
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocolMode String
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid Double
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querierInterval String
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryInterval String
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryResponseInterval String
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
regionName String
MSTP region name. This property only has effect when protocol-mode is set to mstp.
regionRevision Double
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
running Boolean
startupQueryCount Double
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startupQueryInterval String
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmitHoldCount Double
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlanFiltering Boolean
Globally enables or disables VLAN functionality for bridge.
___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.
actualMtu number
addDhcpOption82 boolean
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
adminMac string
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageingTime string
How long a host's information will be kept in the bridge database.
arp string
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arpTimeout string
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
autoMac boolean
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment string
dhcpSnooping boolean
disabled boolean
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
etherType string
This property only has effect when vlan-filtering is set to yes.
fastForward boolean
forwardDelay string
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forwardReservedAddresses boolean
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frameTypes string
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmpSnooping boolean
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmpVersion number
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingressFiltering boolean
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interfaceBridgeId string
l2mtu number
Layer2 Maximum transmission unit. See.
lastMemberInterval string
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
lastMemberQueryCount number
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
macAddress string
Current mac address.
maxHops number
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
maxLearnedEntries string
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
maxMessageAge string
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membershipInterval string
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mldVersion number
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu string
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicastQuerier boolean
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicastRouter string
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp boolean
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name string
portCostMode string
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority string
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocolMode string
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid number
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querierInterval string
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryInterval string
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryResponseInterval string
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
regionName string
MSTP region name. This property only has effect when protocol-mode is set to mstp.
regionRevision number
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
running boolean
startupQueryCount number
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startupQueryInterval string
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmitHoldCount number
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlanFiltering boolean
Globally enables or disables VLAN functionality for bridge.
___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.
actual_mtu float
add_dhcp_option82 bool
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
admin_mac str
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageing_time str
How long a host's information will be kept in the bridge database.
arp str
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arp_timeout str
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
auto_mac bool
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment str
dhcp_snooping bool
disabled bool
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
ether_type str
This property only has effect when vlan-filtering is set to yes.
fast_forward bool
forward_delay str
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forward_reserved_addresses bool
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frame_types str
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmp_snooping bool
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmp_version float
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingress_filtering bool
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interface_bridge_id str
l2mtu float
Layer2 Maximum transmission unit. See.
last_member_interval str
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
last_member_query_count float
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
mac_address str
Current mac address.
max_hops float
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
max_learned_entries str
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
max_message_age str
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membership_interval str
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mld_version float
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu str
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicast_querier bool
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicast_router str
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp bool
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name str
port_cost_mode str
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority str
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocol_mode str
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid float
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querier_interval str
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
query_interval str
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
query_response_interval str
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
region_name str
MSTP region name. This property only has effect when protocol-mode is set to mstp.
region_revision float
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
running bool
startup_query_count float
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startup_query_interval str
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmit_hold_count float
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlan_filtering bool
Globally enables or disables VLAN functionality for bridge.
___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.
actualMtu Number
addDhcpOption82 Boolean
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
adminMac String
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
ageingTime String
How long a host's information will be kept in the bridge database.
arp String
Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
arpTimeout String
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
autoMac Boolean
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
comment String
dhcpSnooping Boolean
disabled Boolean
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
etherType String
This property only has effect when vlan-filtering is set to yes.
fastForward Boolean
forwardDelay String
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
forwardReservedAddresses Boolean
An option whether to forward IEEE reserved multicast MAC addresses that are in the 01:80:C2:00:00:0x range. This option is available in RouterOS starting from version 7.16.
frameTypes String
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
igmpSnooping Boolean
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
igmpVersion Number
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
ingressFiltering Boolean
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
interfaceBridgeId String
l2mtu Number
Layer2 Maximum transmission unit. See.
lastMemberInterval String
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
lastMemberQueryCount Number
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
macAddress String
Current mac address.
maxHops Number
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
maxLearnedEntries String
An option to set the maximum number of learned hosts for the bridge interface. This option is available in RouterOS starting from version 7.16.
maxMessageAge String
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
membershipInterval String
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
mldVersion Number
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
mtu String
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
multicastQuerier Boolean
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
multicastRouter String
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
mvrp Boolean
Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled.
name String
portCostMode String
An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.
priority String
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
protocolMode String
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
pvid Number
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
querierInterval String
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryInterval String
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
queryResponseInterval String
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
regionName String
MSTP region name. This property only has effect when protocol-mode is set to mstp.
regionRevision Number
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
running Boolean
startupQueryCount Number
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
startupQueryInterval String
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
transmitHoldCount Number
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
vlanFiltering Boolean
Globally enables or disables VLAN functionality for bridge.

Import

#The ID can be found via API or the terminal

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

$ pulumi import routeros:index/interfaceBridge:InterfaceBridge bridge "*1"
Copy

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.