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

Display xml but hide service meta data

neetimit
Cisco Employee
Cisco Employee

Hi folks,

 

I am curious to understand that when I see configuration of a device that is set by some NSO service in xml format, I see the refcount and backpointers by default in the output of "show running-config" or show full-configuration, I was thinking if I use " hide service-meta-data" this should help me to hide the refcounts and back pointers but it doesn't!

any one has any clue how to do hide these refcounts:

 

admin@ncs# show running-config devices device IOS2 config ios:ip | hide service-meta-data | display xml

<config xmlns="http://tail-f.com/ns/config/1.0">

  <devices xmlns="http://tail-f.com/ns/ncs">

  <device>

    <name>IOS2</name>

      <config>

      <ip xmlns="urn:ios">

        <source-route>true</source-route>

        <gratuitous-arps-conf>

          <gratuitous-arps>false</gratuitous-arps>

        </gratuitous-arps-conf>

        <finger>

        </finger>

        <http>

          <server>false</server>

          <secure-server>false</secure-server>

        </http>

        <route>

          <ip-route-forwarding-list refcounter="1"  backpointer="[ /charter:charter/charter:rfs/rfs-ip:rfs-ip[rfs-ip:device='IOS2'] ]" >

            <prefix>192.168.71.25</prefix>

            <mask>255.255.255.252</mask>

            <forwarding-address>192.168.71.18</forwarding-address>

          </ip-route-forwarding-list>

        </route>

      </ip>

      </config>

  </device>

  </devices>

</config>

admin@ncs# 

0 Replies 0
Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?