When you configure Ethernet or bridged Ethernet layer 2 services over MPLS, you can use the svlan id command with the any keyword to create a stacked VLAN (S-VLAN) tunnel that uses a single interface to tunnel traffic from multiple VLANs across an MPLS network. The S-VLAN tunnel enables multiple VLANs, each configured with a different VLAN ID tag and a common S-VLAN ID, to share a common VC label while traversing an MPLS network.
You can use the svlan id command with the any keyword only with the mpls-relay command or the route interface command to configure layer 2 services over MPLS.
To configure S-VLAN tunnels for Ethernet/VLAN layer 2 services over MPLS:
or
For more information about S-VLANs, including complete configuration instructions, see the JunosE Link Layer Configuration Guide.