# svlan id

#### Syntax

svlan id s-vlanIdValue { vlanIdValue | any | anyuntagged } [ icr-control-interface ] [ mac-address macAddress ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
anyUntagged keyword added in JunosE Release 10.0.0.
icr-control-interface keyword added in JunosE Release 10.3.0.

#### Description

Assigns an S-VLAN ID and a VLAN ID to a VLAN subinterface, or, with the use of the any keyword, creates an S-VLAN tunnel. Sets the C-VLAN ID as 0 or untagged to transport both customer-tagged and customer-VLAN-untagged frames inside a predefined stacked-tag over a single pseudowire. Sets an S-VLAN ID and a VLAN ID to a VLAN subinterface on which an ICR partition is to be configured. There is no no version.

#### Options

- s-vlanIdValue—S-VLAN ID number in the range 0–4095, which is unique within the Ethernet interface.
- vlanIdValue—VLAN ID number in the range 0–4095, which is unique within the Ethernet interface.
- any—Tunnels traffic from VLANs configured with the specified S-VLAN ID and any VLAN ID to the same destination across an MPLS network.
- anyUntagged—Sets the customer-VLAN (C-VLAN) ID configured inside an S-VLAN as part of a pseudowire as 0. Tunnels traffic from VLANs configured with the specified S-VLAN ID, whose Ethertype is not 8100, and an untagged C-VLAN ID to the same destination across an MPLS network. Enables both double-tagged and single-tagged traffic that matches the S-VLAN ID to pass through the subinterface.
- icr-control-interface—Sets the VLAN subinterface as an ICR control interface on which you want to configure the ICR partition. We recommend that you use this option only if you want the VLAN subinterface to be used to create ICR partitions.
- macAddress—MAC address of the interface; when you do not specify a unique MAC address, the S-VLAN uses the MAC address of the Ethernet interface.

#### Mode

Interface Configuration

#### Related Documentation

- Configuring S-VLAN Tunnels for Layer 2 Services , and Configuring an S-VLAN Subinterface with an Untagged C-VLAN IDin the JunosE BGP and MPLS Configuration Guide