Supported Platforms
Related Documentation
Configuring Routed VLAN Interfaces (CLI Procedure)
Routed VLAN interfaces (RVIs) allow the EX Series switch to recognize packets that are being sent to local addresses so that they are bridged (switched) whenever possible and are routed only when necessary. Whenever packets can be switched instead of routed, several layers of processing are eliminated.
An interface named vlan functions as a logical router on which you can configure a Layer 3 logical interface for each virtual LAN (VLAN). For redundancy, you can combine an RVI with implementations of the Virtual Router Redundancy Protocol (VRRP) in both bridging and virtual private LAN service (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 also 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 RVI:
- Create a Layer 2 VLAN by assigning it a name and
a VLAN ID:
[edit]
user@switch# set vlans vlan-name vlan-id vlan-id - Assign an interface to the VLAN 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 interface-name unit logical-unit-number family ethernet-switching vlan members vlan-name - Create a logical Layer 3 RVI (its name will be vlan.logical-interface-number, where the value for logical-interface-number is the value you supplied for vlan-id in Step 1; in the following command, it is the logical-unit-number) on a subnet for the VLAN’s
broadcast domain:
[edit]
user@switch# set interfaces vlan unit logical-unit-number family inet address inet-address - Link the Layer 2 VLAN to the logical Layer 3
interface:
[edit]
user@switch# set vlans vlan-name l3-interface vlan.logical-interface-numberNote: Layer 3 interfaces on trunk ports allow the interface to transfer traffic between multiple Layer 2 VLANs. Within a VLAN, traffic is switched, while across VLANs, traffic is routed.
- (Optional) On an EX8200 switch, enable an input counter
for tracking or billing purposes:
[edit]
user@switch# set vlans vlan-name l3-interface vlan logical-interface-number l3-interface-ingress-counting
![]() | Note: The input counter is maintained by a firewall filter—these counters are allocated on a first-come, first-served basis. |