Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 1384

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
CLI Quick
Configuration
Step-by-Step
Procedure
Results
1280
®
OS for EX Series Ethernet Switches, Release 10.4
To quickly configure the switch to accept IP directed broadcasts targeted at subnet
, copy the following commands and paste them into the switch's terminal
10.1.2.1/24
window:
[edit]
set interfaces ge-0/0/0.0 family ethernet-switching vlan members v1
set interfaces ge-0/0/1.0 family ethernet-switching vlan members v1
set interfaces vlan.1 family inet address 10.1.2.1/24
set interfaces ge-0/0/3.0 family ethernet-switching vlan members v0
set interfaces vlan.0 family inet address 10.1.1.1/24
set vlans v1 l3-interface vlan.1
set vlans v0 l3-interface vlan.0
set interfaces vlan.1 family inet targeted-broadcast
To configure the switch to accept IP directed broadcasts targeted at subnet
Add logical interface
1.
[edit interfaces]
user@switch# set ge-0/0/0.0 family ethernet-switching vlan members v1
Add logical interface
2.
[edit interfaces]
user@switch# set ge-0/0/1.0 family ethernet-switching vlan members v1
Configure the IP address for the egress VLAN,
3.
[edit interfaces]
user@switch# set vlan.1 family inet address 10.1.2.1/24
Add logical interface
4.
[edit interfaces]
user@switch# set ge-0/0/3.0 family ethernet-switching vlan members v0
Configure the IP address for the ingress VLAN:
5.
[edit interfaces]
user@switch# set vlan.0 family inet address 10.1.1.1/24
To route traffic between the ingress and egress VLANs, associate a Layer 3 interface
6.
with each VLAN:
[edit vlans]
user@switch# set v1 l3-interfacevlan.1
user@switch# set v0 l3–interface vlan.0
Enable the Layer 3 interface for the egress VLAN to receive IP directed broadcasts:
7.
[edit interfaces]
user@switch# set vlan.1 family inet targeted-broadcast
Check the results:
user@switch# show
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
vlan {
ge-0/0/0.0
to VLAN
v1
:
to VLAN
:
ge-0/0/1.0
v1
v1
to VLAN
:
ge-0/0/3.0
v0
10.1.2.1/24
:
Copyright © 2010, Juniper Networks, Inc.
:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents