Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring a Layer 3 Subinterface (CLI Procedure)

 

EX Series switches use Layer 3 subinterfaces to divide a physical interface into multiple logical interfaces, each corresponding to a VLAN. The switch uses the Layer 3 subinterfaces to route traffic between subnets.

To configure Layer 3 subinterfaces, you enable VLAN tagging and partition one or more physical ports into multiple logical interfaces, each corresponding to a VLAN ID.

Before you begin, make sure you set up your VLANs.

To configure Layer 3 subinterfaces:

  1. Enable VLAN tagging:
    [edit interfaces interface-name]

    user@switch# set vlan-tagging
  2. Bind each VLAN ID to a logical interface:
    [edit interfaces interface-name]

    user@switch# set unit logical-unit-number vlan-id vlan-id-number