Skip to main content

Ethernet

Diagram

Classes

interfaces (nxos.devices.configuration)

NameTypeConstraintMandatoryDefault Value
ethernetsList[ethernets]No

ethernets (nxos.devices.configuration.interfaces)

NameTypeConstraintMandatoryDefault Value
idStringYes
interface_groupsListStringNo
access_vlanIntegermin: 1, max: 4094No
admin_stateBooleantrue, falseNotrue
auto_negotiationChoiceon, off, 25GNo
bandwidthIntegermin: 0, max: 3200000000No
delayIntegermin: 1, max: 16777215No
descriptionStringNo
duplexChoiceauto, full, halfNo
fec_modeChoicefc-fec, rs-fec, fec-off, auto, rs-ieee, rs-cons16, kp-fecNo
layer3Booleantrue, falseNo
link_debounce_downIntegermin: 0, max: 20000No
link_debounce_upIntegermin: 0, max: 20000No
link_loggingChoicedefault, enable, disableNo
mediumChoicebroadcast, p2pNo
modeChoiceaccess, trunk, fex-fabric, dot1q-tunnel, promiscuous, host, trunk_secondary, trunk_promiscuous, vntagNo
mtuIntegermin: 576, max: 9216No
native_vlanIntegermin: 1, max: 4094No
speedChoiceunknown, 100M, 1G, 10G, 40G, auto, auto 100M, auto 100M 1G, 100G, 25G, 10M, 50G, 200G, 400G, 2.5G, 5G, auto 2.5G 5G 10G, auto 100M 1G 2.5G 5GNo
speed_groupChoiceunknown, 1000, 10000, 40000, auto, 25000No
trunk_vlansStringNo
uni_directional_ethernetChoicedisable, send-only, receive-onlyNo
vrfStringNo
ip_unnumberedStringNo
urpfChoicedisabled, strict, loose, loose-allow-default, strict-allow-vni-hostsNo
ipv4_addressIPNo
ospfClass[ospf]No
pimClass[pim]No

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

NameTypeConstraintMandatoryDefault Value
process_nameStringYes
advertise_secondariesBooleantrue, falseNotrue
areaStringNo
bfdChoiceunspecified, enabled, disabledNo
costIntegermin: 0, max: 65535No
dead_intervalIntegermin: 0, max: 65535No
hello_intervalIntegermin: 0, max: 65535No
network_typeChoiceunspecified, p2p, bcastNo
passiveChoiceunspecified, enabled, disabledNo
priorityIntegermin: 0, max: 255No
authentication_keyStringNo
authentication_key_idIntegermin: 0, max: 255No
authentication_key_secure_modeBooleantrue, falseNo
authentication_keychainStringNo
authentication_md5_keyStringNo
authentication_md5_key_secure_modeBooleantrue, falseNo
authentication_typeChoiceunspecified, simple, md5, noneNo

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

NameTypeConstraintMandatoryDefault Value
admin_stateBooleantrue, falseYes
bfdChoicenone, enabled, disabledNo
dr_priorityIntegermin: 1, max: 4294967295No
passiveBooleantrue, falseNo
sparse_modeBooleantrue, falseNo

Examples

nxos:
devices:
- name: Device1
configuration:
interfaces:
ethernets:
- id: 1/12
description: Server 1 Interface
access_vlan: 100