cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
347
Views
0
Helpful
1
Replies

XR - ASR9900 - Is it possible to refence a text file in prefix-set?

Hej
If we have a txt file with 1000 prefixes for example, can I reference it somehow in CLI to be used in a prefix-set instead of adding all 1000 prefixes at the CLI?

Regards

1 Reply 1

M02@rt37
VIP
VIP

Hello @oscardenizjensen 

Automation... write a small Python script -using Netmiko- to read the TXT file and push config via SSH. See also what Ansible could give you mixed with Jinja template that read the file.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.