<\/span><\/h2>\nFinally, once all of the necessary operations have been completed we close the session.<\/p>\n
m<\/span>.<\/span>close_session<\/span>()<\/span>\r\n\r\n...<\/span>\r\n\r\n<<\/span>rpc<\/span>-<\/span>reply xmlns<\/span>=<\/span>\"urn:ietf:params:xml:ns:netconf:base:1.0\"<\/span> message<\/span>-<\/span>id<\/span>=<\/span>\"urn:uuid:ebb48b66-185e-4\r\n7ac-9820-73418ed0790f\"<\/span> xmlns<\/span>:<\/span>nc<\/span>=<\/span>\"urn:ietf:params:xml:ns:netconf:base:1.0\"<\/span>><<\/span>ok<\/span>><<\/span>\/ok><\/<\/span>rpc<\/span>-<\/span>reply<\/span>><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"Introduction Within this article we will look at how to interact with a networking device (Cisco CSR) using the NETCONF protocol. To do so, we will use the Python module – ncclient. What is NETCONF First of all, What is NETCONF? NETCONF (NETwork CONFiguration) is a protocol defined by the IETF to “install, manipulate, and … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1043,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1266],"tags":[],"yoast_head":"\nPython: Obtain Network Device Configuration using NETCONF<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n\n\n\t\n\t\n\t\n