Configuring Routed VLAN Interfaces (CLI Procedure)
Routed VLAN interfaces (RVIs) enable the EX Series switch to recognize which packets
are being sent to local addresses so that they are bridged (switched) whenever possible
and are routed only when needed. Whenever packets can be switched instead of routed,
several layers of processing are eliminated. Switching also reduces the number of address
lookups.
An interface named
vlan
functions as the logical router, on which you can configure a
Layer 3 logical interface for each VLAN. For redundancy, an RVI can be combined with
implementations of the Virtual Router Redundancy Protocol (VRRP) in both bridging
and VPLS environments.
Jumbo frames of up to 9216 bytes are supported on an RVI. To route jumbo data packets
on the RVI, you must configure the jumbo MTU size on the member physical interfaces
of the RVI and not on the RVI itself (the
vlan
interface). However, for jumbo control
packets—for example, to ping the RVI with a packet size of 6000 bytes or more—you
must explicitly configure the jumbo MTU size on the interface named
vlan
(the RVI).
CAUTION:
Setting or deleting the jumbo MTU size on the RVI (the vlan
interface) while the switch is transmitting packets might result in dropped
packets.
To configure the routed VLAN interface (RVI):
1.
Create a Layer 2 VLAN by assigning it a name (for example,
support
) and a VLAN ID
(for example,
111
).
[edit]
user@switch#
set
vlans
support vlan-id 111
2.
Assign an interface (for example,
ge-0/0/18
) to the VLAN (
support
) by naming the
VLAN as a trunk member on the logical interface, thereby making the interface part
of the VLAN’s broadcast domain.
[edit]
user@switch#
set interfaces ge-0/0/18 unit 0 family ethernet-switching vlan members
support
3.
Create a logical Layer 3 RVI (
vlan.111
) on a subnet for the VLAN’s broadcast domain.
[edit]
user@switch#
set interfaces vlan unit 111 family inet address 111.111.111.1/24
4.
Link the Layer 2 VLAN to the logical Layer 3 interface.
[edit]
user@switch#
set vlans support l3-interface vlan.111
1379
Copyright © 2010, Juniper Networks, Inc.
Chapter 59: Configuring Bridging and VLANs
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 ...