Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

script executes for Juniper Ex4200, but won't commit

$
0
0

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]


Viewing all articles
Browse latest Browse all 4266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>