Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

irb (Easy EVPN LAG Configuration)

Syntax

Hierarchy Level

Description

Specify parameters to generate the configuration statements for the integrated routing and bridging (IRB) instances on a provider edge (PE) device in an Ethernet VPN (EVPN) fabric with Virtual Extensible LAN (VXLAN) encapsulation.

You use statements at the [edit services evpn] hierarchy level to simplify configuring an EVPN fabric with Ethernet segment identifier (ESI) link aggregation groups (LAGs) in the topology. The feature you enable with statements in this hierarchy is an easy EVPN LAG configuration feature, also called EZ-LAG.

You only need to configure a few statements to provide the parameters required for an EVPN core fabric with multihomed or single-homed customer edge (CE) devices (or end server devices). When you commit the [edit services evpn] configuration statements, the device uses a commit script to generate the corresponding standard EVPN fabric configuration statements.

The commit script uses the parameters at the [edit services evpn evpn-vxlan irb] hierarchy level to generate configuration statements for:

  • The IRB interfaces for the MAC-VRF and virtual routing and forwarding (VRF) instances in the EVPN fabric, including:

    • A virtual gateway address configuration for the IRB instance

      Note:

      By default, the commit script generates configuration statements that include configuring the virtual-gateway-accept-data option at the [edit routing-instances name interfaces irb unit number] hierarchy level with the virtual gateway address configuration. With this option, the virtual gateway can accept ping packets.

    • An anycast gateway configuration for the IRB instance

  • The VLANs associated with the IRB interfaces

  • The aggregated Ethernet interfaces to single-homed or multihomed (ESI-LAG) connected servers

Options

(Required) irb-instance

Specify a string that identifies an IRB instance and the parameters associated with it for commit script processing.

Choose irb-instance values that help interpret what you will see in the generated configuration. For example, the command below uses irb-instance "irb_10" to provide IRB parameters associated with VLAN ID 10. In this case, because the command doesn't include a mac-vrf-instance option, these parameters apply to the default MAC-VRF instance (mac-vrf-instance instance-id 1):

apply-config-groups config-groups

Apply the specified configuration groups to the configuration the commit script generates from the statements at this irb configuration hierarchy level.

instance (mac-vrf-instance | vrf-instance) instance-id

Specify the MAC-VRF instance ID or VRF instance ID associated with this IRB instance.

If you don't configure a MAC-VRF instance-id at this level, the commit script associates the IRB instance with the default MAC-VRF instance. The default MAC-VRF instance corresponds to instance-id 1 and instance name __SERVICES_EVPN_EVPN_VXLAN_MAC_VRF_1.

If you configure a VRF instance at this hierarchy level, the commit script generates configuration statements to create the VRF instance and associates this IRB instance with that VRF instance. The commit script uses VRF instance name _SERVICES_EVPN_EVPN_VXLAN_VRF_instance-id in the generated configuration. If you don't configure a VRF instance-id at this level, the commit script associates the IRB instance with the default VRF instance, which corresponds to the default routing table inet.0 (or inet6.0).

  • Range for instance-id: 1 through 255

no-dhcp-relay

Don't include this IRB instance in the generated DHCP Relay configuration when you also configure dhcp-relay options at the [edit services evpn evpn-vxlan] hierarchy level.

use-anycast-address

Configure the IRB instance with an anycast gateway address.

When you set this option, you must also configure the [edit services evpn global-parameters] anycast-mac mac-address statement. The commit script generates an IRB anycast gateway configuration with that anycast MAC address.

vlan-id vlan-num

Specify a VLAN by VLAN ID number associated with the IRB interface. The commit script uses this parameter to generate the statements that configure the IRB interface with a matching logical unit.

You must configure at least one VLAN ID for each IRB instance.

The remaining statements are explained in detail on separate pages.

See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 23.2R1 and Junos OS Evolved Release 23.2R1.