cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

Changing Interface Description using Policy Rule REMEDIATION

Jump to solution

Hi guys,

I'd like to automatically change an interface description using a Remediation script (automatically execute when violation is found).

I'm having trouble figuring out whether this is doable or not, so I hope one of you can chime in.

Say you've got a switch that's in a stack. You pull the config every night during backup, then a Policy Report checks whether one or several GigabitEthernet interfaces have the word (TEMP) defined.

The policy would include a Rule that automatically executes a remediation script to rename all the interfaces whose description includes the word TEMP to *reserved*.

How would the Rule look like if I only want to match "GigabitEthernet" interfaces with TEMP in description?

How would the remediation script look like if I only want the above found interfaces renamed to *reserved*?

Is this possible?

TIA

0 Kudos
1 Solution
4 Replies
Level 16

Hi

I didn't try that but if you run a job on the policy that has remediation script ? 

NCM Job ->Generate a Policy Report -> that interface job

/SJA

0 Kudos

Thanks but I'm not sure I understand how that will help. Could you perhaps elaborate?

0 Kudos

pastedImage_0.png

Is that  not work for you ?

0 Kudos