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:
- Enable VLAN tagging:
[edit interfaces interface-name]
user@switch# set vlan-tagging - Bind each VLAN ID to a logical interface:
[edit interfaces interface-name]
user@switch# set unit logical-unit-number vlan-id vlan-id-number