> - Download PDFs
> - svlan id
> - Related Topics
> - 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

> # svlan id

> #### Syntax

> svlan id s-vlanIdValue { vlanIdValue | any } [ mac-address macAddress ]

> #### Release Information

> Command introduced before JUNOSe Release 7.1.0.
> anyUntagged keyword added in JUNOSe Release 10.0.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. 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.
> - 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

> #### Updated: 2009-04-17

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.