Skip to content

Ethernet

Diagram

Diagram

Classes

interfaces (iosxe.devices.configuration)

NameTypeConstraintMandatoryDefault Value
ethernetsList[ethernets]No

ethernets (iosxe.devices.configuration.interfaces)

NameTypeConstraintMandatoryDefault Value
typeChoiceGigabitEthernet, FastEthernet, Ethernet, Port-channel, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigEYes
nameStringYes
interface_groupsListStringNo
media_typeChoiceauto-select, rj45, sfpNo
bandwidthIntegermin: 1, max: 200000000No
descriptionStringNo
shutdownBooleantrue, falseNo
vrf_forwardingStringNo
ipv4Class[ipv4]No
ipv6Class[ipv6]No
bfdClass[bfd]No
spanning_treeClass[spanning_tree]No
speedChoice100, 1000, 2500, 5000, 10000, 25000, 40000, 100000No
speed_nonegotiateBooleantrue, falseNo
encapsulation_dot1q_vlan_idIntegermin: 1, max: 4094No
channel_group_numberIntegermin: 1, max: 512No
channel_group_modeChoiceactive, auto, desirable, on, passiveNo
source_templatesList[source_templates]No
arp_timeoutIntegermin: 0, max: 2147483No
negotiation_autoBooleantrue, falseNo
service_policy_inputStringNo
service_policy_outputStringNo
load_intervalIntegermin: 30, max: 600No
snmp_trap_link_statusBooleantrue, falseNo
logging_event_link_status_enableBooleantrue, falseNo
mplsClass[mpls]No
ospfClass[ospf]No
ospfv3Class[ospfv3]No
pimClass[pim]No
switchportClass[switchport]No
network_access_controlClass[network_access_control]No
auto_qosClass[auto_qos]No

