Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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. You must issue this command before any upper bindings are made, such as IP or PPPoE. 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.

      Note: On ES2 10G, ES2 10G ADV, and ES2 10G UPLINK LMs, customer-VLAN-untagged traffic matching the configured S-VLAN ID are not forwarded through the subinterface even though the C-VLAN ID is set to zero.

    • 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

    Published: 2014-08-18