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

Netconf weird output

heiki saaver
Level 1
Level 1

Hello. I am running c3750-ipservicesk9-mz.122-55.SE8.bin on my switch and I'm tinkering with netconf.

The netconf session is set up and im sending this query to the switch:

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

<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

   <get>

      <filter>

<oper-data-format-text-block>

<show>arp</show>

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

  </filter>

   </get>

</rpc>]]>]]>

This is the netconf debug log on the switch:

*Mar 13 02:39:57.868: netconf app ssh[0x4EF87C0]:

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

<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

   <get>

      <filter>

                <oper-data-format-text-block>

                <show>arp</show>

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

          </filter>

   </get>

</rpc>

*Mar 13 02:39:57.868: NETCONF: show running

*Mar 13 02:39:58.942: NETCONF: show arp

For some reason "show running" is also added to the reply- I am given the response of the running config and then the output of "show arp":

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

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

<data>

<cli-config-data-block>

!

version 12.2

no service pad

service timestamps debug datetime msec

.....

.....

.....

transport output ssh

!

netconf max-sessions 16

netconf ssh

</cli-config-data-block>

<cli-oper-data-block>

<item>

<show>arp</show>

<response>

Protocol  Address          Age (min)  Hardware Addr   Type   Interface

Internet  10.1.1.11               -   0014.a905.2c41  ARPA   Vlan99

Internet  10.1.1.12             133   0017.5983.c1c1  ARPA   Vlan99

Internet  10.1.1.1               98   503d.e52b.a206  ARPA   Vlan99

</response>

</item>

</cli-oper-data-block>


</data>

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

Am I missing something here? Why is the running config icluded to the reply when I only requested the arp table.

thanks!

0 Replies 0