Configuring A Layer 3 Subinterface (Cli Procedure) - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Related
Documentation

Configuring a Layer 3 Subinterface (CLI Procedure)

Related
Documentation
Copyright © 2010, Juniper Networks, Inc.
To enable IP directed broadcast for a specified subnet:
Add the target subnet's logical interfaces to the VLAN:
1.
[edit interfaces]
user@switch# set ge-0/0/0.0 family ethernet-switching vlan members v1
user@switch# set ge-0/0/1.0 family ethernet-switching vlan members v1
Configure the Layer 3 interface on the VLAN that is the target of the IP directed
2.
broadcast packets:
[edit interfaces]
user@switch# set vlan.1 family inet address 10.1.2.1/24
Associate a Layer 3 interface with the VLAN:
3.
[edit vlans]
user@switch# set v1 l3-interface vlan.1
Enable the Layer 3 interface for the VLAN to receive IP directed broadcasts:
4.
[edit interfaces]
user@switch# set vlan.1 family inet targeted-broadcast
Example: Configuring IP Directed Broadcast on an EX Series Switch on page 1138
Understanding IP Directed Broadcast for EX Series Switches on page 1109
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)" on page 1378 or "Configuring VLANs for EX Series Switches
(J-Web Procedure)" on page 1375.
To configure Layer 3 subinterfaces:
Enable VLAN tagging:
1.
[edit interfaces interface-name]
user@switch# set vlan-tagging
Bind each VLAN ID to a logical interface:
2.
[edit interfaces interface-name]
user@switch# set unit logical-unit-number vlan-id vlan-id-number
Example: Configuring Layer 3 Subinterfaces for a Distribution Switch and an Access
Switch on page 1127
Chapter 52: Configuring Interfaces
1165

Advertisement

Table of Contents
loading

Table of Contents