Example 6 - Find number of occurrences of given config item.Example 5 - Find devices missing specific config.Example 4 - Find devices that have specific config line in them.Example 3 - Finding all of the IPs belonging to given network.Example 2 - Find all of the IP addresses configured on the device.Example 1 - Find hostname in the config file. Need to quickly find where ACL is applied, or which config has got the specific IP in it? How about quickly audit config files for the missing configuration line? Regex to the rescue! Contents They have been around for a while and they are still a very useful aid that can be used to solve many problems in the network engineering space. Personally I think that there are times when regular expressions are the right tool for the job. What? Who needs regular expressions in the age of automation? I do! And maybe you need them too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |