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

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
Configuring the Distribution Switch Subinterfaces
CLI Quick
Configuration
Step-by-Step
Procedure
1270
®
OS for EX Series Ethernet Switches, Release 10.4
}
}
unit 2 {
vlan-id 103;
family inet {
address 3.1.1.1/24;
}
}
unit 3 {
vlan-id 104;
family inet {
address 4.1.1.1/24;
}
}
unit 4 {
vlan-id 105;
family inet {
address 5.1.1.1/24;
}
}
}
To quickly create and configure subinterfaces on the distribution switch, copy the following
commands and paste them into the switch terminal window:
[edit]
set interfaces ge-0/0/0 vlan-tagging
set interfaces ge-0/0/0 unit 0 vlan-id 101 family inet address 1.1.1.2/24
set interfaces ge-0/0/0 unit 1 vlan-id 102 family inet address 2.1.1.2/24
set interfaces ge-0/0/0 unit 2 vlan-id 103 family inet address 3.1.1.2/24
set interfaces ge-0/0/0 unit 3 vlan-id 104 family inet address 4.1.1.2/24
set interfaces ge-0/0/0 unit 4 vlan-id 105 family inet address 5.1.1.2/24
To configure subinterfaces on the distribution switch:
On the trunk interface of the distribution switch, enable VLAN tagging:
1.
[edit interfaces ge-0/0/0]
user@distribution-switch# set vlan-tagging
Bind vlan1's VLAN ID to the logical interface:
2.
[edit interfaces ge-0/0/0]
user@distribution-switch# set unit 0 vlan-id 101
Set vlan1's subinterface IP address:
3.
[edit interfaces ge-0/0/0]
user@distribution-switch# set unit 0 family inet address 1.1.1.2/24
Bind vlan2's VLAN ID to the logical interface:
4.
[edit interfaces ge-0/0/0]
user@distribution-switch# set unit 1 vlan-id 102
Set vlan2's subinterface IP address:
5.
[edit interfaces ge-0/0/0]
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents