Skip to main content

arista.eos

Supported Platform

  • arista-eos

Description

Arista EOS resource

Fields

IDTYPEDESCRIPTION
systemConfigmap[string]stringEOS system configuration
ipInterfaces[]arista.eos.ipInterfaceIP interfaces
interfaces[]arista.eos.interfaceDetails related to interfaces
versiondictSoftware and hardware versions
hostnamestringThe system hostname
fqdnstringThe systems fqdn
users[]arista.eos.userLocal user configuration
roles[]arista.eos.roleAll user-defined and built-in roles
snmparista.eos.snmpSettingDetails on SNMP operation
ntparista.eos.ntpSettingShow NTP status

Examples

Arista EOS Version

arista.eos.version;

Verify that Arista EOS Version is 18.x

arista.eos.version["version"] == /18\./;

Display EOS interfaces

arista.eos.interfaces { name mtu bandwidth status }

Display all connected EOS interfaces

arista.eos.interfaces.where ( status['linkStatus'] == "connected") {  name mtu bandwidth status}

EOS Hostname

arista.eos.hostname;