Arista EOS

Arista EOS Cheatsheet #

Arista EOS (Extensible Operating System) is the operating system used by Arista Networks devices, including switches and routers. This cheatsheet provides common commands and configurations for Arista EOS.

Basic Commands #

Command/OptionExampleDescription
show versionshow versionDisplay the EOS version and system information
show running-configshow running-configDisplay the current configuration
show system uptimeshow system uptimeDisplay the system uptime
configure terminalconfigure terminalEnter global configuration mode
write memorywrite memorySave the configuration to startup configuration
reloadreloadReboot the device

Interface Configuration #

Command/OptionExampleDescription
interface Ethernet1interface Ethernet1Enter interface configuration mode
ip addressip address 192.168.1.1/24Set IP address and subnet mask
no shutdownno shutdownEnable the interface
shutdownshutdownDisable the interface
show interfacesshow interfacesDisplay interface status

VLAN Configuration #

Command/OptionExampleDescription
vlan 10vlan 10Create VLAN with ID 10
namename ManagementName the VLAN
interface Ethernet1interface Ethernet1Enter interface configuration mode
switchport access vlan 10switchport access vlan 10Assign VLAN to an interface
no vlan 10no vlan 10Remove VLAN configuration
show vlanshow vlanDisplay VLAN configuration

Routing Configuration #

Command/OptionExampleDescription
router ospf 1router ospf 1Enter OSPF configuration mode
network 192.168.1.0/24network 192.168.1.0/24Configure OSPF network
router bgp 65001router bgp 65001Enter BGP configuration mode
neighbor 192.168.1.2neighbor 192.168.1.2 remote-as 65002Configure BGP neighbor
show ip routeshow ip routeDisplay IP routing table

Access Control #

Command/OptionExampleDescription
access-list 100 permit ip 192.168.1.0 0.0.0.255 anyaccess-list 100 permit ip 192.168.1.0 0.0.0.255 anyCreate an access control list (ACL)
interface Ethernet1interface Ethernet1Enter interface configuration mode
ip access-group 100 inip access-group 100 inApply ACL to an interface
no access-list 100no access-list 100Remove an ACL

NAT Configuration #

Command/OptionExampleDescription
ip nat inside source list 1 interface Ethernet1 overloadip nat inside source list 1 interface Ethernet1 overloadConfigure NAT with access list
access-list 1 permit 192.168.1.0 0.0.0.255access-list 1 permit 192.168.1.0 0.0.0.255Define NAT access list
show ip nat translationsshow ip nat translationsDisplay NAT translations

Troubleshooting #

Command/OptionExampleDescription
ping 8.8.8.8ping 8.8.8.8Test connectivity to a remote host
traceroute 8.8.8.8traceroute 8.8.8.8Trace the route to a remote host
show loggingshow loggingDisplay system logs
show processesshow processesDisplay running processes

Management #

Command/OptionExampleDescription
write memorywrite memorySave the configuration
reloadreloadReboot the device
show versionshow versionDisplay EOS version and system information

This cheatsheet covers essential Arista EOS commands for configuration, management, and troubleshooting of Arista devices. For detailed command syntax and additional options, consult the Arista documentation.

Arista EOS

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.