3 Replies Latest reply on Sep 10, 2018 1:37 AM by sja

    script executes for Juniper Ex4200, but won't commit

    michael.t.koehler.ctr@mail.mil

      Below is script results in transfer status, however, on the switch the configuration is there but hasn't been committed.  No rollback created.  Any suggestions?

       

      Script Results:

      config

      Entering configuration mode

      Users currently editing the configuration:

        forescout (pid 95818) on since 2018-07-30 10:38:48 UTC, idle 5w3d 12:08

      {master:1}[edit]

      activate  protocols dot1x authenticator interface  ge-8/0/5.0

      delete interfaces  ge-8/0/5 unit 0 description

      activate  protocols dot1x authenticator interface  ge-8/0/8.0

      delete interfaces  ge-8/0/8 unit 0 description

      activate  protocols dot1x authenticator interface  ge-1/0/29.0

      delete interfaces  ge-1/0/29 unit 0 description

      commit

      end

       

      My script:

      config

      activate  protocols dot1x authenticator interface  ge-8/0/5.0

      delete interfaces  ge-8/0/5 unit 0 description

      activate  protocols dot1x authenticator interface  ge-8/0/8.0

      delete interfaces  ge-8/0/8 unit 0 description

      activate  protocols dot1x authenticator interface  ge-1/0/29.0

      delete interfaces  ge-1/0/29 unit 0 description

      commit

      end

       

      The switch after executing script:

      show | compare

      [edit interfaces ge-1/0/29 unit 0]

      -    description "802.1x deactivated for 24 hours. SW Script";

      [edit interfaces ge-8/0/5 unit 0]

      -    description "802.1x deactivated for 24 hours. SW Script";

      [edit interfaces ge-8/0/8 unit 0]

      -    description "802.1x deactivated for 24 hours. SW Script";

      [edit protocols dot1x authenticator interface]

      !      active: ge-1/0/29.0 { ... }

      !      active: ge-8/0/5.0 { ... }

      !      active: ge-8/0/8.0 { ... }

       

       

      {master:1}[edit]