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

NXOS NETCONF reply not showing packets (CML Sandbox)

Hello, 

I am retrieving the interfaces configurations and statistics with netconf and ncclient on a Nexus switch.

I have installed the mtx-openconfig-all-1.0.0.0-9.2.3.lib32_n9000.rpm on the nexus and the request xml is this one:

 

<interfaces xmlns="http://openconfig.net/yang/interfaces">
                <interface>
                    <name>eth1/1</name>
                </interface>
                <interface>
                    <name>eth1/2</name>
                </interface>
                <interface>
                    <name>eth1/3</name>
                </interface>
                <interface>
                    <name>eth1/4</name>
                </interface>
                <interface>
                    <name>eth1/5</name>
                </interface>
                <interface>
                    <name>eth1/6</name>
                </interface>
                <interface>
                    <name>eth1/7</name>
                </interface>
                <interface>
                    <name>eth1/8</name>
               </interface>
               <interface>
                    <name>eth1/9</name>
               </interface>
            </interfaces>
The nexus reply is successful and I can see the interfaces configurations but the packets section always comes with 0 packets and I can see on the packet capture feature on the sandbox that there is packets and pings being exchanged...
 
OrderedDict([
                ('in-broadcast-pkts',
                '0'),
                ('in-discards',
                '0'),
                ('in-errors',
                '0'),
                ('in-multicast-pkts',
                '0'),
                ('in-octets',
                '0'),
                ('in-unicast-pkts',
                '0'),
                ('in-unknown-protos',
                '0'),
                ('out-broadcast-pkts',
                '0'),
                ('out-discards',
                '0'),
                ('out-errors',
                '0'),
                ('out-multicast-pkts',
                '0'),
                ('out-octets',
                '0'),
                ('out-unicast-pkts',
                '0')
              ]))
Have attached the full reply.
How could I see the number of packets being exchanged on the reply? Thank you.
1 Accepted Solution

Accepted Solutions
1 Reply 1

Screen Shot 2021-06-13 at 16.51.48.png

Review Cisco Networking for a $25 gift card