Mixed tagging is supported for Gigabit Ethernet interfaces on Gigabit Ethernet IQ2 and IQ or IQE PICs on M-series and T-series routing platforms, for all MX-series router Gigabit and 10-Gigabit Ethernet interfaces, and for aggregated Ethernet interfaces with member links in IQ2 PICs or in MX-series DPCs. Mixed tagging lets you configure two logical interfaces on the same Ethernet port, one with single-tag framing and one with dual-tag framing.
![]() |
Note: Mixed tagging is not supported on Fast Ethernet interfaces or on J-series Services Routers. |
To configure mixed tagging, include the flexible-vlan-tagging statement at the [edit interfaces ge-fpc/pic/port ] hierarchy level. You must also include the vlan-tags statement with inner and outer options or the vlan-id statement at the [edit interfaces ge-fpc/pic/port unit logical-unit-number] hierarchy level:
- [edit interfaces ge-fpc/pic/port]
-
flexible-vlan-tagging;
-
unit logical-unit-number {
-
vlan-id number;
-
-
family family {
-
address address;
- }
- }
-
unit logical-unit-number {
-
vlan-tags inner tpid.vlan-id outer tpid.vlan-id;
-
- family family {
- address address;
- }
- }
![]() |
Note: When you configure the physical interface MTU for mixed tagging, you must increase the MTU to 4 bytes more than the MTU value you would configure for a standard VLAN-tagged interface. For example, if the MTU value is configured to be 1018 on a VLAN-tagged interface, then the MTU value on a flexible VLAN tagged interface must be 1022—4 bytes more. The additional 4 bytes accommodates the future addition of a stacked VLAN tag configuration on the same physical interface. If the same physical interface MTU value is configured on both the VLAN and flexible VLAN-tag routers, the L2 circuit configuration does not come up and a MTU mismatch is logged. However, normal traffic flow is unaffected. |