The following example configures mixed tagging. Dual-tag and single-tag logical interfaces are under the same physical interface:
- [edit interfaces ge-3/0/1]
- flexible-vlan-tagging;
- unit 0 {
- vlan-id 232;
-
- family inet {
- address 10.66.1.2/30;
- }
- }
- unit 1 {
- vlan-tags outer 0x8100.222 inner 0x8100.221;
-
- family inet {
- address 10.66.1.2/30;
- }
- }
For information about binding VLAN IDs to a logical interface using the vlan-id statement, see Binding a VLAN ID to a Logical Interface. For information about configuring dual VLAN tags using the vlan-tag statement, see Stacking a VLAN Tag.