Configuring the Router

Arista routers ship from the factory in Zero Touch Provisioning (ZTP) mode. ZTP configures the router without user intervention by downloading a startup configuration file or a boot script from a location specified by a DHCP server.

To manually configure an Arista router, bypass ZTP. The initial configuration provides one username (admin) accessible only through the console port because it has no password.

When bypassing ZTP, access the router by logging in as admin, with no password, through the console port. Then you can configure a password for admin and other password-protected usernames.

The manual configuration procedure described below cancels ZTP mode, logs into the router, assigns a password to admin, assigns an IP address to the management port, and defines a default route to a network gateway.

As the router boots without a startup-config file, it displays the following through the console:
The device is in Zero Touch Provisioning mode and is attempting to
download the startup-config from a remote system. The device will not
be fully functional until either a valid startup-config is downloaded
from a remote system or Zero Touch Provisioning is cancelled. To cancel
Zero Touch Provisioning, login as admin and type 'zerotouch cancel'
at the CLI.
localhost login:
  1. Connect the router to a power source (Cable the Router).
    Note: Arista fixed routers take approximately 5 to 10 minutes to boot completely.
  2. Connect the console port to a PC (Connecting Serial and Management Cables).
  3. Log into the router by typing admin at the login prompt
    localhost login:admin
  4. Cancel ZTP mode by typing zerotouch cancel
    Important: This step initiates the router to reboot.
    localhost>zerotouch cancel
  5. After the router reboots, log into the router again by typing admin at the login prompt.
    Arista EOS
    localhost login:admin
    Last login: Fri Mar 15 13:17:13 on console
  6. Enter global configuration mode.
    localhost>enable localhost#config
  7. Assign a password to the admin username with the username secret command. In this example, the assigned password is "pxq123".
    localhost(config)#username admin secret pxq123
  8. Configure a default route to the network gateway. In this example, the default route is 192.0.2.1.
    localhost(config)#ip route 0.0.0.0/0 192.0.2.1
  9. Assign an IP address to an Ethernet management port. In this example, the IP address is 192.0.2.8/24.
    localhost(config)#interface management 1/1
    localhost(config-if-Ma1/1)#ip address 192.0.2.8/24
  10. Save the configuration by typing write memory or copy running-config startup-config.
    localhost#copy running-config startup-config
  11. When the management-port IP address is configured, use the following command to access the router from a host using the address configured in Step 9.
    ssh admin@192.0.2.8

    Refer to the Arista Networks User Manual for the complete router configuration information.