cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1834
Views
0
Helpful
3
Replies

Netconf resource-denied error?

heiki saaver
Level 1
Level 1

Hi. I am trying to get familiarized with netconf and I have hit the wall with a resource-denied error.

The netconf server is set up on a C3750-24TS running c3750-ipservicesk9-mz.122-55.SE8.bin

The configuration is:

DLS1#sh run | i netconf

netconf max-sessions 16

netconf ssh

The netconf SSH session is successfully established from my ubuntu VM.

Then I send the XML request:

<?xml version="1.0" encoding="UTF-8"?>

<rpc>

  <get>

    <filter>

      <oper-data-format-text-block>

        <show>arp</show>

      </oper-data-format-text-block>

    </filter>

  </get>

</rpc>]]>]]>

to which I get a reply:

<?xml version="1.0" encoding="UTF-8"?>

<rpc-reply xmlns="urn:ietf:params:netconf:base:1.0">

  <rpc-error>

    <error-type>rpc</error-type>

    <error-tag>resource-denied</error-tag>

    <error-severity>error</error-severity>

    <error-info>

      <bad-element></bad-element>

    </error-info>

  </rpc-error>

</rpc-reply>]]>]]>

I dont understand what does this error exactly mean.

From http://xml.coverpages.org/IETF-RFC4741.txt I can see that:

   Tag:         resource-denied
   Error-type:  transport, rpc, protocol, application
   Severity:    error
   Error-info:  none
   Description: Request could not be completed because of insufficient
                resources.

Any help is appreciated!

3 Replies 3

tanh00002
Level 1
Level 1

Hi heikishv1

Did you solve this problem. I have the same problem. I think this problem occurred because the privilege of user who sent request from Netconf client. So I used user account which have privilege 15 but at Netconf Server, Netconf display priv=1 and problem still occured.

If you solved this problem, please give some tips. Thank you!

 

Sorry for the late reply. 

I did not resolve it. I also haven't had time to play with it more. Maybe I will come back to it some time and try with newer Catalyst software.

rahul_mu8
Level 1
Level 1
i faced this issue and found cisco needs message-id to be sent in rpc tags
so below should be your first 2 tags in netconf request
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">