Click here to expand

    Configuring the Syslog Service on Arista Switches

    1. Login to the Arista Switch
    2. Go to the config mode.
    3. Configure the Switch as below to send the logs to the Eventlog Analyzer Server
      • Arista# config terminal
      • Arista(config)# logging host < Eventlog_Server_Ip > < port_number > protocol [tcp/udp]
      • Arista(config)# logging trap information
      • Arista(config)# copy running-config startup-config

    To configure command executed logs:

    • Arista (config)# aaa accounting commands all console start-stop logging
    • Arista (config)# aaa accounting commands all default start-stop logging
    • Arista (config)# aaa accounting exec console start-stop logging
    • Arista (config)# aaa accounting exec default start-stop logging
    • Arista (config)# copy running-config startup-config

    To configure logon logs:

    • Arista (config)# aaa authentication policy on-success log
    • Arista (config)# aaa authentication policy on-failure log
    • Arista (config)# copy running-config startup-config
    Get download link