Configuring a Logical Interface for Trunk Mode
As an alternative to configuring a logical interface for each VLAN, enterprise network administrators can configure a single logical interface to accept untagged packets or packets tagged with any VLAN ID specified in a list of VLAN IDs. Using a VLAN ID list conserves switch resources and simplifies configuration. A logical interface configured to accept packets tagged with any VLAN ID specified in a list is called a trunk interface or trunk port. Trunk interface configuration is supported on MX Series routers only. Trunk interfaces support integrated routing and bridging (IRB).
To configure a logical interface to accept any packet tagged with a VLAN ID that matches the list of VLAN IDs, include the interface-mode statement and specify the trunk option:
You can include this statement at the following hierarchy levels:
[edit interfaces interface-name unit logical-unit-number family bridge]
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family bridge]