Skip to content
Guides & References

Cisco IOS-XE policy examples

Tested rConfig policy definition examples for Cisco IOS-XE, grouped by topic, each with passing and failing configs.

Policy LibraryUpdated
Platform
Cisco IOS-XE
On this page

Cisco IOS-XE policy examples

Rules for Cisco IOS-XE running configs, one page per topic. Every rule has a passing and a failing config, and an automated test in the rConfig Pro suite asserts both results. The baseline standard is the exception: it documents the stock ios-baseline definition, and its results are recorded with rConfig Pro’s evaluator against the stock sample configs. Run them against the output of show running-config.

TopicRulesStatus
Baseline standardServices, DNS, NTP, AAA and IPv6 routing, local admin user, no plaintext passwords, HTTP, default route, SSH, SNMPv3, VTY linesSynthetic tested
Management access and AAAOnly approved local accountsLab tested

For ready-made definitions covering management access, AAA, SNMP, logging, interface security, routing authentication and services, see the Cisco IOS stock definitions, which you can import into rConfig.

The IOS-XE configs used on the pattern pages show more method behaviour, including SNMP trap hosts and access-port sections. Those examples demonstrate a technique rather than a complete rule, so they live there rather than here.

If you are new to policy definitions, start with your first policy, which walks through a rule that fails on lab or test interfaces, end to end.

Type to search.