OC Interface Counters
Querying Interface Counter Errors
Querying Interface Counter Errors
<rpc xmlns:if="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nfcli="http://www.cisco.com/nxos:1.0:nfcli" xmlns:nxos="http://www.cisco.com/nxos:1.0" xmlns:vlan_mgr_cli="http://www.cisco.com/nxos:1.0:vlan_mgr_cli" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:a1b5ee1c-c21b-4f75-8c3d-294b8da52f6e">
<get>
<filter>
<interfaces xmlns="http://openconfig.net/yang/interfaces">
<interface>
<name>eth1/53</name>
<state>
<counters>
<in-octets/>
<in-unicast-pkts/>
<in-broadcast-pkts/>
<in-fcs-errors/>
</counters>
</state>
</interface>
</interfaces>
</filter>
</get>
</rpc>
Received:
<rpc-reply xmlns:if="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nfcli="http://www.cisco.com/nxos:1.0:nfcli" xmlns:nxos="http://www.cisco.com/nxos:1.0" xmlns:vlan_mgr_cli="http://www.cisco.com/nxos:1.0:vlan_mgr_cli" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:a1b5ee1c-c21b-4f75-8c3d-294b8da52f6e">
<data>
<interfaces xmlns="http://openconfig.net/yang/interfaces">
<interface>
<name>eth1/53</name>
<state>
<counters>
<in-octets>3085180851040</in-octets>
<in-unicast-pkts>663013031</in-unicast-pkts>
<in-broadcast-pkts>0</in-broadcast-pkts>
<in-fcs-errors>1912824</in-fcs-errors>
</counters>
</state>
</interface>
</interfaces>
</data>
</rpc-reply>
Note: This example was added in Release 9.3(5).
CLI Command
show interface e1/53,e1/54 counters errors