Juniper Junos policy examples
Rules for Juniper Junos configs, one page per topic. Every rule has a passing config and a failing config, with the result rConfig gives for each.
| Topic | What the rules check | Rules |
|---|---|---|
| Management access | SSH on without version 1, strong SSH ciphers and MACs, no Telnet, a login banner, an idle timeout | 5 |
| AAA and local accounts | RADIUS or TACACS+ first with a local fallback, no MD5 password hashes | 2 |
| SNMP | No SNMPv1 or v2c communities, SNMPv3 users with SHA and AES | 2 |
| Logging | A remote syslog host for all and login messages, millisecond timestamps, no console logging, UTC time | 5 |
| Services | No finger, FTP, rlogin, rsh or rexec, ICMP redirects off | 2 |
| Interface descriptions | Every interface disabled or described | 1 |
Where the examples come from
Every topic documents one file of the Juniper Junos 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. Where no sample fails a rule, the failing config is a sample excerpt with one line changed, and the page says which line. Every config shown was run through rConfig Pro’s evaluator with its rule, and gave the result shown.
The framework files (NIST SP 800-53, NIST CSF, HIPAA and ISO/IEC 27001) collect these same rules by framework. See Compliance frameworks.
If you are new to policy definitions, start with your first policy, which walks through one rule end to end.