06-05-2021 03:05 AM
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>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')
]))Solved! Go to Solution.
06-13-2021 07:52 AM
06-13-2021 07:52 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide