Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
I am looking to configure a bridge domain on MX480, to establish comms between a trunk port on the carrier side, and an access port on the internal side.
Internal side => Access port ge-2/0/1
set interfaces ge-2/0/1 encapsulation ethernet-bridgeset interfaces ge-2/0/1 unit 0 family bridge vlan-id 151
External => VLAN tagged trafficset interfaces xe-0/0/5 flexible-vlan-taggingset interfaces xe-0/0/5 encapsulation flexible-ethernet-servicesset interfaces xe-0/0/5 unit 151 vlan-id 151set interfaces xe-0/0/5 unit 151 family bridge
set bridge-domains BD-151 domain-type bridgeset bridge-domains BD-151 vlan-id 151set bridge-domains BD-151 interface ge-2/0/1.0set bridge-domains BD-151 interface xe-0/0/5.151
However, the commit fails with the below message.
# commit check re0: error: To configure family bridge on an interface , interface mode (access or trunk) should be specifiederror: configuration check-out failed
If I manually set the interface to "access" then it complains about the BD which I believe is a Trio limitation.
commit check re0: [edit bridge-domains BD-151 interface] 'ge-2/0/1.0' Interface with 'interface-mode' is not allowed in a bridge-domainerror: configuration check-out failed: (statements constraint check failed)
Not sure what I am missing here. Can someone what's causing it and how to accomplish this L2 stitching on MX please?
The issue got resolved on review after applying the missing line of configuration.
set interfaces xe-0/0/5 unit 151 encapsulation vlan-bridge