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

Interface Configuration