cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
paullson
Level 8

Modifying text in results in Network Configuration Template

I'm wondering if anyone knows if it's possible to modify resulting text in a script. Say @Intblah.RemotePort returns GigabitEthernet0/1, is there a way to strip that down to Gi0/1?

Thanks!

Labels (1)
0 Kudos
1 Reply
rschroeder
Level 21

Re: Modifying text in results in Network Configuration Template

I published a script to modify text in NPM so it doesn't show FQDN info in node names.  I don't see why the process can't be modified and applied to anything you're interested in adjusting.

Check it out here and see if there's a way you can follow the logic and adjust it to apply to your needs.

How to trim, remove, or truncate domain names discovered and displayed in NPM 11.5.2 and NCM 7.4