0

I aim to enable RESTCONF server on Cisco IOS-XRv 9000.

I did not find online anything about enabling HTTP server in this IOS-XR version. However, with NETCONF server can be enabled.

For IOS-XE is quite easy to enable RESTCONF where you use only

(config)# ip http server
(config)# restconf-yang

But in IOS-XR is not the same. Anyone can help :)

  • Last time i saw this enabled, you just had to write RP/0/RP0/CPU0:router(config)# http server without ip in front of it. Have you installed the Manageability package and activated it? – user36472 Mar 6 '19 at 12:50
  • @Cown it does not work with RP/0/RP0/CPU0:router(config)# http server. For the Manageability package, I did not. – Khalil Mebarkia Mar 6 '19 at 13:01
  • What happens when you write the command http server? What log is generated? – user36472 Mar 6 '19 at 13:04
  • @Cown .% Invalid input detected at '^' marker Is it required to install Software Package Management Commands on the Cisco IOS XR Software in order to enable http server ? – Khalil Mebarkia Mar 6 '19 at 13:07
  • For the XML and HTTP host services, the Manageability package must be installed and activated on the router. – user36472 Mar 6 '19 at 13:08
0

RESTCONF is not supported on IOS-XR. Only NETCONF and gRPC.

| improve this answer | |
New contributor
Khaled Abuelenain is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.