routeros.Bridge
Explore with Pulumi AI
# routeros.Bridge (Resource)
This is an alias for backwards compatibility between plugin versions.
Please see documentation for routeros.InterfaceBridge
Create Bridge Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Bridge(name: string, args?: BridgeArgs, opts?: CustomResourceOptions);
@overload
def Bridge(resource_name: str,
args: Optional[BridgeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Bridge(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,
bridge_id: Optional[str] = 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,
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 NewBridge(ctx *Context, name string, args *BridgeArgs, opts ...ResourceOption) (*Bridge, error)
public Bridge(string name, BridgeArgs? args = null, CustomResourceOptions? opts = null)
public Bridge(String name, BridgeArgs args)
public Bridge(String name, BridgeArgs args, CustomResourceOptions options)
type: routeros:Bridge
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BridgeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BridgeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BridgeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BridgeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BridgeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Bridge 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 Bridge resource accepts the following input properties:
- Add
Dhcp boolOption82 - 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 string - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- Ageing
Time 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.
- Arp
Timeout 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. - 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.
- Bridge
Id string - Comment string
- Dhcp
Snooping bool - Disabled bool
- Ether
Type string - This property only has effect when vlan-filtering is set to yes.
- Fast
Forward bool - Forward
Delay 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.
- Forward
Reserved boolAddresses - 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 string - 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 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.
- 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.
- Last
Member stringInterval - 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 doubleQuery Count - 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 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.
- Max
Learned stringEntries - 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 stringAge - 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 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.
- Mld
Version 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.
- 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 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
- Port
Cost stringMode - 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.
- Protocol
Mode 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.
- Querier
Interval 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.
- Query
Interval 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.
- Query
Response stringInterval - 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 string - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- Region
Revision double - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- Startup
Query doubleCount - 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 stringInterval - 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 doubleCount - 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_ 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.
- Add
Dhcp boolOption82 - 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 string - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- Ageing
Time 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.
- Arp
Timeout 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. - 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.
- Bridge
Id string - Comment string
- Dhcp
Snooping bool - Disabled bool
- Ether
Type string - This property only has effect when vlan-filtering is set to yes.
- Fast
Forward bool - Forward
Delay 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.
- Forward
Reserved boolAddresses - 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 string - 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 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.
- 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.
- Last
Member stringInterval - 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 float64Query Count - 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 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.
- Max
Learned stringEntries - 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 stringAge - 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 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.
- Mld
Version 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.
- 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 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
- Port
Cost stringMode - 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.
- Protocol
Mode 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.
- Querier
Interval 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.
- Query
Interval 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.
- Query
Response stringInterval - 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 string - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- Region
Revision float64 - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- Startup
Query float64Count - 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 stringInterval - 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 float64Count - 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_ 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.
- add
Dhcp BooleanOption82 - 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 String - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- ageing
Time 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.
- arp
Timeout 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. - auto
Mac 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.
- bridge
Id String - comment String
- dhcp
Snooping Boolean - disabled Boolean
- ether
Type String - This property only has effect when vlan-filtering is set to yes.
- fast
Forward Boolean - forward
Delay 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.
- forward
Reserved BooleanAddresses - 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 String - Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
- igmp
Snooping Boolean - Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
- igmp
Version 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.
- ingress
Filtering 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.
- last
Member StringInterval - 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 DoubleQuery Count - 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 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.
- max
Learned StringEntries - 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 StringAge - 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 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.
- mld
Version 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.
- multicast
Querier 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.
- multicast
Router 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
- port
Cost StringMode - 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.
- protocol
Mode 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.
- querier
Interval 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.
- query
Interval 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.
- query
Response StringInterval - 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 String - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- region
Revision Double - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- startup
Query DoubleCount - 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 StringInterval - 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 DoubleCount - The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
- vlan
Filtering 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.
- add
Dhcp booleanOption82 - 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 string - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- ageing
Time 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.
- arp
Timeout 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. - auto
Mac 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.
- bridge
Id string - comment string
- dhcp
Snooping boolean - disabled boolean
- ether
Type string - This property only has effect when vlan-filtering is set to yes.
- fast
Forward boolean - forward
Delay 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.
- forward
Reserved booleanAddresses - 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 string - Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
- igmp
Snooping boolean - Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
- igmp
Version 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.
- ingress
Filtering 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.
- last
Member stringInterval - 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 numberQuery Count - 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 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.
- max
Learned stringEntries - 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 stringAge - 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 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.
- mld
Version 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.
- multicast
Querier 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.
- multicast
Router 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
- port
Cost stringMode - 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.
- protocol
Mode 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.
- querier
Interval 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.
- query
Interval 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.
- query
Response stringInterval - 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 string - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- region
Revision number - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- startup
Query numberCount - 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 stringInterval - 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 numberCount - The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
- vlan
Filtering 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_ booloption82 - 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.
- bridge_
id str - 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_ booladdresses - 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.
- last_
member_ strinterval - 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_ floatquery_ count - 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_ strentries - 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_ strage - 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_ strmode - 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_ strinterval - 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_ floatcount - 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_ strinterval - 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_ floatcount - 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.
- add
Dhcp BooleanOption82 - 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 String - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- ageing
Time 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.
- arp
Timeout 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. - auto
Mac 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.
- bridge
Id String - comment String
- dhcp
Snooping Boolean - disabled Boolean
- ether
Type String - This property only has effect when vlan-filtering is set to yes.
- fast
Forward Boolean - forward
Delay 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.
- forward
Reserved BooleanAddresses - 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 String - Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
- igmp
Snooping Boolean - Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
- igmp
Version 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.
- ingress
Filtering 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.
- last
Member StringInterval - 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 NumberQuery Count - 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 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.
- max
Learned StringEntries - 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 StringAge - 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 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.
- mld
Version 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.
- multicast
Querier 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.
- multicast
Router 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
- port
Cost StringMode - 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.
- protocol
Mode 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.
- querier
Interval 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.
- query
Interval 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.
- query
Response StringInterval - 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 String - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- region
Revision Number - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- startup
Query NumberCount - 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 StringInterval - 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 NumberCount - The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
- vlan
Filtering Boolean - Globally enables or disables VLAN functionality for bridge.
Outputs
All input properties are implicitly available as output properties. Additionally, the Bridge resource produces the following output properties:
- Actual
Mtu 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.
- Mac
Address string - Current mac address.
- Running bool
- Actual
Mtu 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.
- Mac
Address string - Current mac address.
- Running bool
- actual
Mtu 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.
- mac
Address String - Current mac address.
- running Boolean
- actual
Mtu 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.
- mac
Address 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
- actual
Mtu 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.
- mac
Address String - Current mac address.
- running Boolean
Look up Existing Bridge Resource
Get an existing Bridge 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?: BridgeState, opts?: CustomResourceOptions): Bridge
@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,
bridge_id: Optional[str] = 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,
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) -> Bridge
func GetBridge(ctx *Context, name string, id IDInput, state *BridgeState, opts ...ResourceOption) (*Bridge, error)
public static Bridge Get(string name, Input<string> id, BridgeState? state, CustomResourceOptions? opts = null)
public static Bridge get(String name, Output<String> id, BridgeState state, CustomResourceOptions options)
resources: _: type: routeros:Bridge get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Actual
Mtu double - Add
Dhcp boolOption82 - 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 string - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- Ageing
Time 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.
- Arp
Timeout 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. - 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.
- Bridge
Id string - Comment string
- 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 string - This property only has effect when vlan-filtering is set to yes.
- Fast
Forward bool - Forward
Delay 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.
- Forward
Reserved boolAddresses - 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 string - 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 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.
- 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.
- L2mtu double
- Layer2 Maximum transmission unit. See.
- Last
Member stringInterval - 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 doubleQuery Count - 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 string - Current mac address.
- Max
Hops 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.
- Max
Learned stringEntries - 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 stringAge - 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 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.
- Mld
Version 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.
- 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 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
- Port
Cost stringMode - 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.
- Protocol
Mode 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.
- Querier
Interval 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.
- Query
Interval 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.
- Query
Response stringInterval - 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 string - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- Region
Revision double - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- Running bool
- Startup
Query doubleCount - 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 stringInterval - 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 doubleCount - 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_ 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.
- Actual
Mtu float64 - Add
Dhcp boolOption82 - 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 string - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- Ageing
Time 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.
- Arp
Timeout 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. - 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.
- Bridge
Id string - Comment string
- 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 string - This property only has effect when vlan-filtering is set to yes.
- Fast
Forward bool - Forward
Delay 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.
- Forward
Reserved boolAddresses - 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 string - 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 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.
- 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.
- L2mtu float64
- Layer2 Maximum transmission unit. See.
- Last
Member stringInterval - 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 float64Query Count - 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 string - Current mac address.
- Max
Hops 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.
- Max
Learned stringEntries - 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 stringAge - 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 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.
- Mld
Version 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.
- 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 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
- Port
Cost stringMode - 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.
- Protocol
Mode 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.
- Querier
Interval 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.
- Query
Interval 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.
- Query
Response stringInterval - 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 string - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- Region
Revision float64 - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- Running bool
- Startup
Query float64Count - 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 stringInterval - 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 float64Count - 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_ 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.
- actual
Mtu Double - add
Dhcp BooleanOption82 - 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 String - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- ageing
Time 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.
- arp
Timeout 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. - auto
Mac 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.
- bridge
Id String - comment String
- dhcp
Snooping Boolean - disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- ether
Type String - This property only has effect when vlan-filtering is set to yes.
- fast
Forward Boolean - forward
Delay 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.
- forward
Reserved BooleanAddresses - 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 String - Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
- igmp
Snooping Boolean - Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
- igmp
Version 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.
- ingress
Filtering 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.
- l2mtu Double
- Layer2 Maximum transmission unit. See.
- last
Member StringInterval - 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 DoubleQuery Count - 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 String - Current mac address.
- max
Hops 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.
- max
Learned StringEntries - 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 StringAge - 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 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.
- mld
Version 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.
- multicast
Querier 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.
- multicast
Router 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
- port
Cost StringMode - 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.
- protocol
Mode 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.
- querier
Interval 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.
- query
Interval 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.
- query
Response StringInterval - 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 String - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- region
Revision Double - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- running Boolean
- startup
Query DoubleCount - 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 StringInterval - 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 DoubleCount - The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
- vlan
Filtering 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.
- actual
Mtu number - add
Dhcp booleanOption82 - 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 string - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- ageing
Time 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.
- arp
Timeout 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. - auto
Mac 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.
- bridge
Id string - comment string
- dhcp
Snooping boolean - disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- ether
Type string - This property only has effect when vlan-filtering is set to yes.
- fast
Forward boolean - forward
Delay 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.
- forward
Reserved booleanAddresses - 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 string - Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
- igmp
Snooping boolean - Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
- igmp
Version 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.
- ingress
Filtering 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.
- l2mtu number
- Layer2 Maximum transmission unit. See.
- last
Member stringInterval - 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 numberQuery Count - 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 string - Current mac address.
- max
Hops 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.
- max
Learned stringEntries - 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 stringAge - 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 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.
- mld
Version 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.
- multicast
Querier 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.
- multicast
Router 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
- port
Cost stringMode - 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.
- protocol
Mode 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.
- querier
Interval 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.
- query
Interval 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.
- query
Response stringInterval - 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 string - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- region
Revision number - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- running boolean
- startup
Query numberCount - 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 stringInterval - 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 numberCount - The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
- vlan
Filtering 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_ booloption82 - 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.
- bridge_
id str - 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_ booladdresses - 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.
- l2mtu float
- Layer2 Maximum transmission unit. See.
- last_
member_ strinterval - 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_ floatquery_ count - 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_ strentries - 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_ strage - 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_ strmode - 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_ strinterval - 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_ floatcount - 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_ strinterval - 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_ floatcount - 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.
- actual
Mtu Number - add
Dhcp BooleanOption82 - 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 String - Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
- ageing
Time 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.
- arp
Timeout 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. - auto
Mac 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.
- bridge
Id String - comment String
- dhcp
Snooping Boolean - disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- ether
Type String - This property only has effect when vlan-filtering is set to yes.
- fast
Forward Boolean - forward
Delay 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.
- forward
Reserved BooleanAddresses - 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 String - Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
- igmp
Snooping Boolean - Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
- igmp
Version 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.
- ingress
Filtering 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.
- l2mtu Number
- Layer2 Maximum transmission unit. See.
- last
Member StringInterval - 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 NumberQuery Count - 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 String - Current mac address.
- max
Hops 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.
- max
Learned StringEntries - 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 StringAge - 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 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.
- mld
Version 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.
- multicast
Querier 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.
- multicast
Router 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
- port
Cost StringMode - 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.
- protocol
Mode 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.
- querier
Interval 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.
- query
Interval 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.
- query
Response StringInterval - 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 String - MSTP region name. This property only has effect when protocol-mode is set to mstp.
- region
Revision Number - MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
- running Boolean
- startup
Query NumberCount - 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 StringInterval - 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 NumberCount - The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
- vlan
Filtering Boolean - Globally enables or disables VLAN functionality for bridge.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.