Skip to content
Guides & References

Arista EOS policy examples

Worked rConfig policy examples for Arista EOS, one page per topic, with a passing and failing config for every rule, checked with rConfig's policy engine.

Policy LibraryUpdated
Platform
arista-eos
On this page

Arista EOS policy examples

Rules for Arista switches running EOS, one page per topic. Every rule has a passing config and a failing config, with the result rConfig gives for each. Run the rules against the output of show running-config.

Topic What the rules check Rules
Management access No Telnet, an SSH idle timeout of 1 to 10 minutes, no weak SSH ciphers or MACs, a login banner 4
AAA The root account off, server group login with local fallback, no user without a password, command accounting 4
SNMP No SNMPv1 or v2c communities, an SNMPv3 authPriv group, no MD5 or DES SNMPv3 users 3
Logging A remote syslog host, high-resolution timestamps 2
Services The eAPI on HTTPS, not plain HTTP 1
Operational standards Your NTP, syslog and DNS servers, a login banner, interface descriptions, a hostname pattern, an SNMP location 7

Where the examples come from

Every topic documents one file from the Arista EOS policy templates at release v1.5.0, which you can import into rConfig. The configs are sanitised excerpts of the sample configs that come with the templates. Every config shown was run through rConfig Pro’s evaluator with its rule, and gave the result shown.

EOS prints only settings that differ from the default, and the rules are written for that. Run them against show running-config, not show running-config all.

The framework files (NIST, HIPAA and ISO/IEC 27001) collect these same rules, so they have no pages of their own here. See compliance frameworks.

If you are new to policy definitions, start with your first policy.

Type to search.