What is difference between Subinterface and VLAN?

The major difference is that an SVI is bound to a VLAN used for L2 switching, while a subinterface is part of an L3 interface that doesn’t take part in L2 switching. Accordingly, a specific VLAN ID on a subinterface may indicate a different VLAN (L2 segment aka broadcast domain) than the same VLID on another interface.

How do you create a subinterface on a Juniper router?

To configure subinterfaces on the distribution switch:

  1. On the trunk interface of the distribution switch, enable VLAN tagging:
  2. Bind vlan1’s VLAN ID to the logical interface:
  3. Set vlan1’s subinterface IP address:
  4. Bind vlan2’s VLAN ID to the logical interface:
  5. Set vlan2’s subinterface IP address:

How do you tag a VLAN in a juniper switch?

Associate a series of tagged VLANs when you configure an interface in one of two ways:

  1. Include the name of the series: [edit interfaces] user@switch# set interfaces ge-0/0/22.0 family ethernet-switching vlan members employee.
  2. Include the VLAN range:

What is VLAN subinterface?

Ethernet interfaces support IP, PPPoE, MPLS, or both IP and PPPoE on each VLAN. In addition to a VLAN major interface level, a VLAN subinterface level distinguishes the VLAN. Tasks to configure VLAN subinterfaces are: Creating a VLAN Major Interface. Configuring IP over VLAN.

How do I turn off Juniper interface?

– To Juniper disable interface:

  1. root@Juniper# set interfaces ge-0/0/1.0 disable << This is cisco equivalent of “shutdown” – To Juniper enable interface:
  2. root@Juniper# delete interfaces ge-0/0/1.0 disable << This is cisco equivalent of “no shutdown” Verification:
  3. root@Juniper#show ge-0/0/1.0.

What is Juniper default VLAN?

In Cisco switches the default VLAN is untagged and is the native VLAN i.e. VLAN 1 but in Juniper there is no default native VLAN. You must configure it manually. In Cisco switches the trunk ports accept all VLANs in the range of 1 to 4095 by default but in Juniper, trunk ports do not support any VLANs.

How do I enable VLAN tagging?

Enable or disable VLAN tagging

  1. Click Cluster Management > Network Configuration > External Network.
  2. Click View/Edit next to the subnet that you want to modify.
  3. Click Edit.
  4. Select the Allow VLAN Tagging checkbox to enable or disable VLAN tagging.

How do you set the trunk port on a Juniper switch?


  1. From configuration mode, create the VLAN and add access vlan members to it:
  2. Verify the VLAN and interface: root# run show vlans.
  3. Configure the trunk and add VLAN that was created in previous steps:
  4. Verify the trunk and the VLAN members for this trunk: root# run show interfaces ge-0/0/.0.

What are the benefits of using VLANs?

VLANs provide a number of advantages, such as ease of administration, confinement of broadcast domains, reduced broadcast traffic, and enforcement of security policies. VLANs provide the following advantages: VLANs enable logical grouping of end-stations that are physically dispersed on a network.

How to configure Ethernet ports for srx210?

The following procedure shows the default configuration for Ethernet switching on interfaces on a SRX210 device. The factory default configuration includes a predefined VLAN named vlan-trust and a VLAN interface named vlan.0 that is assigned to an IP address of and as a Layer 3 interface.

What are the features of a juniper SRX router?

J Series routers include Ethernet switching features, integrated routing and bridging, and support for several Layer 2 protocols. These features are also present in branch SRX Series Services Gateways (SRX100, SRX110, SRX210, SRX220, SRX240, SRX550 and SRX650). Switching is not available (and not needed) on the high-end SRX devices.

How to configure Ethernet ports for switching juniper?

Specify a new VLAN, which will be used for switching, in this case vlan 100: Assign this VLAN interface as your Layer3 Interface on this VLAN: Configure a VLAN interface with an IP for this VLAN. (It must be on a different L3 subnet than the other VLANs.)

What are the features of the SRX Ethernet switch?

The SRX Series products provide a comprehensive suite of Ethernet switching functionality. Ethernet switching features eliminate the need for Layer 2 switches in small branch offices and act as an aggregate switch in medium-sized branch offices.