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

    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. See Configuring VLANs for EX Series Switches (CLI Procedure) or Configuring VLANs for EX Series Switches (J-Web Procedure).

    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 (Layer 3 Subinterfaces) vlan-id-number

    Published: 2012-12-07