Skip to content

emtoor/ncclient_newconfig_juniper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ncclient_newconfig_juniper

This script is an example of automating the configuration of a Juniper network device using the ncclient library in Python. The script does the following:

Imports the required libraries ncclient and xml.dom.minidom Connects to a Juniper device using the manager.connect method and the provided device parameters. Defines the desired configuration in XML format Sends the configuration to the device using the edit_config method of the ncclient connection. Parses the XML response from the device. Prints the parsed response. Closes the connection to the device using conn.close_session(). This script demonstrates the basic steps to automate the configuration of a Juniper device using Python and the ncclient library.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages