Logging of Event Notifications
Arista switches log event notifications using the Syslog protocol. By default, event notifications are logged internally to /var/log/messages but can also be displayed on the console or logged to an external server. Severity levels and log message destinations can be configured via the CLI, and individual processes and protocols can also be configured to adjust or limit the messages they log. The show logging command may view details of the current logging configuration.
For a full list of Syslog messages, visit the Arista website.
Managing TCAM Capacity Warnings
Strata chipsets (present in the 7010, 7050X, 7060X, 7250X, 7260X, and 7300X series) provide event logging for the hardware capacity of TCAM tables on a per-slice basis, triggering a capacity warning by default whenever any TCAM slice exceeds 90% capacity. As a result, default TCAM logging can generate high levels of syslog messages on these platforms. Suppose this presents a problem, and the hardware capacity alert table command can adjust the capacity levels at which warnings occur above the 90% default. In that case, this adjustment can be made per TCAM resource and per slice. The command can also disable TCAM hardware capacity messages at the level “Warning” and below for a given slice. To disable messages, set the threshold to 0 or select the no version of the command.
Examples
- This command reduces hardware capacity Syslog warnings by increasing the
capacity threshold to 99% for EFP table monitoring in slice 2.
switch(config)# hardware capacity alert table EFP feature Slice-2 threshold 99
- This command reduces messages by disabling hardware capacity Syslog warnings
entirely for the IFP table in slice 5.
switch(config)# hardware capacity alert table IFP feature Slice-5 threshold 0
- This command reduces messages by disabling hardware capacity Syslog warnings
entirely for the VFP table in all slices.
switch(config)# no hardware capacity alert table VFP
Hardware capacity messages are user-configurable only at or below the “Warning” level. When depleting TCAM management software, it always sends “Error” messages to Syslog and affected features when all TCAM resources are used.