Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

Configuring IRB Interfaces

Integrated routing and bridging (IRB) interfaces enable a switch to recognize which packets are being sent to local addresses so that they are bridged 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 look-ups.

Note: In versions of Junos OS that do not support Enhanced Layer 2 Software (ELS), this type of interface is called a routed VLAN interface (RVI).

To configure the routed VLAN interface:

  1. Create the VLAN by assigning it a name and a VLAN ID:
    [edit]
    user@switch# set vlans support vlan-id 111
  2. Assign an interface to the VLAN by specifying the logical interface (with the unit statement) and specifying the VLAN name as the member:
    [edit]
    user@switch# set interfaces ge-0/0/18 unit 0 family ethernet-switching vlan members support
  3. Create the subnet for the VLAN’s broadcast domain:
    [edit]
    user@switch# set interfaces irb unit 111 family inet address 111.111.111.1/24
  4. Bind a Layer 3 interface with the VLAN:
    [edit]
    user@switch# set vlans support l3-interface irb.111

    Note: If you are using a version of Junos OS that does not support ELS, you create a Layer 3 virtual interface named vlan

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 irb terse
Interface               Admin Link Proto    Local                 Remote
vlan                    up    up  
irb.111                up    up   inet     111.111.111.1/24
user@switch> show vlans
Name           Tag     Interfaces
default       
                       None
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    
                       ge-0/0/18.0
mgmt          
                       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
 

Related Documentation

 

Published: 2014-10-07

Supported Platforms

 

Related Documentation

 

Published: 2014-10-07