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 :)

8
  • 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, 2019 at 12:50
  • @Cown it does not work with RP/0/RP0/CPU0:router(config)# http server. For the Manageability package, I did not. Mar 6, 2019 at 13:01
  • What happens when you write the command http server? What log is generated?
    – user36472
    Mar 6, 2019 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 ? Mar 6, 2019 at 13:07
  • For the XML and HTTP host services, the Manageability package must be installed and activated on the router.
    – user36472
    Mar 6, 2019 at 13:08

1 Answer 1

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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