9 lines
594 B
Plaintext
9 lines
594 B
Plaintext
Ansible playbook for loading prefix-lists to IOS-XE device and attaching them to a route-map
|
|
Setup:
|
|
1 - Open "main.yml" from "roles/common/var/" and fill in the user, pass and enable secret
|
|
2 - Open "pl_inventory.yml" and enter the IP(s) of the target device
|
|
3 - Open "prefix_list.csv" and fill in the site information
|
|
4 - Run the playbook with "ansible-playbook -i pl_inventory.yml prefix_list_audit.yml" to retrieve and print current prefix-lists
|
|
5 - Run the playbook with "ansible-playbook -i pl_inventory.yml prefix_list_update.yml" to apply prefix-lists from the CSV file onto the device
|
|
|