Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Routed VLAN Interfaces

 

Configuring a Routed VLAN Interface in a Private VLAN on an EX Series Switch

Starting with Junos OS Release 14.1X53-D10, you can configure a routed VLAN interface (RVI) for a private VLAN (PVLAN) on an EX8200 switch or EX8200 Virtual Chassis. Instead of a router connected to a promiscuous port routing Layer 3 traffic between isolated and community members, you can alternatively use an RVI.

To set up routing within a PVLAN, one RVI must be configured for the primary VLAN on one EX8200 switch or EX8200 Virtual Chassis in the PVLAN domain. This RVI serves the entire PVLAN domain regardless of whether the domain consists of one or more switches. After you configure the RVI, Layer 3 packets received by the secondary VLAN interfaces are mapped to and routed by the RVI.

When setting up the RVI, you must also enable proxy Address Resolution Protocol (ARP) so that the RVI can handle ARP requests received by the secondary VLAN interfaces.

This topic describes how to configure an RVI for a PVLAN.

Before you begin, configure the PVLAN as described in Creating a Private VLAN on a Single EX Series Switch (CLI Procedure) or Creating a Private VLAN Spanning Multiple EX Series Switches (CLI Procedure).

To configure an RVI for a PVLAN:

  1. Create a logical Layer 3 RVI on a subnet for the primary VLAN’s broadcast domain:
    [edit interfaces]

    user@switch# set vlan unit logical-unit-number family inet address inet-address
  2. Enable unrestricted proxy ARP on the RVI:
    [edit interfaces]

    user@switch# set vlan unit logical-unit-number proxy-arp unrestricted
  3. Disable sending protocol redirect messages on the RVI:
    [edit interfaces]

    user@switch# set vlan unit logical-unit-number family inet no-redirects
  4. Link the primary VLAN to the RVI:
    [edit vlans]

    user@switch# set vlan-name l3-interface vlan.logical-unit-number

    The value of logical-unit-number is the same value that you supplied for logical-unit-number in the previous steps.

Verifying Routed VLAN Interface Status and Statistics on EX Series Switches

Purpose

Determine status information and traffic statistics for routed VLAN interfaces (RVIs) by using the following commands:

Action

Display RVI interfaces and their current states:

user@switch> show interfaces vlan terse

Display Layer 2 VLANs, including any tags assigned to the VLANs and the interfaces associated with the VLANs:

user@switch> show vlans

Display Ethernet switching table entries for the VLAN that is attached to the RVI:

Display an RVI’s ingress-counting statistics with either the show interfaces vlan detail command or the show interfaces vlan extensive command. Ingress counting is displayed as Input bytes and Input packets under Transit Statistics.

user@switch> show interfaces vlan.100 detail

Meaning

  • show interfaces vlan displays a list of interfaces, including RVI interfaces, and their current states (up, down).

  • show vlans displays a list of VLANs, including any tags assigned to the VLANs and the interfaces associated with the VLANs.

  • show ethernet-switching table displays the Ethernet switching table entries, including VLANs attached to the RVI.

  • show interfaces vlan detail displays RVI ingress counting as Input Bytes and Input Packets under Transit Statistics.

Release History Table
Release
Description
Starting with Junos OS Release 14.1X53-D10, you can configure a routed VLAN interface (RVI) for a private VLAN (PVLAN) on an EX8200 switch or EX8200 Virtual Chassis.