interface-state
Syntax
interface-state { hold-time { down seconds; up seconds; } (local | local-interface local-interface | local-remote | remote); local-count local-count; vtep-count vtep-count; }
Hierarchy Level
[edit interfaces name unit num]
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:
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:
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:
|
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:
|
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.