[an error occurred while processing this directive] [an error occurred while processing this directive]

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).

    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.

    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.

    user@switch# set interfaces vlan unit 111 family inet address
  4. Link the Layer 2 VLAN to the logical Layer 3 interface.

    user@switch# set vlans support l3-interface vlan.111

Note: Layer 3 interfaces on trunk ports allow the interface to transfer traffic between multiple VLANs. Within a VLAN, traffic is bridged, while across VLANs, traffic is routed.

You can display the configuration settings:

user@switch> show interfaces vlan terse
Interface               Admin Link Proto    Local                 Remote
vlan                    up    up  
vlan.111                up    up   inet

user@switch> show vlans
Name           Tag     Interfaces
employee-vlan  20     
                       ge-1/0/0.0, ge-1/0/1.0, ge-1/0/2.0
marketing      40     
                       ge-1/0/10.0, ge-1/0/20.0, ge-1/0/30.0
support        111    
                       bme0.32769, bme0.32771*

Ethernet-switching table: 1 entries, 0 learned
  VLAN              MAC address       Type         Age Interfaces
  support           00:19:e2:50:95:a0 Static         - Router

Published: 2009-09-16

[an error occurred while processing this directive]