I want to create a script that moves some information from the snmp-location line to the snmp-contact line in switch & router configs (NCM). Anything after the zip code in the location line should be moved. The current information in snmp-contact can be deleted, and I have a script already prepared to handle that. The devices are primarily Cisco.
Does anyone know a script that would achieve moving information from one line to another, specifically after a 5-digit zip code?
Another idea was to have the script read the custom properties of the nodes as location information is located there too.
Thank you for the help.