HI ,
I am trying to execute some RPC query to XRV router after netconf client session is established and capabilities are exchanged but router is not responding anything and getting timed out after longtime.
running this command from client machine - ssh -p 830 test@x.x.xx -s netconf as below. I have pasted few capablities alone .
[root@s~]# ssh -p 830 auto@15.25.75.107 -s netconf
The authenticity of host '[135.250.75.107]:830 ([135.250.75.107]:830)' can't be established.
RSA key fingerprint is SHA256:v4UDeUwAOn/9nz1KrEsh770GScx+hDTZk3TdN3WLplY.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[135.250.75.107]:830' (RSA) to the list of known hosts.
Password:
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:netconf:base:1.1</capability>
<capability>urn:ietf:params:netconf:capability:candidate:1.0</capability>
<capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability>
<capability>urn:ietf:params:netconf:capability:validate:1.1</capability>
<capability>urn:ietf:params:netconf:capability:confirmed-commit:1.1</capability>
<capability>urn:ietf:params:netconf:capability:notification:1.0</capability>
<capability>urn:ietf:params:netconf:capability:interleave:1.0</capability>
<capability>http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-mpa-infra-cfg?module=Cisco-IOS-XR-drivers-mpa-infra-cfg&revision=2015-11-09</capability>
<capability>http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09</capability>
<capability>http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09</capability>
Query sent : I have tried many query and no response for all query.
<rpc
xmlns="urn:ietf:params:netconf:base:1.1" message-id="3001230593005">
<get>
<filter type="subtree">
<asr9k-sc-invmgr-oper:inventory
xmlns:asr9k-sc-invmgr-oper="http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-oper">
<asr9k-sc-invmgr-oper:racks>
<asr9k-sc-invmgr-oper:rack>
<asr9k-sc-invmgr-oper:slots>
<asr9k-sc-invmgr-oper:slot>
<asr9k-sc-invmgr-oper:basic-attributes>
<asr9k-sc-invmgr-oper:basic-info/>
</asr9k-sc-invmgr-oper:basic-attributes>
</asr9k-sc-invmgr-oper:slot>
</asr9k-sc-invmgr-oper:slots>
</asr9k-sc-invmgr-oper:rack>
</asr9k-sc-invmgr-oper:racks>
</asr9k-sc-invmgr-oper:inventory>
</filter>
</get>
</rpc>]]>]]>
It not responding to any query.
Regards
Prathi