The command "set bridge-domains" itself wont be considered while configuring
For your query related to IRB configuration on ACX7K devices, we have a new method here
As per the below public documentation, the ACX7K series doesn't support Bridge-domain configuration and its altered as VLAN configuration. The below mentioned link talks about the syntax formats.
https://www.juniper.net/documentation/us/en/software/junos/multicast-l2/topics/topic-map/layer-2-understanding.html#id-layer-2-next-generation-mode-for-acx-series
set vlans Public-01 vlan-id 126
set vlans Public-01 l3-interface irb.126
set interfaces irb unit 126 family inet address 10.0.0.1/29
set interfaces ae1 encapsulation ethernet-bridge
set interfaces ae1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae1 unit 0 family ethernet-switching vlan members Public-01
Further to add, we can also use below encapsulation type for the configuration with Vlan-tagging and its purely based on your requirement.
Flexible-ethernet-services encapsulation:
The command is used for vlan-tagging related configuration and encapsulation you are going to use will be used for multiple service types of ethernet-encapsulation.
https://www.juniper.net/documentation/us/en/software/junos/interfaces-ethernet-switches/topics/topic-map/switches-interface-flexible.html
https://www.juniper.net/documentation/us/en/software/junos/evpn/topics/concept/vxlan-l2-l3-l2vxlan.html
Regards,
SankarG