User Tools

Site Tools


scripting:netconf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:netconf [2022/11/12 23:03] jotasandokuscripting:netconf [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 28: Line 28:
 \\ \\
 To test netconf from a linux client: To test netconf from a linux client:
 +  (client)# 
 +  python -m pip install netconf-console
   netconf-console --host=<ip> --port=830 --user=<user> --password=<pass>   netconf-console --host=<ip> --port=830 --user=<user> --password=<pass>
  
-Configure netconf in IOX-XE:+Configure netconf in IOS-XE:
   ip https secure-server   ip https secure-server
   username <name> privilege 15 password <pass>   username <name> privilege 15 password <pass>
   netconf-yang   netconf-yang
      
-Configure netconf in IOX-XR:+Configure netconf in IOS-XR:
   crypto key generate rsa   crypto key generate rsa
   ssh server v2   ssh server v2
Line 42: Line 44:
   netconf-yang agent shh   netconf-yang agent shh
  
-  +Other IOS-XR commands: 
 +  show commit changes diff 
 +  rollback configuration last    # from the root level
  
 ---- ----
Line 52: Line 56:
 NETCONF on IOS-XE using ncclient NETCONF on IOS-XE using ncclient
  
 +
 +----
 +
 +__RESTCONF__
 +\\
 +  * Restconf is json and uses https as transport.
 +  * So to test restconf I just use postman
 +  * The resource part normally has ''/restconf/''
scripting/netconf.1668294187.txt.gz · Last modified: (external edit)