Skip to main content
Version: current

bridge


interface/bridge

Conditions: MSRP_ENABLE
Type: Directory

FlagNameDescription
Ymanagedmanaged
Ddynamicdynamic
Xdisableddisabled
Rrunningrunning
ArgumentTypeDescription
namestring
mtunum
arpenum (disabled | enabled | proxy-arp | reply-only | local-proxy-arp) { disabled:0, enabled:1, proxy-arp:2, reply-only:3, local-proxy-arp:4 }
arp-timeoutalt { arp-timeout: enum (auto) { auto:0 } , arp-timeout: time }
protocol-modeenum (none | stp | rstp | mstp) { none:0, stp:1, rstp:2, mstp:3 }
fast-forwardbool
igmp-snoopingbool
multicast-routerenum (disabled | temporary-query | permanent) { disabled:0, temporary-query:1, permanent:2 }
multicast-querierbool
querier-uses-bridge-addressbool
startup-query-countnum
last-member-query-countnum
last-member-intervaltime
membership-intervaltime
querier-intervaltime
query-intervaltime
query-response-intervaltime
startup-query-intervaltime
igmp-versionenum (2 | 3) { 2:2, 3:3 }
mld-versionenum (1 | 2) { 1:1, 2:2 }
auto-macbool
admin-macmacAddr
ageing-timetime
priorityalt { priority: enum (0x0000 | 0x1000 | 0x2000 | 0x3000 | 0x4000 | 0x5000 | 0x6000 | 0x7000 | 0x8000 | 0x9000 | 0xa000 | 0xb000 | 0xc000 | 0xd000 | 0xe000 | 0xf000) { 0x0000:0x0000, 0x1000:0x1000, 0x2000:0x2000, 0x3000:0x3000, 0x4000:0x4000, 0x5000:0x5000, 0x6000:0x6000, 0x7000:0x7000, 0x8000:0x8000, 0x9000:0x9000, 0xa000:0xa000, 0xb000:0xb000, 0xc000:0xc000, 0xd000:0xd000, 0xe000:0xe000, 0xf000:0xf000 } , priority: num [0 .. 65535] }
max-message-agetime
forward-delaytime
transmit-hold-countnum
region-namestring
region-revisionnum
max-hopsnum
vlan-filteringbool
ether-typeenum (0x8100 | 0x88a8 | 0x9100) { 0x8100:0x8100, 0x88a8:0x88a8, 0x9100:0x9100 }
pvidnum
frame-typesenum (admit-all | admit-only-vlan-tagged | admit-only-untagged-and-priority-tagged) { admit-all:0, admit-only-vlan-tagged:1, admit-only-untagged-and-priority-tagged:2 }
ingress-filteringbool
dhcp-snoopingbool
dhcp-agent-circuit-idstring

Specify the relay agent circuit-id suboption value of the option 82 to be added to the DHCP messages passing through the bridge. The string length is limited to 255 characters with the default value being: $(INTERFACE):$(VID). The string value can contain variables, whose names must be enclosed in parentheses and prepended by a dollar sign. Example: 'some_arbitrary_text $(VID) another_piece_of_text $(INTERFACE)'. The following variables are supported: HOSTNAME, INTERFACE, VID and BRIDGEMAC. For the compatibility with previous versions, where the remote-id value was fixed, the semicolon appearing in the default value expression is not included in the remote-id value, in the case when the vlan filtering is not enabled.

dhcp-agent-remote-idstring

Specify the relay agent remote-id suboption value of the option 82 to be added to the DHCP messages passing through the bridge. The string length is limited to 255 characters with the default value being: $(BRIDGEMAC). The string value can contain variables, whose names must be enclosed in parentheses and prepended by a dollar sign. Example: 'some_arbitrary_text $(HOSTNAME) another_piece_of_text $(BRIDGEMAC)'. The following variables are supported: HOSTNAME, INTERFACE, VID and BRIDGEMAC.

arp-inspectionbool
dhcpv6-snoopingbool
dhcpv6-agent-circuit-idstring

Specify the DHCPv6 option 18 value to be added to the DHCPv6 messages passing through the bridge. The string length is limited to 255 characters with the default value being: $(INTERFACE):$(VID). The string value can contain variables, whose names must be enclosed in parentheses and prepended by a dollar sign. Example: 'some_arbitrary_text $(VID) another_piece_of_text $(INTERFACE)'. The following variables are supported: HOSTNAME, INTERFACE, VID and BRIDGEMAC.

dhcpv6-agent-remote-idstring

Specify the DHCPv6 option 37 value to be added to the DHCPv6 messages passing through the bridge. The string length is limited to 255 characters with the default value being: $(BRIDGEMAC). The string value can contain variables, whose names must be enclosed in parentheses and prepended by a dollar sign. Example: 'some_arbitrary_text $(VID) another_piece_of_text $(INTERFACE)'. The following variables are supported: HOSTNAME, INTERFACE, VID and BRIDGEMAC.

ip-source-guardbool
ra-guardbool
port-cost-modeenum (short | long)
mvrpbool
msrpbool
forward-reserved-addressesbool
max-learned-entriesalt { max-learned-entries: enum (unlimited | auto) , max-learned-entries: num }
mlag-peer-portalt { interface: iface_enum { none } , interface-bond: iface_enum }

An interface that will be used as a peer port. Both peer devices are using inter-chassis communication over these peer ports to establish MLAG and update the host table.
Peer ports can be configured as single Ethernet interfaces or bonding interfaces. However, using a bonding interface is recommended, as it helps prevent a single interface failure from affecting connectivity, especially when both MLAG nodes are still up and running.
It is recommended to keep the untagged VLAN used by the peer ports separate from the rest of your network, either by assigning a dedicated untagged VLAN (using pvid), or by setting the peer port to only allow VLAN tagged frames (using frame-types=admit-only-vlan-tagged).
All VLANs used for bridge slave ports must also be configured as tagged VLANs for peer-port (in the /interface/bridge/vlan table), so that peer-port is a member of those VLANs and can forward data.

mlag-prioritynumThis setting changes the priority for selecting the primary MLAG node. A lower number means higher priority. If both MLAG nodes have the same priority, the one with the lowest bridge MAC address will become the primary device.
mlag-heartbeatalt { mlag-heartbeat: enum (none) { none:0 } , mlag-heartbeat: time [1s .. 10s] }This setting controls how often heartbeat messages are sent to check the connection between peers. If no heartbeat message is received for three intervals in a row, the peer logs a warning about potential communication problems. If set to none, heartbeat messages are not sent at all.
mlag-init-delaytime
mlag-lacp-fallbackbool
Read-only ArgumentTypeDescription
actual-mtunum
l2mtunum
mac-addressmacAddr