Configuring Access Mode on a Logical Interface
Enterprise network administrators can configure a single logical interface to accept untagged packets and forward the packets within a specified bridge domain. A logical interface configured to accept untagged packets is called an access interface or access port. Access interface configuration is supported on MX Series routers only.
To configure access mode on a logical interface, use the interface-mode access
statement at the [edit interfaces interface-name unit logical-unit-number family bridge]
hierarchy level or at the [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family bridge]
hierarchy level.
When an untagged packet is received on an access interface, the packet is accepted, the configured VLAN ID is added to the packet, and the packet is forwarded within the bridge domain that is configured with the matching VLAN ID.
The following example configures a logical interface as an access port with a VLAN ID of 20:
[edit interfaces ge-1/2/0] unit 0 { family bridge { interface-mode access; vlan-id 20; } }