#[non_exhaustive]pub struct EtherOptions {Show 23 fields
pub auto_negotiation: Option<bool>,
pub remote_fault: Option<String>,
pub flow_control: Option<bool>,
pub loopback: Option<bool>,
pub source_filtering: Option<bool>,
pub speed: Option<String>,
pub link_mode: Option<String>,
pub fec: Option<String>,
pub ieee_802_3ad: Option<Ieee8023ad>,
pub mdi_mode: Option<String>,
pub no_auto_mdix: bool,
pub autostate_exclude: bool,
pub ieee_802_3az_eee: bool,
pub configured_flow_control_rx_buffers: Option<bool>,
pub configured_flow_control_tx_buffers: Option<bool>,
pub ethernet_switch_profile: Option<EthernetSwitchProfile>,
pub redundant_parent: Option<String>,
pub mru: Option<String>,
pub loopback_remote: bool,
pub ignore_l3_incompletes: bool,
pub asynchronous_notification: Option<bool>,
pub ingress_rate_limit: Option<String>,
pub source_address_filter: Vec<String>,
}Expand description
The Ethernet options of a physical interface.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.auto_negotiation: Option<bool>Some(true) for auto-negotiation, Some(false) for no-auto-negotiation.
remote_fault: Option<String>local-interface-online or local-interface-offline.
flow_control: Option<bool>Some(true) for flow-control, Some(false) for no-flow-control.
loopback: Option<bool>Some(true) for loopback, Some(false) for no-loopback.
source_filtering: Option<bool>Some(true) for source-filtering, Some(false) for no-source-filtering.
speed: Option<String>§link_mode: Option<String>full-duplex, half-duplex or automatic.
fec: Option<String>e.g. "fec91", "fec74", "fec108" or "none".
ieee_802_3ad: Option<Ieee8023ad>The bundle this interface is a member of; the statement is 802.3ad.
mdi_mode: Option<String>§no_auto_mdix: bool§autostate_exclude: bool§ieee_802_3az_eee: bool§configured_flow_control_rx_buffers: Option<bool>Some(true) for on, from configured-flow-control { rx-buffers }.
configured_flow_control_tx_buffers: Option<bool>Some(true) for on, from configured-flow-control { tx-buffers }.
ethernet_switch_profile: Option<EthernetSwitchProfile>§redundant_parent: Option<String>The redundant Ethernet interface the interface is a child of, from redundant-parent.
mru: Option<String>§loopback_remote: bool§ignore_l3_incompletes: bool§asynchronous_notification: Option<bool>Some(true) for asynchronous-notification, Some(false) for no-asynchronous-notification.
ingress_rate_limit: Option<String>From fastether-options { ingress-rate-limit }.
source_address_filter: Vec<String>The MAC addresses of source-address-filter.