Table 164: Components of the Topology for Creating Layer 3 Subinterfaces on an Access Switch
and a Distribution Switch
Settings
Property
Any Layer 2 switch with multiple 1-Gigabit Ethernet ports and at least one 1-Gigabit
Ethernet uplink module
Access switch hardware
EX4200-24F, 24 1-Gigabit Ethernet fiber SPF ports (ge-0/0/0 through ge-0/0/23); one
2-port 10-Gigabit Ethernet XFP uplink module (EX-UM-4SFP)
Distribution switch hardware
vlan1, tag 101
vlan2, tag 102
vlan3, tag 103
vlan4, tag 104
vlan5, tag 105
VLAN names and tag IDs
vlan1: 1.1.1.0/24 (addresses 1.1.1.1 through 1.1.1.254)
vlan2: 2.1.1.0/24 (addresses 2.1.1.1 through 2.1.1.254)
vlan3: 3.1.1.0/24 (addresses 3.1.1.1 through 3.1.1.254)
vlan4: 4.1.1.0/24 (addresses 4.1.1.1 through 4.1.1.254)
vlan5: 5.1.1.0/24 (addresses 5.1.1.1 through 5.1.1.254)
VLAN subnets
On the access switch: ge-0/1/0
On the distribution switch: ge-0/0/0
Port interfaces
Configuring the Access Switch Subinterfaces
CLI Quick
Configuration
To quickly create and configure subinterfaces on the access switch, copy the following
commands and paste them into the switch terminal window:
[edit]
set interfaces ge-0/1/0 vlan-tagging
set interfaces ge-0/1/0 unit 0 vlan-id 101 family inet address 1.1.1.1/24
set interfaces ge-0/1/0 unit 1 vlan-id 102 family inet address 2.1.1.1/24
set interfaces ge-0/1/0 unit 2 vlan-id 103 family inet address 3.1.1.1/24
set interfaces ge-0/1/0 unit 3 vlan-id 104 family inet address 4.1.1.1/24
set interfaces ge-0/1/0 unit 4 vlan-id 105 family inet address 5.1.1.1/24
Step-by-Step
Procedure
To configure the subinterfaces on the access switch:
1.
On the trunk interface of the access switch, enable VLAN tagging:
[edit interfaces ge-0/1/0]
user@access-switch#
set
vlan-tagging
2.
Bind vlan1's VLAN ID to the logical interface:
[edit interfaces ge-0/1/0]
user@access-switch#
set
unit
0 vlan-id 101
Copyright © 2010, Juniper Networks, Inc.
1128
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...