I'm trying to configure the dedicated XML agent on IOS XR 4.2.3 (ASR9K) . The API guide says to do the
xml agent aaa authorization exec default local
which I did, and I can connect to the router on port 38751, but then I get
telnet 10.1.1.1 38751 Escape character is '^]'. User Access Verification Username: aaronw Password: blah User Access Verification Username: aaronw Password: realpassword Session start failed :'AAA API' detected the 'fatal' condition 'No method could process the authorisation request'Connection closed by foreign host.
So if I put in a fake password, it knows that it's the wrong one, and doesn't go any further, but when I put in my real password it looks like I'm missing some kind of link-up between the authorization engine and the XML engine. If I take out the aaa authorizaion exec default local, I get a slightly different error:
Session start failed :'AAA API' detected the 'fatal' condition 'Requested function is not configured'
I know the API guide linked is the 4.1 version, but I can't find the 4.2 version of the same document. Also, the XML tty agent (i.e., typing 'XML' at the # prompt) does work as expected.
RP/0/RSP0/CPU0:ios#xml echo format Tue May 21 20:32:01.802 UTC XML> exit RP/0/RSP0/CPU0:ios#