ipv4 (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
addressIPNo
address_maskIPNo
proxy_arpBooleantrue, falseNo
arp_inspection_trustBooleantrue, falseNo
arp_inspection_limit_rateIntegermin: 0, max: 4294967295No
dhcp_snooping_trustBooleantrue, falseNo
dhcp_relay_source_interfaceStringNo
helper_addressesList[helper_addresses]No
access_group_inStringNo
access_group_outStringNo
flow_monitorsList[flow_monitors]No
redirectsBooleantrue, falseNo
unreachablesBooleantrue, falseNo
unnumberedStringNo

ipv6 (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
addressesList[addresses]No
link_local_addressesList[link_local_addresses]No
address_autoconfig_defaultBooleantrue, falseNo
address_dhcpBooleantrue, falseNo
mtuIntegermin: 1280, max: 9976No
nd_ra_suppress_allBooleantrue, falseNo

bfd (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
templateStringNo
enableBooleantrue, falseNo
local_addressStringNo
intervalIntegermin: 50, max: 9999No
interval_min_rxIntegermin: 50, max: 9999No
interval_multiplierIntegermin: 3, max: 50No
echoBooleantrue, falseNo

spanning_tree (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
guardChoiceloop, none, rootNo
link_typeChoiceshared, point-to-pointNo
portfast_trunkBooleantrue, falseNo

source_templates (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
nameStringYes
mergeBooleantrue, falseNo

mpls (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
ipBooleantrue, falseNo
mtuIntegerNo

ospf (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
costIntegermin: 1, max: 65535No
dead_intervalIntegermin: 1, max: 65535No
hello_intervalIntegermin: 1, max: 65535No
mtu_ignoreBooleantrue, falseNo
network_type_broadcastBooleantrue, falseNo
network_type_non_broadcastBooleantrue, falseNo
network_type_point_to_multipointBooleantrue, falseNo
network_type_point_to_pointBooleantrue, falseNo
priorityIntegermin: 0, max: 255No
ttl_security_hopsIntegermin: 1, max: 254No
process_idsList[process_ids]No
message_digest_keysList[message_digest_keys]No

ospfv3 (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
network_type_broadcastBooleantrue, falseNo
network_type_non_broadcastBooleantrue, falseNo
network_type_point_to_multipointBooleantrue, falseNo
network_type_point_to_pointBooleantrue, falseNo
costIntegermin: 1, max: 65535No

pim (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
passiveBooleantrue, falseNo
dense_modeBooleantrue, falseNo
sparse_modeBooleantrue, falseNo
sparse_dense_modeBooleantrue, falseNo
bfdBooleantrue, falseNo
borderBooleantrue, falseNo
bsr_borderBooleantrue, falseNo
dr_priorityIntegermin: 0, max: 4294967295No

switchport (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
mode_accessBooleantrue, falseNo
mode_dot1q_tunnelBooleantrue, falseNo
mode_private_vlan_trunkBooleantrue, falseNo
mode_private_vlan_hostBooleantrue, falseNo
mode_private_vlan_promiscuousBooleantrue, falseNo
mode_trunkBooleantrue, falseNo
nonegotiateBooleantrue, falseNo
access_vlanIntegermin: 1, max: 4094No
trunk_allowed_vlansStringNo
trunk_allowed_vlans_noneBooleantrue, falseNo
trunk_native_vlan_tagBooleantrue, falseNo
trunk_native_vlanIntegermin: 1, max: 4094No
hostBooleantrue, falseNo

network_access_control (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
authentication_host_modeChoicemulti-host, multi-domain, single-host, multi-authNo
authentication_order_dot1xBooleantrue, falseNo
authentication_order_dot1x_mabBooleantrue, falseNo
authentication_order_dot1x_webauthBooleantrue, falseNo
authentication_order_mabBooleantrue, falseNo
authentication_order_mab_dot1xBooleantrue, falseNo
authentication_order_mab_webauthBooleantrue, falseNo
authentication_order_webauthBooleantrue, falseNo
authentication_priority_dot1xBooleantrue, falseNo
authentication_priority_dot1x_mabBooleantrue, falseNo
authentication_priority_dot1x_webauthBooleantrue, falseNo
authentication_priority_mabBooleantrue, falseNo
authentication_priority_mab_dot1xBooleantrue, falseNo
authentication_priority_mab_webauthBooleantrue, falseNo
authentication_priority_webauthBooleantrue, falseNo
authentication_port_controlChoiceauto, force-authorized, force-unauthorizedNo
authentication_periodicBooleantrue, falseNo
authentication_timer_reauthenticateIntegermin: 1, max: 1073741823No
authentication_timer_reauthenticate_serverBooleantrue, falseNo
mabBooleantrue, falseNo
mab_eapBooleantrue, falseNo
dot1x_paeChoiceauthenticator, supplicant, bothNo
dot1x_timeout_auth_periodIntegermin: 1, max: 65535No
dot1x_timeout_held_periodIntegermin: 1, max: 65535No
dot1x_timeout_quiet_periodIntegermin: 1, max: 65535No
dot1x_timeout_ratelimit_periodIntegermin: 1, max: 65535No
dot1x_timeout_server_timeoutIntegermin: 1, max: 65535No
dot1x_timeout_start_periodIntegermin: 1, max: 65535No
dot1x_timeout_supp_timeoutIntegermin: 1, max: 65535No
dot1x_timeout_tx_periodIntegermin: 1, max: 65535No
dot1x_max_reqIntegermin: 1, max: 10No
dot1x_max_reauth_reqIntegermin: 1, max: 10No

auto_qos (iosxe.devices.configuration.interfaces.ethernets)

NameTypeConstraintMandatoryDefault Value
auto_qos_classifyBooleantrue, falseNo
auto_qos_classify_policeBooleantrue, falseNo
auto_qos_trustBooleantrue, falseNo
auto_qos_trust_cosBooleantrue, falseNo
auto_qos_trust_dscpBooleantrue, falseNo
auto_qos_video_ctsBooleantrue, falseNo
auto_qos_video_ip_cameraBooleantrue, falseNo
auto_qos_video_media_playerBooleantrue, falseNo
auto_qos_voipBooleantrue, falseNo
auto_qos_voip_cisco_phoneBooleantrue, falseNo
auto_qos_voip_cisco_softphoneBooleantrue, falseNo
auto_qos_voip_trustBooleantrue, falseNo
trust_deviceChoicecisco-phone, cts, ip-camera, media-playerNo

helper_addresses (iosxe.devices.configuration.interfaces.ethernets.ipv4)

NameTypeConstraintMandatoryDefault Value
addressIPYes
globalBooleantrue, falseNo
vrfStringNo

flow_monitors (iosxe.devices.configuration.interfaces.ethernets.ipv4)

NameTypeConstraintMandatoryDefault Value
nameStringYes
directionChoiceinput, outputYes

addresses (iosxe.devices.configuration.interfaces.ethernets.ipv6)

NameTypeConstraintMandatoryDefault Value
prefixIPYes
eui_64Booleantrue, falseNo

NameTypeConstraintMandatoryDefault Value
addressIPYes
link_localBooleantrue, falseNo

process_ids (iosxe.devices.configuration.interfaces.ethernets.ospf)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 65535No
areasListStringNo

message_digest_keys (iosxe.devices.configuration.interfaces.ethernets.ospf)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 255Yes
md5_auth_keyStringNo
md5_auth_typeChoice0, 7No

Examples

iosxe:
devices:
- name: Device1
configuration:
interfaces:
ethernets:
- id: 1/1
type: GigabitEthernet
description: Server 1 Interface
switchport:
mode_access: true
access_vlan: 100