Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

global-parameters (Easy EVPN LAG Configuration)

Syntax

Hierarchy Level

Description

Specify global parameters as part of a generated Ethernet VPN (EVPN) fabric configuration.

You use the statements in 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 statements at the global-parameters hierarchy level provide parameters for configuration elements that you want to be common across peer provider edge (PE) devices in the EVPN fabric.

Options

anycast-mac anycast-mac-address

Configure the device to globally use the specified anycast virtual gateway MAC address.

You must configure this statement if you include the [edit services evpn evpn-vxlan irb name] use-anycast-address option for any integrated routing and bridging (IRB) instances you configure on the PE device.

default-vlan-id vlan-id

Specify the VLAN ID you want the commit script to use in the configuration as the default VLAN.

  • Range: 1 through 4094

mtu (overlay overlay-mtu | underlay underlay-mtu)

Set the specified maximum transmission unit (MTU) in bytes in the generated configuration for the interfaces used in the overlay peering or underlay peering. The MTU size is the largest amount of data the device can forward without fragmentation. You can specify MTU values for either or both the overlay and underlay interfaces.

  • Range: The default MTU and configurable range vary by platform and type of interface or protocol for which you configure the value.

    See Media MTU and Protocol MTU for more on setting MTU sizes.

no-irb-address-auto-derive

Instruct the commit script to not derive IRB interface subnet addresses in the generated configuration.

For simplicity, with this feature you can set the same IRB interface subnet address on connected PE devices using the subnet-address option at the [edit services evpn evpn-vxlan irb irb-instance] hierarchly level. By default, the commit script derives different device IRB subnet addresses using the subnet-address value configured for the peer PE device with peer ID 1, based on the device peer ID where the script is running.

When you set this option, instead of the default behavior, the commit script uses exactly the IPv4 or IPv6 subnet addresses you specify with the subnet-address option for each peer ID. If you set the no-irb-address-auto-derive option, make sure you explicitly set the IRB subnet-address values you want for each IRB instance on each device.

Note:

This option takes effect globally for all IRB instances you configure with the irb irb-instance statement at the [edit services evpn evpn-vxlan] hierarchy level.

You can alternatively set the no-irb-address-auto-derive option for individual IRB instances at the [edit services evpn evpn-vxlan irb irb-instance subnet-address] hierarchy level.

start-aggregate-ethernet-index num

Set a global starting index for numbering the aggregate Ethernet interfaces in multihomed server (ESI LAG) aggregated Ethernet interface configurations.

  • Range: 1 through 255

virtual-gateway (v4-mac mac-address | v6-mac mac-address)

Configure the device to globally use the specified virtual gateway MAC address. With this option, you can specify different MAC addresses for IPv4 and IPv6 traffic.

Note:

Specify either this option OR the virtual-gateway-mac option (next).

If you don't specify these parameters, the commit script uses:

  • ipv4-mac—00:00:5e:00:01:01

  • ipv6-mac—00:00:5e:00:02:01

virtual-gateway-mac mac-address

Configure the device to globally use the specified virtual gateway MAC address. If you specify this option, the commit script uses the same MAC address for both IPv4 and IPv6 traffic.

Note:

Specify either this option OR the virtual-gateway (v4-mac mac-address | v6-mac mac-address) options above.

You can also consult 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.