DX NetOps

Expand all | Collapse all

NCM Multi-Line Policy -Corrective Action for repair not fully repairing

Jump to Best Answer
  • 1.  NCM Multi-Line Policy -Corrective Action for repair not fully repairing

    Posted 09-27-2017 11:55 AM
      |   view attached

    Our Multi-line policy corrective action for repair text is correct but it only executes the first line of correction.

     

    Is this a bug?

     

    It runs the first instance for repair but nothing else.  So it runs the Gig0/0/1.700 statements but does not move to implement the Gig0/0/1.710 statements.

     

    Recommended Upload for Corrective Action

    <extracted_text>
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !

     

    My "Configure Extracted Content" is: (?m)^(interface .*\.[78][01]0)$\n       

    I added the /n but no change to how it runs.  It runs the 1st repair block but not the 2nd,3rd, 4th corrective action.

     

    Repeat for each violating block checkbox is checked.

     

    Corrective Action for Repair block for specified node.

    interface GigabitEthernet0/0/1.700
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !
    interface GigabitEthernet0/0/1.710
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !
    interface GigabitEthernet0/0/1.800
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !
    interface GigabitEthernet0/0/1.810
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !



  • 2.  Re: NCM Multi-Line Policy -Corrective Action for repair not fully repairing
    Best Answer

    Posted 09-27-2017 02:05 PM

    Colleague found the issue.  Simply added a space after the ! and hit save.  This allows the repair to execute everything properly now.

     

    =============

    <extracted_text>
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !

     

    ==============

     

     

     

    Corrective Action for Repair block for specified node.

    interface GigabitEthernet0/0/1.700
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !


    interface GigabitEthernet0/0/1.710
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !


    interface GigabitEthernet0/0/1.800
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !


    interface GigabitEthernet0/0/1.810
    no ip helper-address 167.64.247.107
    no ip helper-address 167.64.247.108
    !