[an error occurred while processing this directive] [an error occurred while processing this directive]

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 ge-chassis/slot/port]
    user@switch# set vlan-tagging
  2. Bind each VLAN ID to a logical interface:

    [edit interfaces ge-chassis/slot/port]
    user@switch# set unit logical-unit-number vlan-id vlan-id-number

Published: 2009-07-22

[an error occurred while processing this directive]