Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

interface-state

Syntax

Hierarchy Level

Description

Consider other local or remote interface state changes when evaluating the state (up or down) of the named interface.

Options

hold-time (down | up) seconds

Time to wait in seconds after other interface or remote reachability states change before considering those changes to evaluate the state of the named interface.

local

Determine the interface state based on the states of the associated local Layer 2 (L2) interface(s).

In the context of an EVPN instance (EVI) where the interface is associated with a bridge domain or VLAN, consider the interface state to be up if at least one local L2 interface is up.

local-interface local-interface

Determine the interface state based on the state of local-interface, which is a loopback aggregated Ethernet (AE) port. Specify local-interface by its logical interface name (for example, ae0.100).

You use this option with EVPN-VXLAN support on devices that use a loopback port for routing in and out of VXLAN tunnels (see Using a RIOT Loopback Port to Route Traffic in an EVPN-VXLAN Network).

local-remote

Determine the interface state based on:

  • The states of the associated local L2 interface(s)

  • Remote reachability status, such as the bridge domain, VLAN, or EVI network isolation status and whether the device has routes to the remote VTEPs.

Consider the interface state to be up if either of these conditions is true in the context of an EVI where the interface is associated with a bridge domain or VLAN:

  • At least one local L2 interface is in up state.

  • The bridge domain, VLAN, or EVI is not in a network isolation state.

Consider the interface state to be down if both of these conditions are true in the context of an EVI where the interface is associated with a bridge domain or VLAN:

  • No local L2 interfaces are in up state.

  • The bridge domain, VLAN or EVI is in a network isolation state.

remote

Determine the interface status based on remote reachability status, including the bridge domain or EVPN instance network isolation state.

In the context of an EVPN instance where the interface is associated with a bridge domain, consider the interface state to be:

  • Up if the bridge domain or EVPN instance is not in a network isolation state.

  • Down if the bridge domain or EVPN instance is in a network isolation state.

local-count local-count

Minimum number of local L2 links in up state to evaluate the interface state as up.

vtep-count vtep-count

Minimum number of VTEP interfaces in up state to evaluate the interface status as up.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 21.3R1.