Interface Commands

show interface vlan 63

show interface vlan 63
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface vlan 63",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show interface vlan 63",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_interface":	{
                        "ROW_interface":	{
                            "interface":	"Vlan63",
                            "svi_admin_state":	"down",
                            "svi_rsn_desc":	"VLAN/BD does not exist",
                            "svi_line_proto":	"down",
                            "svi_mac":	" 0026.51c7.fcc1",
                            "svi_ip_addr":	"166.1.1.1",
                            "svi_ip_mask":	"24",
                            "svi_mtu":	"1500",
                            "svi_bw":	"1000000",
                            "svi_delay":	"10",
                            "vlan_id":	"63",
                            "type":	"svi",
                            "svi_tx_load":	1,
                            "svi_rx_load":	"1",
                            "svi_arp_type":	"ARPA",
                            "svi_time_last_cleared":	"never",
                            "eth_load_interval1_rx":	60,
                            "eth_inrate1_bits":	"0",
                            "eth_inrate1_pkts":	"0",
                            "eth_load_interval1_tx":	"60",
                            "eth_outrate1_bits":	"0",
                            "eth_outrate1_pkts":	"0",
                            "svi_routed_pkts_in":	"0",
                            "svi_routed_bytes_in":	"0",
                            "svi_routed_pkts_out":	"0",
                            "svi_routed_bytes_out":	"0",
                            "svi_ucast_pkts_in":	"0",
                            "svi_ucast_bytes_in":	"0",
                            "svi_mcast_pkts_in":	"0",
                            "svi_mcast_bytes_in":	"0",
                            "svi_ucast_pkts_out":	"0",
                            "svi_ucast_bytes_out":	"0",
                            "svi_mcast_pkts_out":	"0",
                            "svi_mcast_bytes_out":	"0"
                        }
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface vlan 63**

Vlan63 is up, line protocol is up, autostate disabled
  Hardware is EtherSVI, address is  0026.51c7.fcc1
  Internet Address is 163.1.1.1/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
   reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA
  Last clearing of "show interface" counters never
  60 seconds input rate 0 bits/sec, 0 packets/sec
  60 seconds output rate 0 bits/sec, 0 packets/sec
  Load-Interval #2: 5 minute (300 seconds)
    input rate 0 bps, 0 pps; output rate 0 bps, 0 pps
  L3 Switched:
    input: 0 pkts, 0 bytes - output: 0 pkts, 0 bytes
  L3 in Switched:
    ucast: 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes
  L3 out Switched:
    ucast: 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes

show interface status

show interface status
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface status",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show interface status",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_interface":	{
                        "ROW_interface":	[{
                                "interface":	"mgmt0",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-1000",
                                "type":	"--"
                            }, {
                                "interface":	"Ethernet9/1",
                                "state":	"notconnect",
                                "vlan":	"2",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/2",
                                "state":	"connected",
                                "vlan":	"2",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/3",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/4",
                                "state":	"sfpAbsent",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"Ethernet9/5",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU1M"
                            }, {
                                "interface":	"Ethernet9/6",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/7",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/8",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/9",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/10",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/11",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/12",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/13",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/14",
                                "state":	"sfpAbsent",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"Ethernet9/15",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/16",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU1M"
                            }, {
                                "interface":	"Ethernet9/17",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/18",
                                "state":	"sfpAbsent",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"Ethernet9/19",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/20",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"1000",
                                "type":	"1000base-T"
                            }, {
                                "interface":	"Ethernet9/21",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/22",
                                "state":	"sfpAbsent",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"Ethernet9/23",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/24",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/25",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/26",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"1000base-T"
                            }, {
                                "interface":	"Ethernet9/27",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/28",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/29",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/30",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/31",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/32",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/33",
                                "state":	"connected",
                                "vlan":	"2",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/34",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/35",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/36",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU5M"
                            }, {
                                "interface":	"Ethernet9/37",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU1M"
                            }, {
                                "interface":	"Ethernet9/38",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/39",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/40",
                                "state":	"sfpAbsent",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"Ethernet9/41",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/42",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU1M"
                            }, {
                                "interface":	"Ethernet9/43",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/44",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"SFP-H10GB-CU3M"
                            }, {
                                "interface":	"Ethernet9/45",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"1000base-T"
                            }, {
                                "interface":	"Ethernet9/46",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"1000base-T"
                            }, {
                                "interface":	"Ethernet9/47",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"10Gbase-SR"
                            }, {
                                "interface":	"Ethernet9/48",
                                "state":	"notconnect",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"1000base-T"
                            }, {
                                "interface":	"port-channel12",
                                "state":	"noOperMembers",
                                "vlan":	"1",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"port-channel22",
                                "state":	"connected",
                                "vlan":	"2",
                                "duplex":	"full",
                                "speed":	"a-10G",
                                "type":	"--"
                            }, {
                                "interface":	"port-channel63",
                                "state":	"noOperMembers",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"port-channel123",
                                "state":	"noOperMembers",
                                "vlan":	"1",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"port-channel154",
                                "state":	"suspndByVpc",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"loopback22",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"loopback63",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto",
                                "type":	"--"
                            }, {
                                "interface":	"Vlan1",
                                "state":	"down",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto"
                            }, {
                                "interface":	"Vlan2",
                                "state":	"connected",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto"
                            }, {
                                "interface":	"Vlan63",
                                "state":	"down",
                                "vlan":	"routed",
                                "duplex":	"auto",
                                "speed":	"auto"
                            }]
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface status**

\--------------------------------------------------------------------------------
Port             Name            Status    Vlan      Duplex  Speed   Type
--------------------------------------------------------------------------------
mgmt0            --              connected routed    full    a-1000  --
Eth1/1           --              xcvrAbsen routed    auto    auto    --
Eth1/2           --              disabled  routed    auto    auto    QSFP-H40G-A
Eth1/3           --              disabled  routed    auto    auto    QSFP-H40G-A
Eth1/4           --              xcvrAbsen routed    auto    auto    --
Eth1/5           --              xcvrAbsen routed    auto    auto    --
Eth1/6           --              disabled  routed    auto    auto    QSFP-40G-SR
Eth1/7           --              xcvrAbsen routed    auto    auto    --
Eth1/8           --              xcvrAbsen routed    auto    auto    --
Eth1/9           --              xcvrAbsen routed    auto    auto    --
Eth1/10          --              xcvrAbsen routed    auto    auto    --
Eth1/11          --              disabled  routed    auto    auto    QSFP-H40G-A
Eth1/12          --              disabled  routed    auto    auto    QSFP-40G-CR
Eth1/13          --              xcvrAbsen routed    auto    auto    --
Eth1/14          --              disabled  routed    auto    auto    QSFP-40G-SR
Eth1/15          --              xcvrAbsen routed    auto    auto    --
Eth1/16          --              xcvrAbsen routed    auto    auto    --
Eth1/17          --              xcvrAbsen routed    auto    auto    --
Eth1/18          --              xcvrAbsen routed    auto    auto    --
Eth1/19          --              xcvrAbsen routed    auto    auto    --
Eth1/20          --              disabled  routed    auto    auto    QSFP-H40G-A
Eth1/21          --              xcvrAbsen routed    auto    auto    --
Eth1/22          --              xcvrAbsen routed    auto    auto    --
Eth1/23          --              xcvrAbsen routed    auto    auto    --
Eth1/24          --              disabled  routed    auto    auto    QSFP-H40G-A
Eth9/1           --              notconnec 2         auto    auto    SFP-H10GB-C
Eth9/2           --              connected 2         full    a-10G   10Gbase-SR
Eth9/3           --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/4           --              sfpAbsent routed    auto    auto    --
Eth9/5           --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/6           --              connected routed    full    a-10G   10Gbase-SR
Eth9/7           --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/8           --              connected routed    full    a-10G   10Gbase-SR
Eth9/9           --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/10          --              connected routed    full    a-10G   10Gbase-SR
Eth9/11          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/12          --              connected routed    full    a-10G   10Gbase-SR
Eth9/13          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/14          --              sfpAbsent routed    auto    auto    --
Eth9/15          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/16          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/17          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/18          --              sfpAbsent routed    auto    auto    --
Eth9/19          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/20          --              connected routed    full    1000    1000base-T
Eth9/21          --              connected routed    full    a-10G   10Gbase-SR
Eth9/22          --              sfpAbsent routed    auto    auto    --
Eth9/23          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/24          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/25          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/26          --              notconnec routed    auto    auto    1000base-T
Eth9/27          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/28          --              connected routed    full    a-10G   10Gbase-SR
Eth9/29          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/30          --              connected routed    full    a-10G   10Gbase-SR
Eth9/31          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/32          --              connected routed    full    a-10G   10Gbase-SR
Eth9/33          --              connected 2         full    a-10G   10Gbase-SR
Eth9/34          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/35          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/36          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/37          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/38          --              connected routed    full    a-10G   10Gbase-SR
Eth9/39          --              connected routed    full    a-10G   10Gbase-SR
Eth9/40          --              sfpAbsent routed    auto    auto    --
Eth9/41          --              notconnec routed    auto    auto    SFP-H10GB-C
Eth9/42          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/43          --              connected routed    full    a-10G   10Gbase-SR
Eth9/44          --              connected routed    full    a-10G   SFP-H10GB-C
Eth9/45          --              notconnec routed    auto    auto    1000base-T
Eth9/46          --              notconnec routed    auto    auto    1000base-T
Eth9/47          --              connected routed    full    a-10G   10Gbase-SR
Eth9/48          --              notconnec routed    auto    auto    1000base-T
Po12             --              noOperMem 1         auto    auto    --
Po22             --              connected 2         full    a-10G   --
Po63             --              noOperMem routed    auto    auto    --
Po123            --              noOperMem 1         auto    auto    --
Po154            --              noOperMem routed    auto    auto    --
Lo22             --              connected routed    auto    auto    --
Lo63             --              connected routed    auto    auto    --
Vlan1         --                 down      routed    auto    auto    --
Vlan2         --                 connected routed    auto    auto    --
Vlan63        --                 connected routed    auto    auto    --

show interface mac-address

show interface mac-address
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface mac-address",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show interface mac-address",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_interface":	{
                        "ROW_interface":	[{
                                "interface":	"mgmt0",
                                "address":	"00c8.8bd7.a511",
                                "bia_address":	"00c8.8bd7.a511"
                            }, {
                                "interface":	"Ethernet9/1",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e49c"
                            }, {
                                "interface":	"Ethernet9/2",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e49d"
                            }, {
                                "interface":	"Ethernet9/3",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e49e"
                            }, {
                                "interface":	"Ethernet9/4",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e49f"
                            }, {
                                "interface":	"Ethernet9/5",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a0"
                            }, {
                                "interface":	"Ethernet9/6",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a1"
                            }, {
                                "interface":	"Ethernet9/7",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a2"
                            }, {
                                "interface":	"Ethernet9/8",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a3"
                            }, {
                                "interface":	"Ethernet9/9",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a4"
                            }, {
                                "interface":	"Ethernet9/10",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a5"
                            }, {
                                "interface":	"Ethernet9/11",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a6"
                            }, {
                                "interface":	"Ethernet9/12",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a7"
                            }, {
                                "interface":	"Ethernet9/13",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a8"
                            }, {
                                "interface":	"Ethernet9/14",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4a9"
                            }, {
                                "interface":	"Ethernet9/15",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4aa"
                            }, {
                                "interface":	"Ethernet9/16",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4ab"
                            }, {
                                "interface":	"Ethernet9/17",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4ac"
                            }, {
                                "interface":	"Ethernet9/18",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4ad"
                            }, {
                                "interface":	"Ethernet9/19",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4ae"
                            }, {
                                "interface":	"Ethernet9/20",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4af"
                            }, {
                                "interface":	"Ethernet9/21",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b0"
                            }, {
                                "interface":	"Ethernet9/22",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b1"
                            }, {
                                "interface":	"Ethernet9/23",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b2"
                            }, {
                                "interface":	"Ethernet9/24",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b3"
                            }, {
                                "interface":	"Ethernet9/25",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b4"
                            }, {
                                "interface":	"Ethernet9/26",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b5"
                            }, {
                                "interface":	"Ethernet9/27",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b6"
                            }, {
                                "interface":	"Ethernet9/28",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b7"
                            }, {
                                "interface":	"Ethernet9/29",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b8"
                            }, {
                                "interface":	"Ethernet9/30",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4b9"
                            }, {
                                "interface":	"Ethernet9/31",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4ba"
                            }, {
                                "interface":	"Ethernet9/32",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4bb"
                            }, {
                                "interface":	"Ethernet9/33",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4bc"
                            }, {
                                "interface":	"Ethernet9/34",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4bd"
                            }, {
                                "interface":	"Ethernet9/35",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4be"
                            }, {
                                "interface":	"Ethernet9/36",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4bf"
                            }, {
                                "interface":	"Ethernet9/37",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c0"
                            }, {
                                "interface":	"Ethernet9/38",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c1"
                            }, {
                                "interface":	"Ethernet9/39",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c2"
                            }, {
                                "interface":	"Ethernet9/40",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c3"
                            }, {
                                "interface":	"Ethernet9/41",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c4"
                            }, {
                                "interface":	"Ethernet9/42",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c5"
                            }, {
                                "interface":	"Ethernet9/43",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c6"
                            }, {
                                "interface":	"Ethernet9/44",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c7"
                            }, {
                                "interface":	"Ethernet9/45",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c8"
                            }, {
                                "interface":	"Ethernet9/46",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4c9"
                            }, {
                                "interface":	"Ethernet9/47",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4ca"
                            }, {
                                "interface":	"Ethernet9/48",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4cb"
                            }, {
                                "interface":	"port-channel12",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0000.0000.0000"
                            }, {
                                "interface":	"port-channel22",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"3820.563d.e4bc"
                            }, {
                                "interface":	"port-channel63",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0000.0000.0000"
                            }, {
                                "interface":	"port-channel123",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0000.0000.0000"
                            }, {
                                "interface":	"port-channel154",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0000.0000.0000"
                            }, {
                                "interface":	"Vlan1",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0026.51c7.fcc1"
                            }, {
                                "interface":	"Vlan2",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0026.51c7.fcc1"
                            }, {
                                "interface":	"Vlan63",
                                "address":	"0026.51c7.fcc1",
                                "bia_address":	"0026.51c7.fcc1"
                            }]
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface mac-address**

\--------------------------------------------------------------------------------
Interface                  Mac-Address     Burn-in Mac-Address
--------------------------------------------------------------------------------
mgmt0                      00c8.8bd7.a511  00c8.8bd7.a511
Ethernet1/1                0026.51c7.fcc1  0076.86be.af04
Ethernet1/2                0026.51c7.fcc1  0076.86be.af08
Ethernet1/3                0026.51c7.fcc1  0076.86be.af0c
Ethernet1/4                0026.51c7.fcc1  0076.86be.af10
Ethernet1/5                0026.51c7.fcc1  0076.86be.af14
Ethernet1/6                0026.51c7.fcc1  0076.86be.af18
Ethernet1/7                0026.51c7.fcc1  0076.86be.af1c
Ethernet1/8                0026.51c7.fcc1  0076.86be.af20
Ethernet1/9                0026.51c7.fcc1  0076.86be.af24
Ethernet1/10               0026.51c7.fcc1  0076.86be.af28
Ethernet1/11               0026.51c7.fcc1  0076.86be.af2c
Ethernet1/12               0026.51c7.fcc1  0076.86be.af30
Ethernet1/13               0026.51c7.fcc1  0076.86be.af34
Ethernet1/14               0026.51c7.fcc1  0076.86be.af35
Ethernet1/15               0026.51c7.fcc1  0076.86be.af36
Ethernet1/16               0026.51c7.fcc1  0076.86be.af37
Ethernet1/17               0026.51c7.fcc1  0076.86be.af38
Ethernet1/18               0026.51c7.fcc1  0076.86be.af39
Ethernet1/19               0026.51c7.fcc1  0076.86be.af3a
Ethernet1/20               0026.51c7.fcc1  0076.86be.af3b
Ethernet1/21               0026.51c7.fcc1  0076.86be.af3c
Ethernet1/22               0026.51c7.fcc1  0076.86be.af3d
Ethernet1/23               0026.51c7.fcc1  0076.86be.af3e
Ethernet1/24               0026.51c7.fcc1  0076.86be.af3f
Ethernet9/1                0026.51c7.fcc1  3820.563d.e49c
Ethernet9/2                0026.51c7.fcc1  3820.563d.e49d
Ethernet9/3                0026.51c7.fcc1  3820.563d.e49e
Ethernet9/4                0026.51c7.fcc1  3820.563d.e49f
Ethernet9/5                0026.51c7.fcc1  3820.563d.e4a0
Ethernet9/6                0026.51c7.fcc1  3820.563d.e4a1
Ethernet9/7                0026.51c7.fcc1  3820.563d.e4a2
Ethernet9/8                0026.51c7.fcc1  3820.563d.e4a3
Ethernet9/9                0026.51c7.fcc1  3820.563d.e4a4
Ethernet9/10               0026.51c7.fcc1  3820.563d.e4a5
Ethernet9/11               0026.51c7.fcc1  3820.563d.e4a6
Ethernet9/12               0026.51c7.fcc1  3820.563d.e4a7
Ethernet9/13               0026.51c7.fcc1  3820.563d.e4a8
Ethernet9/14               0026.51c7.fcc1  3820.563d.e4a9
Ethernet9/15               0026.51c7.fcc1  3820.563d.e4aa
Ethernet9/16               0026.51c7.fcc1  3820.563d.e4ab
Ethernet9/17               0026.51c7.fcc1  3820.563d.e4ac
Ethernet9/18               0026.51c7.fcc1  3820.563d.e4ad
Ethernet9/19               0026.51c7.fcc1  3820.563d.e4ae
Ethernet9/20               0026.51c7.fcc1  3820.563d.e4af
Ethernet9/21               0026.51c7.fcc1  3820.563d.e4b0
Ethernet9/22               0026.51c7.fcc1  3820.563d.e4b1
Ethernet9/23               0026.51c7.fcc1  3820.563d.e4b2
Ethernet9/24               0026.51c7.fcc1  3820.563d.e4b3
Ethernet9/25               0026.51c7.fcc1  3820.563d.e4b4
Ethernet9/26               0026.51c7.fcc1  3820.563d.e4b5
Ethernet9/27               0026.51c7.fcc1  3820.563d.e4b6
Ethernet9/28               0026.51c7.fcc1  3820.563d.e4b7
Ethernet9/29               0026.51c7.fcc1  3820.563d.e4b8
Ethernet9/30               0026.51c7.fcc1  3820.563d.e4b9
Ethernet9/31               0026.51c7.fcc1  3820.563d.e4ba
Ethernet9/32               0026.51c7.fcc1  3820.563d.e4bb
Ethernet9/33               0026.51c7.fcc1  3820.563d.e4bc
Ethernet9/34               0026.51c7.fcc1  3820.563d.e4bd
Ethernet9/35               0026.51c7.fcc1  3820.563d.e4be
Ethernet9/36               0026.51c7.fcc1  3820.563d.e4bf
Ethernet9/37               0026.51c7.fcc1  3820.563d.e4c0
Ethernet9/38               0026.51c7.fcc1  3820.563d.e4c1
Ethernet9/39               0026.51c7.fcc1  3820.563d.e4c2
Ethernet9/40               0026.51c7.fcc1  3820.563d.e4c3
Ethernet9/41               0026.51c7.fcc1  3820.563d.e4c4
Ethernet9/42               0026.51c7.fcc1  3820.563d.e4c5
Ethernet9/43               0026.51c7.fcc1  3820.563d.e4c6
Ethernet9/44               0026.51c7.fcc1  3820.563d.e4c7
Ethernet9/45               0026.51c7.fcc1  3820.563d.e4c8
Ethernet9/46               0026.51c7.fcc1  3820.563d.e4c9
Ethernet9/47               0026.51c7.fcc1  3820.563d.e4ca
Ethernet9/48               0026.51c7.fcc1  3820.563d.e4cb
port-channel12             0026.51c7.fcc1  0000.0000.0000
port-channel22             0026.51c7.fcc1  3820.563d.e4bc
port-channel63             0026.51c7.fcc1  0000.0000.0000
port-channel123            0026.51c7.fcc1  0000.0000.0000
port-channel154            0026.51c7.fcc1  0000.0000.0000
Vlan1                      0026.51c7.fcc1  0026.51c7.fcc1
Vlan2                      0026.51c7.fcc1  0026.51c7.fcc1
Vlan63                     0026.51c7.fcc1  0026.51c7.fcc1

show interface mgmt0 brief

show interface mgmt0 brief
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface mgmt0 brief",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show int mgmt 0 brief",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_interface":	{
                        "ROW_interface":	{
                            "interface":	"mgmt0",
                            "state":	"up",
                            "ip_addr":	"10.77.143.239",
                            "speed":	"1000",
                            "mtu":	1500
                        }
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface mgmt0 brief**

\--------------------------------------------------------------------------------
Port   VRF          Status IP Address                              Speed    MTU
--------------------------------------------------------------------------------
mgmt0  --           up     10.77.143.239                           1000     1500

show interface counters

show interface counters
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface counters",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show int counters",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_rx_counters":	{
                        "ROW_rx_counters":	[{
                                "interface_rx":	"mgmt0",
                                "eth_inpkts":	91532790,
                                "eth_inucast":	246407
                            }, {
                                "interface_rx":	"Ethernet9/1",
                                "eth_inbytes":	709931,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/2",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/3",
                                "eth_inbytes":	288712656,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/4",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/5",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/6",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/7",
                                "eth_inbytes":	341581214,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/8",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/9",
                                "eth_inbytes":	68541296,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/10",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/11",
                                "eth_inbytes":	90730913,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/12",
                                "eth_inbytes":	1994424,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/13",
                                "eth_inbytes":	365020580,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/14",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/15",
                                "eth_inbytes":	184569507,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/16",
                                "eth_inbytes":	1983449,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/17",
                                "eth_inbytes":	29493489311589,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/18",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/19",
                                "eth_inbytes":	5096423,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/20",
                                "eth_inbytes":	2463140,
                                "eth_inucast":	431
                            }, {
                                "interface_rx":	"Ethernet9/21",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/22",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/23",
                                "eth_inbytes":	2218574,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/24",
                                "eth_inbytes":	29493233512252,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/25",
                                "eth_inbytes":	2129128,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/26",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/27",
                                "eth_inbytes":	2504360,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/28",
                                "eth_inbytes":	1977966,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/29",
                                "eth_inbytes":	2126614,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/30",
                                "eth_inbytes":	6522538,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/31",
                                "eth_inbytes":	11951521,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/32",
                                "eth_inbytes":	1977966,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/33",
                                "eth_inbytes":	191332,
                                "eth_inucast":	12
                            }, {
                                "interface_rx":	"Ethernet9/34",
                                "eth_inbytes":	29492466911286,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/35",
                                "eth_inbytes":	209218958,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/36",
                                "eth_inbytes":	257316873,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/37",
                                "eth_inbytes":	1981506,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/38",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/39",
                                "eth_inbytes":	49202880,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/40",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/41",
                                "eth_inbytes":	4771,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/42",
                                "eth_inbytes":	1982298,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/43",
                                "eth_inbytes":	1989684,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/44",
                                "eth_inbytes":	15994201311823,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/45",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/46",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/47",
                                "eth_inbytes":	49090530,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Ethernet9/48",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"port-channel12",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"port-channel22",
                                "eth_inbytes":	191332,
                                "eth_inucast":	12
                            }, {
                                "interface_rx":	"port-channel63",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"port-channel123",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"port-channel154",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Vlan1",
                                "eth_inbytes":	0,
                                "eth_inucast":	0
                            }, {
                                "interface_rx":	"Vlan2",
                                "eth_inbytes":	572,
                                "eth_inucast":	4
                            }, {
                                "interface_rx":	"Vlan63",
                                "eth_inbytes":	0,
                                "eth_inucast":	0,
                                "eth_inmcast":	270214,
                                "eth_inbcast":	563441
                            }, {
                                "interface_rx":	"Ethernet9/1",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/2",
                                "eth_inmcast":	7026,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/3",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/4",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/5",
                                "eth_inmcast":	7026,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/6",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/7",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/8",
                                "eth_inmcast":	7026,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/9",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/10",
                                "eth_inmcast":	7026,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/11",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/12",
                                "eth_inmcast":	7026,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/13",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/14",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/15",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/16",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/17",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/18",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/19",
                                "eth_inmcast":	72521,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/20",
                                "eth_inmcast":	9472,
                                "eth_inbcast":	4
                            }, {
                                "interface_rx":	"Ethernet9/21",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/22",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/23",
                                "eth_inmcast":	7032,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/24",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/25",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/26",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/27",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/28",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/29",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/30",
                                "eth_inmcast":	77220,
                                "eth_inbcast":	6
                            }, {
                                "interface_rx":	"Ethernet9/31",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/32",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/33",
                                "eth_inmcast":	596,
                                "eth_inbcast":	4
                            }, {
                                "interface_rx":	"Ethernet9/34",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/35",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/36",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/37",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/38",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/39",
                                "eth_inmcast":	45985,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/40",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/41",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/42",
                                "eth_inmcast":	7018,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/43",
                                "eth_inmcast":	7030,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/44",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/45",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/46",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/47",
                                "eth_inmcast":	45879,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Ethernet9/48",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"port-channel12",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"port-channel22",
                                "eth_inmcast":	596,
                                "eth_inbcast":	4
                            }, {
                                "interface_rx":	"port-channel63",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"port-channel123",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"port-channel154",
                                "eth_inmcast":	0,
                                "eth_inbcast":	0
                            }, {
                                "interface_rx":	"Vlan1",
                                "eth_inmcast":	0
                            }, {
                                "interface_rx":	"Vlan2",
                                "eth_inmcast":	2
                            }, {
                                "interface_rx":	"Vlan63",
                                "eth_inmcast":	0
                            }]
                    },
                    "TABLE_tx_counters":	{
                        "ROW_tx_counters":	[{
                                "interface_tx":	"mgmt0",
                                "eth_outpkts":	13761689,
                                "eth_outucast":	142075
                            }, {
                                "interface_tx":	"Ethernet9/1",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/2",
                                "eth_outbytes":	6522666,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/3",
                                "eth_outbytes":	1250,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/4",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/5",
                                "eth_outbytes":	1981418,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/6",
                                "eth_outbytes":	1977966,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/7",
                                "eth_outbytes":	1250,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/8",
                                "eth_outbytes":	1977966,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/9",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/10",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/11",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/12",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/13",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/14",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/15",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/16",
                                "eth_outbytes":	1990908,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/17",
                                "eth_outbytes":	2171364,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/18",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/19",
                                "eth_outbytes":	2172636,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/20",
                                "eth_outbytes":	6382602,
                                "eth_outucast":	412
                            }, {
                                "interface_tx":	"Ethernet9/21",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/22",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/23",
                                "eth_outbytes":	1991568,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/24",
                                "eth_outbytes":	2171364,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/25",
                                "eth_outbytes":	1991568,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/26",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/27",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/28",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/29",
                                "eth_outbytes":	1992180,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/30",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/31",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/32",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/33",
                                "eth_outbytes":	524489,
                                "eth_outucast":	11
                            }, {
                                "interface_tx":	"Ethernet9/34",
                                "eth_outbytes":	2171364,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/35",
                                "eth_outbytes":	1257,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/36",
                                "eth_outbytes":	1257,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/37",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/38",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/39",
                                "eth_outbytes":	2171364,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/40",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/41",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/42",
                                "eth_outbytes":	1991220,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/43",
                                "eth_outbytes":	1989684,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/44",
                                "eth_outbytes":	2171364,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/45",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/46",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/47",
                                "eth_outbytes":	2170782,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Ethernet9/48",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"port-channel12",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"port-channel22",
                                "eth_outbytes":	524489,
                                "eth_outucast":	11
                            }, {
                                "interface_tx":	"port-channel63",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"port-channel123",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"port-channel154",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Vlan1",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Vlan2",
                                "eth_outbytes":	0,
                                "eth_outucast":	0
                            }, {
                                "interface_tx":	"Vlan63",
                                "eth_outbytes":	0,
                                "eth_outucast":	0,
                                "eth_outmcast":	7024,
                                "eth_outbcast":	4892
                            }, {
                                "interface_tx":	"Ethernet9/1",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/2",
                                "eth_outmcast":	77221,
                                "eth_outbcast":	6
                            }, {
                                "interface_tx":	"Ethernet9/3",
                                "eth_outmcast":	4,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/4",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/5",
                                "eth_outmcast":	7041,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/6",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/7",
                                "eth_outmcast":	4,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/8",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/9",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/10",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/11",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/12",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/13",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/14",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/15",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/16",
                                "eth_outmcast":	7034,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/17",
                                "eth_outmcast":	7027,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/18",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/19",
                                "eth_outmcast":	7031,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/20",
                                "eth_outmcast":	73624,
                                "eth_outbcast":	11
                            }, {
                                "interface_tx":	"Ethernet9/21",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/22",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/23",
                                "eth_outmcast":	7036,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/24",
                                "eth_outmcast":	7027,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/25",
                                "eth_outmcast":	7036,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/26",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/27",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/28",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/29",
                                "eth_outmcast":	7038,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/30",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/31",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/32",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/33",
                                "eth_outmcast":	6055,
                                "eth_outbcast":	3
                            }, {
                                "interface_tx":	"Ethernet9/34",
                                "eth_outmcast":	7027,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/35",
                                "eth_outmcast":	4,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/36",
                                "eth_outmcast":	4,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/37",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/38",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/39",
                                "eth_outmcast":	7027,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/40",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/41",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/42",
                                "eth_outmcast":	7034,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/43",
                                "eth_outmcast":	7030,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/44",
                                "eth_outmcast":	7027,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/45",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/46",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/47",
                                "eth_outmcast":	7025,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Ethernet9/48",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"port-channel12",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"port-channel22",
                                "eth_outmcast":	6055,
                                "eth_outbcast":	3
                            }, {
                                "interface_tx":	"port-channel63",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"port-channel123",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"port-channel154",
                                "eth_outmcast":	0,
                                "eth_outbcast":	0
                            }, {
                                "interface_tx":	"Vlan1",
                                "eth_outmcast":	0
                            }, {
                                "interface_tx":	"Vlan2",
                                "eth_outmcast":	0
                            }, {
                                "interface_tx":	"Vlan63",
                                "eth_outmcast":	0
                            }]
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface counters**

\--------------------------------------------------------------------------------
Port                                 InOctets                      InUcastPkts
--------------------------------------------------------------------------------
mgmt0                                 2455054                             1726
Eth1/1                                  17472                               28
Eth1/2                                  17472                               28
Eth1/3                                  17472                               28
Eth1/4                                  17472                               28
Eth1/5                                  17472                               28
Eth1/6                                  17472                               28
Eth1/7                                  17472                               28
Eth1/8                                  17472                               28
Eth1/9                                  17472                               28
Eth1/10                                 17472                               28
Eth1/11                                 17472                               28
Eth1/12                                 17472                               28
Eth1/13                                 17472                               28
Eth1/14                                 17472                               28
Eth1/15                                 17472                               28
Eth1/16                                 17472                               28
Eth1/17                                 17472                               28
Eth1/18                                 17472                               28
Eth1/19                                 17472                               28
Eth1/20                                 17472                               28
Eth1/21                                 17472                               28
Eth1/22                                 17472                               28
Eth1/23                                 17472                               28
Eth1/24                                 17472                               28
Eth9/1                                  13428                               16
Eth9/2                                  45156                              652
Eth9/3                                 618339                               16
Eth9/4                                   2400                               16
Eth9/5                                  42143                               60
Eth9/6                                  42143                               44
Eth9/7                                5697612                               16
Eth9/8                                  42143                               44
Eth9/9                                1277772                               16
Eth9/10                                 42143                               44
Eth9/11                               3714477                               19
Eth9/12                                 42143                               44
Eth9/13                              10409278                               16
Eth9/14                                  2400                               16
Eth9/15                               6361294                               16
Eth9/16                                 39428                               44
Eth9/17                          495290826994                               44
Eth9/18                                  2400                               16
Eth9/19                                 89376                               44
Eth9/20                                 84160                              189
Eth9/21                                 88578                               44
Eth9/22                                  2400                               16
Eth9/23                                 42090                               44
Eth9/24                          497855477286                               44
Eth9/25                                  2734                               16
Eth9/26                                  1800                               12
Eth9/27                                 33184                               12
Eth9/28                                 41329                               40
Eth9/29                                 41824                               40
Eth9/30                                122140                               40
Eth9/31                                218000                               12
Eth9/32                                 41329                               40
Eth9/33                                 40120                               28
Eth9/34                          503395069949                               40
Eth9/35                              16101972                               12
Eth9/36                              17364700                               12
Eth9/37                                 43185                               40
Eth9/38                                 41543                               40
Eth9/39                                838540                               40
Eth9/40                                  1800                               12
Eth9/41                                  1872                               12
Eth9/42                                 39134                               40
Eth9/43                                 41543                               40
Eth9/44                          272729938057                               40
Eth9/45                                  1800                               12
Eth9/46                                  1800                               12
Eth9/47                                838540                               40
Eth9/48                                  1800                               12
Po12                                        0                                0
Po22                                    40120                               28
Po63                                        0                                0
Po123                                       0                                0
Po154                                       0                                0
Vlan1                                      0                                 0
Vlan2                                      0                                 0
Vlan63                                     0                                 0


Port InMcastPkts InBcastPkts

mgmt0 7826 21774 Eth1/1 0 0 Eth1/2 0 0 Eth1/3 0 0 Eth1/4 0 0 Eth1/5 0 0 Eth1/6 0 0 Eth1/7 0 0 Eth1/8 0 0 Eth1/9 0 0 Eth1/10 0 0 Eth1/11 0 0 Eth1/12 0 0 Eth1/13 0 0 Eth1/14 0 0 Eth1/15 0 0 Eth1/16 0 0 Eth1/17 0 0 Eth1/18 0 0 Eth1/19 0 0 Eth1/20 0 0 Eth1/21 0 0 Eth1/22 0 0 Eth1/23 0 0 Eth1/24 0 0 Eth9/1 0 0 Eth9/2 138 0 Eth9/3 0 0 Eth9/4 0 0 Eth9/5 128 0 Eth9/6 128 0 Eth9/7 0 0 Eth9/8 128 0 Eth9/9 0 0 Eth9/10 128 0 Eth9/11 0 0 Eth9/12 128 0 Eth9/13 0 0 Eth9/14 0 0 Eth9/15 0 0 Eth9/16 130 0 Eth9/17 0 0 Eth9/18 0 0 Eth9/19 1223 0 Eth9/20 511 2 Eth9/21 1225 0 Eth9/22 0 0 Eth9/23 130 0 Eth9/24 0 0 Eth9/25 0 0 Eth9/26 0 0 Eth9/27 0 0 Eth9/28 128 0 Eth9/29 131 0 Eth9/30 1316 0 Eth9/31 0 0 Eth9/32 127 0 Eth9/33 128 2 Eth9/34 0 0 Eth9/35 0 0 Eth9/36 0 0 Eth9/37 127 0 Eth9/38 127 0 Eth9/39 783 0 Eth9/40 0 0 Eth9/41 0 0 Eth9/42 131 0 Eth9/43 127 0 Eth9/44 0 0 Eth9/45 0 0 Eth9/46 0 0 Eth9/47 783 0 Eth9/48 0 0 Po12 0 0 Po22 128 2 Po63 0 0 Po123 0 0 Po154 0 0 Vlan1 0 -- Vlan2 0 -- Vlan63 0 --


Port OutOctets OutUcastPkts

mgmt0 738649 3525 Eth1/1 17472 28 Eth1/2 17472 28 Eth1/3 17472 28 Eth1/4 17472 28 Eth1/5 17472 28 Eth1/6 17472 28 Eth1/7 17472 28 Eth1/8 17472 28 Eth1/9 17472 28 Eth1/10 17472 28 Eth1/11 17472 28 Eth1/12 17472 28 Eth1/13 17472 28 Eth1/14 17472 28 Eth1/15 17472 28 Eth1/16 17472 28 Eth1/17 17472 28 Eth1/18 17472 28 Eth1/19 17472 28 Eth1/20 17472 28 Eth1/21 17472 28 Eth1/22 17472 28 Eth1/23 17472 28 Eth1/24 17472 28 Eth9/1 2400 16 Eth9/2 123477 652 Eth9/3 2400 16 Eth9/4 4800 32 Eth9/5 41929 60 Eth9/6 41929 44 Eth9/7 2400 16 Eth9/8 41929 44 Eth9/9 2400 16 Eth9/10 42143 44 Eth9/11 3000 20 Eth9/12 42143 44 Eth9/13 2400 16 Eth9/14 4800 32 Eth9/15 2400 16 Eth9/16 43061 44 Eth9/17 44484 44 Eth9/18 4800 32 Eth9/19 44484 44 Eth9/20 98460 239 Eth9/21 44484 44 Eth9/22 4800 32 Eth9/23 43061 44 Eth9/24 44863 44 Eth9/25 2400 16 Eth9/26 3600 24 Eth9/27 1800 12 Eth9/28 41890 40 Eth9/29 42461 40 Eth9/30 44903 40 Eth9/31 1800 12 Eth9/32 41890 40 Eth9/33 116115 28 Eth9/34 44263 40 Eth9/35 1800 12 Eth9/36 1800 12 Eth9/37 41890 40 Eth9/38 41890 40 Eth9/39 44263 40 Eth9/40 3600 24 Eth9/41 1800 12 Eth9/42 42461 40 Eth9/43 41890 40 Eth9/44 44263 40 Eth9/45 3600 24 Eth9/46 3600 24 Eth9/47 44500 40 Eth9/48 3600 24 Po12 0 0 Po22 116115 28 Po63 0 0 Po123 0 0 Po154 0 0 Vlan1 0 0 Vlan2 0 0 Vlan63 0 0


Port OutMcastPkts OutBcastPkts

mgmt0 91 125 Eth1/1 0 0 Eth1/2 0 0 Eth1/3 0 0 Eth1/4 0 0 Eth1/5 0 0 Eth1/6 0 0 Eth1/7 0 0 Eth1/8 0 0 Eth1/9 0 0 Eth1/10 0 0 Eth1/11 0 0 Eth1/12 0 0 Eth1/13 0 0 Eth1/14 0 0 Eth1/15 0 0 Eth1/16 0 0 Eth1/17 0 0 Eth1/18 0 0 Eth1/19 0 0 Eth1/20 0 0 Eth1/21 0 0 Eth1/22 0 0 Eth1/23 0 0 Eth1/24 0 0 Eth9/1 0 0 Eth9/2 1322 0 Eth9/3 0 0 Eth9/4 0 0 Eth9/5 129 0 Eth9/6 129 0 Eth9/7 0 0 Eth9/8 129 0 Eth9/9 0 0 Eth9/10 129 0 Eth9/11 0 0 Eth9/12 129 0 Eth9/13 0 0 Eth9/14 0 0 Eth9/15 0 0 Eth9/16 130 0 Eth9/17 128 0 Eth9/18 0 0 Eth9/19 128 0 Eth9/20 579 3 Eth9/21 128 0 Eth9/22 0 0 Eth9/23 130 0 Eth9/24 128 0 Eth9/25 0 0 Eth9/26 0 0 Eth9/27 0 0 Eth9/28 129 0 Eth9/29 130 0 Eth9/30 138 0 Eth9/31 0 0 Eth9/32 129 0 Eth9/33 1298 2 Eth9/34 128 0 Eth9/35 0 0 Eth9/36 0 0 Eth9/37 129 0 Eth9/38 129 0 Eth9/39 129 0 Eth9/40 0 0 Eth9/41 0 0 Eth9/42 131 0 Eth9/43 129 0 Eth9/44 129 0 Eth9/45 0 0 Eth9/46 0 0 Eth9/47 129 0 Eth9/48 0 0 Po12 0 0 Po22 1300 2 Po63 0 0 Po123 0 0 Po154 0 0 Vlan1 0 -- Vlan2 0 -- Vlan63 0 --

show interface description

show interface description
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface description",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show int description",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_interface":	{
                        "ROW_interface":	[{
                                "interface":	"mgmt0"
                            }, {
                                "interface":	"Ethernet9/1",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/2",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/3",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/4",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/5",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/6",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/7",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/8",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/9",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/10",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/11",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/12",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/13",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/14",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/15",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/16",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/17",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/18",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/19",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/20",
                                "type":	"eth",
                                "speed":	"1000"
                            }, {
                                "interface":	"Ethernet9/21",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/22",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/23",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/24",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/25",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/26",
                                "type":	"eth",
                                "speed":	"1000"
                            }, {
                                "interface":	"Ethernet9/27",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/28",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/29",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/30",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/31",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/32",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/33",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/34",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/35",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/36",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/37",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/38",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/39",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/40",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/41",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/42",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/43",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/44",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/45",
                                "type":	"eth",
                                "speed":	"1000"
                            }, {
                                "interface":	"Ethernet9/46",
                                "type":	"eth",
                                "speed":	"1000"
                            }, {
                                "interface":	"Ethernet9/47",
                                "type":	"eth",
                                "speed":	"10G"
                            }, {
                                "interface":	"Ethernet9/48",
                                "type":	"eth",
                                "speed":	"1000"
                            }, {
                                "interface":	"port-channel12"
                            }, {
                                "interface":	"port-channel22"
                            }, {
                                "interface":	"port-channel63"
                            }, {
                                "interface":	"port-channel123"
                            }, {
                                "interface":	"port-channel154"
                            }, {
                                "interface":	"loopback22"
                            }, {
                                "interface":	"loopback63"
                            }, {
                                "interface":	"Vlan1"
                            }, {
                                "interface":	"Vlan2"
                            }, {
                                "interface":	"Vlan63"
                            }]
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface description**

\-------------------------------------------------------------------------------
Interface                Description
-------------------------------------------------------------------------------
mgmt0                    --


Port Type Speed Description

Eth1/1 eth 40G -- Eth1/2 eth 40G -- Eth1/3 eth 40G -- Eth1/4 eth 40G -- Eth1/5 eth 40G -- Eth1/6 eth 40G -- Eth1/7 eth 40G -- Eth1/8 eth 40G -- Eth1/9 eth 40G -- Eth1/10 eth 40G -- Eth1/11 eth 40G -- Eth1/12 eth 40G -- Eth1/13 eth 40G -- Eth1/14 eth 40G -- Eth1/15 eth 40G -- Eth1/16 eth 40G -- Eth1/17 eth 40G -- Eth1/18 eth 40G -- Eth1/19 eth 40G -- Eth1/20 eth 40G -- Eth1/21 eth 40G -- Eth1/22 eth 40G -- Eth1/23 eth 40G -- Eth1/24 eth 40G -- Eth9/1 eth 10G -- Eth9/2 eth 10G -- Eth9/3 eth 10G -- Eth9/4 eth 10G -- Eth9/5 eth 10G -- Eth9/6 eth 10G -- Eth9/7 eth 10G -- Eth9/8 eth 10G -- Eth9/9 eth 10G -- Eth9/10 eth 10G -- Eth9/11 eth 10G -- Eth9/12 eth 10G -- Eth9/13 eth 10G -- Eth9/14 eth 10G -- Eth9/15 eth 10G -- Eth9/16 eth 10G -- Eth9/17 eth 10G -- Eth9/18 eth 10G -- Eth9/19 eth 10G -- Eth9/20 eth 1000 -- Eth9/21 eth 10G -- Eth9/22 eth 10G -- Eth9/23 eth 10G -- Eth9/24 eth 10G -- Eth9/25 eth 10G -- Eth9/26 eth 1000 -- Eth9/27 eth 10G -- Eth9/28 eth 10G -- Eth9/29 eth 10G -- Eth9/30 eth 10G -- Eth9/31 eth 10G -- Eth9/32 eth 10G -- Eth9/33 eth 10G -- Eth9/34 eth 10G -- Eth9/35 eth 10G -- Eth9/36 eth 10G -- Eth9/37 eth 10G -- Eth9/38 eth 10G -- Eth9/39 eth 10G -- Eth9/40 eth 10G -- Eth9/41 eth 10G -- Eth9/42 eth 10G -- Eth9/43 eth 10G -- Eth9/44 eth 10G -- Eth9/45 eth 1000 -- Eth9/46 eth 1000 -- Eth9/47 eth 10G -- Eth9/48 eth 1000 --


Interface Description

Po12 -- Po22 -- Po63 -- Po123 -- Po154 --


Interface Description

Lo22 -- Lo63 -- Vlan1 -- Vlan2 -- Vlan63 --

show interface switchport

show interface switchport
import requests
import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
 "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface switchport",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)

{
    "ins_api":	{
        "type":	"cli_show",
        "version":	"1.2",
        "sid":	"eoc",
        "outputs":	{
            "output":	{
                "input": "show int switchport",
                "msg":	"Success",
                "code":	"200",
                "body":	{
                    "TABLE_interface":	{
                        "ROW_interface":	[{
                                "interface":	"Ethernet9/1",
                                "switchport":	"Enabled",
                                "switchport_monitor":	"Not enabled",
                                "oper_mode":	"access",
                                "access_vlan":	2,
                                "access_vlan_name":	"VLAN0002",
                                "native_vlan":	1,
                                "native_vlan_name":	"default",
                                "trunk_vlans":	"1-4094",
                                "fabricpath_topologies":	"0",
                                "admin_pvlan_pri_assoc":	"none",
                                "admin_pvlan_sec_assoc":	"none",
                                "admin_pvlan_pri_mapping":	"none",
                                "admin_pvlan_sec_mapping":	"none",
                                "admin_pvlan_trunk_native":	"none",
                                "admin_pvlan_trunk_encap":	"dot1q",
                                "admin_pvlan_trunk_normal":	"none",
                                "admin_pvlan_trunk_private":	"none",
                                "oper_pvlan":	"none"
                            }, {
                                "interface":	"Ethernet9/2",
                                "switchport":	"Enabled",
                                "switchport_monitor":	"Not enabled",
                                "oper_mode":	"access",
                                "access_vlan":	2,
                                "access_vlan_name":	"VLAN0002",
                                "native_vlan":	1,
                                "native_vlan_name":	"default",
                                "trunk_vlans":	"1-4094",
                                "fabricpath_topologies":	"0",
                                "admin_pvlan_pri_assoc":	"none",
                                "admin_pvlan_sec_assoc":	"none",
                                "admin_pvlan_pri_mapping":	"none",
                                "admin_pvlan_sec_mapping":	"none",
                                "admin_pvlan_trunk_native":	"none",
                                "admin_pvlan_trunk_encap":	"dot1q",
                                "admin_pvlan_trunk_normal":	"none",
                                "admin_pvlan_trunk_private":	"none",
                                "oper_pvlan":	"none"
                            }, {
                                "interface":	"Ethernet9/33",
                                "switchport":	"Enabled",
                                "switchport_monitor":	"Not enabled",
                                "oper_mode":	"access",
                                "access_vlan":	2,
                                "access_vlan_name":	"VLAN0002",
                                "native_vlan":	1,
                                "native_vlan_name":	"default",
                                "trunk_vlans":	"1-4094",
                                "fabricpath_topologies":	"0",
                                "admin_pvlan_pri_assoc":	"none",
                                "admin_pvlan_sec_assoc":	"none",
                                "admin_pvlan_pri_mapping":	"none",
                                "admin_pvlan_sec_mapping":	"none",
                                "admin_pvlan_trunk_native":	"none",
                                "admin_pvlan_trunk_encap":	"dot1q",
                                "admin_pvlan_trunk_normal":	"none",
                                "admin_pvlan_trunk_private":	"none",
                                "oper_pvlan":	"none"
                            }, {
                                "interface":	"port-channel12",
                                "switchport":	"Enabled",
                                "switchport_monitor":	"Not enabled",
                                "oper_mode":	"access",
                                "access_vlan":	1,
                                "access_vlan_name":	"default",
                                "native_vlan":	1,
                                "native_vlan_name":	"default",
                                "trunk_vlans":	"1-4094",
                                "fabricpath_topologies":	"0",
                                "admin_pvlan_pri_assoc":	"none",
                                "admin_pvlan_sec_assoc":	"none",
                                "admin_pvlan_pri_mapping":	"none",
                                "admin_pvlan_sec_mapping":	"none",
                                "admin_pvlan_trunk_native":	"none",
                                "admin_pvlan_trunk_encap":	"dot1q",
                                "admin_pvlan_trunk_normal":	"none",
                                "admin_pvlan_trunk_private":	"none",
                                "oper_pvlan":	"none"
                            }, {
                                "interface":	"port-channel22",
                                "switchport":	"Enabled",
                                "switchport_monitor":	"Not enabled",
                                "oper_mode":	"access",
                                "access_vlan":	2,
                                "access_vlan_name":	"VLAN0002",
                                "native_vlan":	1,
                                "native_vlan_name":	"default",
                                "trunk_vlans":	"1-4094",
                                "fabricpath_topologies":	"0",
                                "admin_pvlan_pri_assoc":	"none",
                                "admin_pvlan_sec_assoc":	"none",
                                "admin_pvlan_pri_mapping":	"none",
                                "admin_pvlan_sec_mapping":	"none",
                                "admin_pvlan_trunk_native":	"none",
                                "admin_pvlan_trunk_encap":	"dot1q",
                                "admin_pvlan_trunk_normal":	"none",
                                "admin_pvlan_trunk_private":	"none",
                                "oper_pvlan":	"none"
                            }, {
                                "interface":	"port-channel123",
                                "switchport":	"Enabled",
                                "switchport_monitor":	"Not enabled",
                                "oper_mode":	"access",
                                "access_vlan":	1,
                                "access_vlan_name":	"default",
                                "native_vlan":	1,
                                "native_vlan_name":	"default",
                                "trunk_vlans":	"1-4094",
                                "fabricpath_topologies":	"0",
                                "admin_pvlan_pri_assoc":	"none",
                                "admin_pvlan_sec_assoc":	"none",
                                "admin_pvlan_pri_mapping":	"none",
                                "admin_pvlan_sec_mapping":	"none",
                                "admin_pvlan_trunk_native":	"none",
                                "admin_pvlan_trunk_encap":	"dot1q",
                                "admin_pvlan_trunk_normal":	"none",
                                "admin_pvlan_trunk_private":	"none",
                                "oper_pvlan":	"none"
                            }]
                    }
                }
            }
        }
    }
}

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.2(1).

CLI Output

switch# **show interface switchport**

Name: Ethernet9/1
  Switchport: Enabled
  Switchport Monitor: Not enabled
  Operational Mode: access
  Access Mode VLAN: 2 (VLAN0002)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
Name: Ethernet9/2
  Switchport: Enabled
  Switchport Monitor: Not enabled
  Operational Mode: access
  Access Mode VLAN: 2 (VLAN0002)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
Name: Ethernet9/33
  Switchport: Enabled
  Switchport Monitor: Not enabled
  Operational Mode: access
  Access Mode VLAN: 2 (VLAN0002)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
Name: port-channel12
  Switchport: Enabled
  Switchport Monitor: Not enabled
  Operational Mode: access
  Access Mode VLAN: 1 (default)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
Name: port-channel22
  Switchport: Enabled
  Switchport Monitor: Not enabled
  Operational Mode: access
  Access Mode VLAN: 2 (VLAN0002)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
Name: port-channel123
  Switchport: Enabled
  Switchport Monitor: Not enabled
  Operational Mode: access
  Access Mode VLAN: 1 (default)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none

show interface eth1/1 counters detailed

show interface eth1/1 counters detailed
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface eth1/1 counters detailed",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet1/1", 
      "eth_inpkts": 14984840334, 
      "eth_inucast": 14966728134, 
      "eth_inmcast": 18112298, 
      "eth_ingiants": 12544129434, 
      "eth_inbytes": 69453197110428, 
      "eth_inb64": 22156210, 
      "eth_inb65_127": 92494105, 
      "eth_inb128_255": 209683655, 
      "eth_inb256_511": 418985570, 
      "eth_inb512_1023": 838018643, 
      "eth_inb1024_1518": 810158159, 
      "eth_inb1519_1548": 49214558, 
      "eth_outpkts": 22498461850, 
      "eth_outucast": 15012694526, 
      "eth_outmcast": 7485767650, 
      "eth_outbcast": 1, 
      "eth_outgiants": 18860536984, 
      "eth_outbytes": 104458842997342, 
      "eth_outb64": 3702124, 
      "eth_outb65_127": 141153311, 
      "eth_outb128_255": 314808522, 
      "eth_outb256_511": 629533010, 
      "eth_outb512_1023": 1259366758, 
      "eth_outb1024_1518": 1217389034, 
      "eth_outb1519_1548": 73823169, 
      "eth_nfcoe_in_pkts": 14984840428, 
      "eth_nfcoe_in_octets": 69453196441861, 
      "eth_nfcoe_out_pkts": 22498461969, 
      "eth_nfcoe_out_octets": 104458843221155
    }
  }
}
switch# show interface eth1/1 counters detailed | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__PARAM__ifeth_ctr_dtl>
     <__XML__value>Ethernet1/1</__XML__value>
     <counters>
      <detailed>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_inpkts>14984801199</eth_inpkts>
          <eth_inucast>14966689000</eth_inucast>
          <eth_inmcast>18112298</eth_inmcast>
          <eth_ingiants>12544096653</eth_ingiants>
          <eth_inbytes>69453015400003</eth_inbytes>
          <eth_inb64>22156203</eth_inb64>
          <eth_inb65_127>92493861</eth_inb65_127>
          <eth_inb128_255>209683142</eth_inb128_255>
          <eth_inb256_511>418984465</eth_inb256_511>
          <eth_inb512_1023>838016426</eth_inb512_1023>
          <eth_inb1024_1518>810156030</eth_inb1024_1518>
          <eth_inb1519_1548>49214420</eth_inb1519_1548>
          <eth_outpkts>22498404083</eth_outpkts>
          <eth_outucast>15012655596</eth_outucast>
          <eth_outmcast>7485748650</eth_outmcast>
          <eth_outbcast>1</eth_outbcast>
          <eth_outgiants>18860488636</eth_outgiants>
          <eth_outbytes>104458574002251</eth_outbytes>
          <eth_outb64>3702110</eth_outb64>
          <eth_outb65_127>141152887</eth_outb65_127>
          <eth_outb128_255>314807678</eth_outb128_255>
          <eth_outb256_511>629531413</eth_outb256_511>
          <eth_outb512_1023>1259363523</eth_outb512_1023>
          <eth_outb1024_1518>1217385889</eth_outb1024_1518>
          <eth_outb1519_1548>73823005</eth_outb1519_1548>
          <eth_nfcoe_in_pkts>14984801294</eth_nfcoe_in_pkts>
          <eth_nfcoe_in_octets>69453014764679</eth_nfcoe_in_octets>
          <eth_nfcoe_out_pkts>22498404247</eth_nfcoe_out_pkts>
          <eth_nfcoe_out_octets>104458574002251</eth_nfcoe_out_octets>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </detailed>
     </counters>
    </__XML__PARAM__ifeth_ctr_dtl>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface eth1/1 counters detailed**

switch# show interface eth1/1 counters detailed

Ethernet1/1 Rx Packets: 14984761746 Rx Unicast Packets: 14966649545 Rx Multicast Packets: 18112298 Rx Jumbo Packets: 12544063645 Rx Bytes: 69452832323826 Rx Packets from 0 to 64 bytes: 22156191 Rx Packets from 65 to 127 bytes: 92493577 Rx Packets from 128 to 255 bytes: 209682565 Rx Packets from 256 to 511 bytes: 418983387 Rx Packets from 512 to 1023 bytes: 838014176 Rx Packets from 1024 to 1518 bytes: 810153892 Rx Packets from 1519 to 1548 bytes: 49214313 Tx Packets: 22498344139 Tx Unicast Packets: 15012615844 Tx Multicast Packets: 7485728650 Tx Broadcast Packets: 1 Tx Jumbo Packets: 18860438354 Tx Bytes: 104458298073648 Tx Packets from 0 to 64 bytes: 3702094 Tx Packets from 65 to 127 bytes: 141152498 Tx Packets from 128 to 255 bytes: 314806856 Tx Packets from 256 to 511 bytes: 629529718 Tx Packets from 512 to 1023 bytes: 1259360182 Tx Packets from 1024 to 1518 bytes: 1217382688 Tx Packets from 1519 to 1548 bytes: 73822796 Non Fcoe in packets: 14984761839 Non Fcoe in octets: 69452831730541 Non Fcoe out packets: 22498344258 Non Fcoe out octets: 104458298283621

show interface eth1/1 counters detailed all

show interface eth1/1 counters detailed all
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface eth1/1 counters detailed all",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet1/1", 
      "rx_total_pkts": 14984998365, 
      "tx_total_pkts": 22498698921, 
      "rx_ucast_pkts": 14966885581, 
      "rx_mcast_pkts": 18112886, 
      "rx_bcast_pkts": 0, 
      "rx_octets": 69453927719527, 
      "tx_ucast_pkts": 15012852403, 
      "tx_mcast_pkts": 7485846652, 
      "tx_bcast_pkts": 1, 
      "tx_octets": 104459944931356, 
      "rxtx_pkts_64octets": 25858992, 
      "rxtx_pkts_65_127octets": 233649951, 
      "rxtx_pkts_128_255octets": 524497711, 
      "rxtx_pkts_256_511octets": 1048529664, 
      "rxtx_pkts_512_1023octets": 2097407451, 
      "rxtx_pkts_1024_1518octets": 2027568519, 
      "rxtx_pkts_1519_1548octets": 123039041, 
      "rx_trunk_frames": 0, 
      "tx_trunk_frames": 0, 
      "rx_drop_events": 0, 
      "eth_l3in_ucastpkts": 0, 
      "eth_l3in_ucastbytes": 0, 
      "eth_l3in_mcastpkts": 0, 
      "eth_l3in_mcastbytes": 0, 
      "eth_l3out_ucastpkts": 0, 
      "eth_l3out_ucastbytes": 0, 
      "eth_l3out_mcastpkts": 0, 
      "eth_l3out_mcastbytes": 0, 
      "eth_l3in_routed_pkts": 0, 
      "eth_l3in_routed_bytes": 0, 
      "eth_l3out_routed_pkts": 0, 
      "eth_l3out_routed_bytes": 0, 
      "eth_l3avg1_inbytes": 0, 
      "eth_l3avg1_inpkts": 0, 
      "eth_l3avg1_outbytes": 0, 
      "eth_l3avg1_outpkts": 0, 
      "eth_inpkts": 14984998365, 
      "eth_inbytes": 69453927719527, 
      "eth_nobuf": 0, 
      "eth_inbcast": 0, 
      "eth_inmcast": 18112886, 
      "eth_inucast": 14966885581, 
      "eth_ingiants": 12544261183, 
      "eth_runts": 0, 
      "eth_storm_supp": 0, 
      "eth_inerr": 0, 
      "eth_crc": 0, 
      "eth_ecc": 0, 
      "eth_overrun": 0, 
      "eth_ignored": 0, 
      "eth_watchdog": 0, 
      "eth_outbcast": 1, 
      "eth_outmcast": 7485846652, 
      "eth_outucast": 15012852403, 
      "eth_outgiants": 18860735853, 
      "eth_inpause": 0, 
      "eth_dribble": 0, 
      "eth_in_ifdown_drops": 0, 
      "eth_bad_eth": 0, 
      "eth_bad_proto": 0, 
      "eth_outpkts": 22498698921, 
      "eth_outbytes": 104459944931356, 
      "eth_underrun": 0, 
      "eth_outerr": 0, 
      "eth_coll": 0, 
      "eth_resets": 0, 
      "eth_babbles": 0, 
      "eth_latecoll": 0, 
      "eth_deferred": 0, 
      "eth_lostcarrier": 0, 
      "eth_nocarrier": 0, 
      "eth_outpause": 0, 
      "eth_single_coll": 0, 
      "eth_multi_coll": 0, 
      "eth_excess_coll": 0, 
      "eth_jabbers": 0, 
      "eth_shortframe": 0, 
      "eth_indiscard": 0, 
      "eth_bad_encap": 0, 
      "eth_outcrc": 0, 
      "eth_symbol": 0, 
      "eth_out_drops": 0, 
      "eth_sqetest": 0, 
      "eth_inb64": 22156840, 
      "eth_inb65_127": 92495150, 
      "eth_inb128_255": 209685847, 
      "eth_inb256_511": 418990017, 
      "eth_inb512_1023": 838027512, 
      "eth_inb1024_1518": 810166725, 
      "eth_inb1519_1548": 49215092, 
      "eth_intrunk": 0, 
      "eth_outb64": 3702152, 
      "eth_outb65_127": 141154801, 
      "eth_outb128_255": 314811864, 
      "eth_outb256_511": 629539647, 
      "eth_outb512_1023": 1259379939, 
      "eth_outb1024_1518": 1217401794, 
      "eth_outb1519_1548": 73823949, 
      "eth_outtrunk": 0, 
      "eth_bpdu_outlost": 0, 
      "eth_cos0_outlost": 0, 
      "eth_cos1_outlost": 0, 
      "eth_cos2_outlost": 0, 
      "eth_cos3_outlost": 0, 
      "eth_cos4_outlost": 0, 
      "eth_cos5_outlost": 0, 
      "eth_cos6_outlost": 0, 
      "eth_cos7_outlost": 0
    }
  }
}
switch# show interface eth1/1 counters detailed all | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__PARAM__ifeth_ctr_dtl_all>
     <__XML__value>Ethernet1/1</__XML__value>
     <counters>
      <detailed>
       <all>
        <__readonly__>
         <TABLE_interface>
          <ROW_interface>
           <interface>Ethernet1/1</interface>
           <rx_total_pkts>14984998365</rx_total_pkts>
           <tx_total_pkts>22498698921</tx_total_pkts>
           <rx_ucast_pkts>14966885581</rx_ucast_pkts>
           <rx_mcast_pkts>18112886</rx_mcast_pkts>
           <rx_bcast_pkts>0</rx_bcast_pkts>
           <rx_octets>69453927719527</rx_octets>
           <tx_ucast_pkts>15012852403</tx_ucast_pkts>
           <tx_mcast_pkts>7485846652</tx_mcast_pkts>
           <tx_bcast_pkts>1</tx_bcast_pkts>
           <tx_octets>104459944931356</tx_octets>
           <rxtx_pkts_64octets>25858992</rxtx_pkts_64octets>
           <rxtx_pkts_65_127octets>233649951</rxtx_pkts_65_127octets>
           <rxtx_pkts_128_255octets>524497711</rxtx_pkts_128_255octets>
           <rxtx_pkts_256_511octets>1048529664</rxtx_pkts_256_511octets>
           <rxtx_pkts_512_1023octets>2097407451</rxtx_pkts_512_1023octets>
           <rxtx_pkts_1024_1518octets>2027568519</rxtx_pkts_1024_1518octets>
           <rxtx_pkts_1519_1548octets>123039041</rxtx_pkts_1519_1548octets>
           <rx_trunk_frames>0</rx_trunk_frames>
           <tx_trunk_frames>0</tx_trunk_frames>
           <rx_drop_events>0</rx_drop_events>
           <eth_l3in_ucastpkts>0</eth_l3in_ucastpkts>
           <eth_l3in_ucastbytes>0</eth_l3in_ucastbytes>
           <eth_l3in_mcastpkts>0</eth_l3in_mcastpkts>
           <eth_l3in_mcastbytes>0</eth_l3in_mcastbytes>
           <eth_l3out_ucastpkts>0</eth_l3out_ucastpkts>
           <eth_l3out_ucastbytes>0</eth_l3out_ucastbytes>
           <eth_l3out_mcastpkts>0</eth_l3out_mcastpkts>
           <eth_l3out_mcastbytes>0</eth_l3out_mcastbytes>
           <eth_l3in_routed_pkts>0</eth_l3in_routed_pkts>
           <eth_l3in_routed_bytes>0</eth_l3in_routed_bytes>
           <eth_l3out_routed_pkts>0</eth_l3out_routed_pkts>
           <eth_l3out_routed_bytes>0</eth_l3out_routed_bytes>
           <eth_l3avg1_inbytes>0</eth_l3avg1_inbytes>
           <eth_l3avg1_inpkts>0</eth_l3avg1_inpkts>
           <eth_l3avg1_outbytes>0</eth_l3avg1_outbytes>
           <eth_l3avg1_outpkts>0</eth_l3avg1_outpkts>
           <eth_inpkts>14984998365</eth_inpkts>
           <eth_inbytes>69453927719527</eth_inbytes>
           <eth_nobuf>0</eth_nobuf>
           <eth_inbcast>0</eth_inbcast>
           <eth_inmcast>18112886</eth_inmcast>
           <eth_inucast>14966885581</eth_inucast>
           <eth_ingiants>12544261183</eth_ingiants>
           <eth_runts>0</eth_runts>
           <eth_storm_supp>0</eth_storm_supp>
           <eth_inerr>0</eth_inerr>
           <eth_crc>0</eth_crc>
           <eth_ecc>0</eth_ecc>
           <eth_overrun>0</eth_overrun>
           <eth_ignored>0</eth_ignored>
           <eth_watchdog>0</eth_watchdog>
           <eth_outbcast>1</eth_outbcast>
           <eth_outmcast>7485846652</eth_outmcast>
           <eth_outucast>15012852403</eth_outucast>
           <eth_outgiants>18860735853</eth_outgiants>
           <eth_inpause>0</eth_inpause>
           <eth_dribble>0</eth_dribble>
           <eth_in_ifdown_drops>0</eth_in_ifdown_drops>
           <eth_bad_eth>0</eth_bad_eth>
           <eth_bad_proto>0</eth_bad_proto>
           <eth_outpkts>22498698921</eth_outpkts>
           <eth_outbytes>104459944931356</eth_outbytes>
           <eth_underrun>0</eth_underrun>
           <eth_outerr>0</eth_outerr>
           <eth_coll>0</eth_coll>
           <eth_resets>0</eth_resets>
           <eth_babbles>0</eth_babbles>
           <eth_latecoll>0</eth_latecoll>
           <eth_deferred>0</eth_deferred>
           <eth_lostcarrier>0</eth_lostcarrier>
           <eth_nocarrier>0</eth_nocarrier>
           <eth_outpause>0</eth_outpause>
           <eth_single_coll>0</eth_single_coll>
           <eth_multi_coll>0</eth_multi_coll>
           <eth_excess_coll>0</eth_excess_coll>
           <eth_jabbers>0</eth_jabbers>
           <eth_shortframe>0</eth_shortframe>
           <eth_indiscard>0</eth_indiscard>
           <eth_bad_encap>0</eth_bad_encap>
           <eth_outcrc>0</eth_outcrc>
           <eth_symbol>0</eth_symbol>
           <eth_out_drops>0</eth_out_drops>
           <eth_sqetest>0</eth_sqetest>
           <eth_inb64>22156840</eth_inb64>
           <eth_inb65_127>92495150</eth_inb65_127>
           <eth_inb128_255>209685847</eth_inb128_255>
           <eth_inb256_511>418990017</eth_inb256_511>
           <eth_inb512_1023>838027512</eth_inb512_1023>
           <eth_inb1024_1518>810166725</eth_inb1024_1518>
           <eth_inb1519_1548>49215092</eth_inb1519_1548>
           <eth_intrunk>0</eth_intrunk>
           <eth_outb64>3702152</eth_outb64>
           <eth_outb65_127>141154801</eth_outb65_127>
           <eth_outb128_255>314811864</eth_outb128_255>
           <eth_outb256_511>629539647</eth_outb256_511>
           <eth_outb512_1023>1259379939</eth_outb512_1023>
           <eth_outb1024_1518>1217401794</eth_outb1024_1518>
           <eth_outb1519_1548>73823949</eth_outb1519_1548>
           <eth_outtrunk>0</eth_outtrunk>
           <eth_bpdu_outlost>0</eth_bpdu_outlost>
           <eth_cos0_outlost>0</eth_cos0_outlost>
           <eth_cos1_outlost>0</eth_cos1_outlost>
           <eth_cos2_outlost>0</eth_cos2_outlost>
           <eth_cos3_outlost>0</eth_cos3_outlost>
           <eth_cos4_outlost>0</eth_cos4_outlost>
           <eth_cos5_outlost>0</eth_cos5_outlost>
           <eth_cos6_outlost>0</eth_cos6_outlost>
           <eth_cos7_outlost>0</eth_cos7_outlost>
          </ROW_interface>
         </TABLE_interface>
        </__readonly__>
       </all>
      </detailed>
     </counters>
    </__XML__PARAM__ifeth_ctr_dtl_all>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface eth1/1 counters detailed all**

switch# show interface eth1/1 counters detailed all

Ethernet1/1 64 bit counters: 0. rxHCTotalPkts = 14984919162

  1.                   txHCTotalPks = 22498580367
    
  2.                rxHCUnicastPkts = 14966806771
    
  3.              rxHCMulticastPkts = 18112492
    
  4.              rxHCBroadcastPkts = 0
    
  5.                     rxHCOctets = 69453561350706
    
  6.                txHCUnicastPkts = 15012773526
    
  7.              txHCMulticastPkts = 7485807495
    
  8.              txHCBroadcastPkts = 1
    
  9.                     txHCOctets = 104459395059843
    
  10.             rxTxHCPkts64Octets = 25858561
    
  11.        rxTxHCpkts65to127Octets = 233648634
    
  12.       rxTxHCpkts128to255Octets = 524494948
    
  13.       rxTxHCpkts256to511Octets = 1048524177
    
  14.      rxTxHCpkts512to1023Octets = 2097396449
    
  15.     rxTxHCpkts1024to1518Octets = 2027557982
    
  16.     rxTxHCpkts1519to1548Octets = 123038413
    
  17.                rxHCTrunkFrames = 0
    
  18.                txHCTrunkFrames = 0
    
  19.                 rxHCDropEvents = 0
    
  20.                InLayer3Unicast = 0
    
  21.          InLayer3UnicastOctets = 0
    
  22.              InLayer3Multicast = 0
    
  23.        InLayer3MulticastOctets = 0
    
  24.               OutLayer3Unicast = 0
    
  25.         OutLayer3UnicastOctets = 0
    
  26.             OutLayer3Multicast = 0
    
  27.       OutLayer3MulticastOctets = 0
    
  28.                 InLayer3Routed = 0
    
  29.           InLayer3RoutedOctets = 0
    
  30.                OutLayer3Routed = 0
    
  31.          OutLayer3RoutedOctets = 0
    
  32.          InLayer3AverageOctets = 0
    
  33.         InLayer3AveragePackets = 0
    
  34.         OutLayer3AverageOctets = 0
    
  35.        OutLayer3AveragePackets = 0
    

All Port Counters: 0. Rx Packets: = 14984919162

  1.                      Rx Bytes: = 69453561350706
    
  2.              No Buffer Errors: = 0
    
  3.          Rx Broadcast Packets: = 0
    
  4.          Rx Multicast Packets: = 18112492
    
  5.            Rx Unicast Packets: = 14966806771
    
  6.              Rx Jumbo Packets: = 12544195121
    
  7.                   Runt Errors: = 0
    
  8.          Rx Storm Suppression: = 0
    
  9.                  Input Errors: = 0
    
  10.          Input CRC/FCS Errors: = 0
    
  11.                    ECC Errors: = 0
    
  12.                Overrun Errors: = 0
    
  13.                Ignored Errors: = 0
    
  14.               Watchdog Errors: = 0
    
  15.          tx broadcast packets: = 1
    
  16.          tx multicast packets: = 7485807495
    
  17.            tx unicast packets: = 15012773526
    
  18.              tx jumbo packets: = 18860636314
    
  19.                      Rx Pause: = 0
    
  20.                Dribble Errors: = 0
    
  21.           If Down Drop Errors: = 0
    
  22.         Bad Etype Drop Errors: = 0
    
  23.         Bad Proto Drop Errors: = 0
    
  24.                    tx packets: = 22498580367
    
  25.                      tx bytes: = 104459395059843
    
  26.               Underrun Errors: = 0
    
  27.                 Output Errors: = 0
    
  28.              Collision Errors: = 0
    
  29.                        Resets: = 0
    
  30.                 Babble Errors: = 0
    
  31.         Late Collision Errors: = 0
    
  32.               Deferred Errors: = 0
    
  33.           Lost Carrier Errors: = 0
    
  34.             No Carrier Errors: = 0
    
  35.                      Tx Pause: = 0
    
  36.       Single Collision Errors: = 0
    
  37.        Multi-Collision Errors: = 0
    
  38.       Excess Collision Errors: = 0
    
  39.                 Jabber Errors: = 0
    
  40.            Short Frame Errors: = 0
    
  41.          Input Discard Errors: = 0
    
  42.      Bad Encapsulation Errors: = 0
    
  43.         Output CRC/FCS Errors: = 0
    
  44.                 Symbol Errors: = 0
    
  45.         Output Dropped Errors: = 0
    
  46.                        SQETest = 0
    
  47. Rx Packets from 0 to 64 bytes: = 22156427
    
  48. Rx Packets from 65 to 127 bytes: = 92494606
  49. Rx Packets from 128 to 255 bytes: = 209684755
  50. Rx Packets from 256 to 511 bytes: = 418987786
  51. Rx Packets from 512 to 1023 bytes: = 838023105
  52. Rx Packets from 1024 to 1518 bytes: = 810162531
  53. Rx Packets from 1519 to 1548 bytes: = 49214831
  54.              Rx Trunk Packets: = 0
    
  55. Tx Packets from 0 to 64 bytes: = 3702134
    
  56. Tx Packets from 65 to 127 bytes: = 141154028
  57. Tx Packets from 128 to 255 bytes: = 314810193
  58. Tx Packets from 256 to 511 bytes: = 629536391
  59. Tx Packets from 512 to 1023 bytes: = 1259373344
  60. Tx Packets from 1024 to 1518 bytes: = 1217395451
  61. Tx Packets from 1519 to 1548 bytes: = 73823582
  62.              Tx Trunk Packets: = 0
    
  63.              Output BPDU Lost: = 0
    
  64.              Output COS0 Lost: = 0
    
  65.              Output COS1 Lost: = 0
    
  66.              Output COS2 Lost: = 0
    
  67.              Output COS3 Lost: = 0
    
  68.              Output COS4 Lost: = 0
    
  69.              Output COS5 Lost: = 0
    
  70.              Output COS6 Lost: = 0
    
  71.              Output COS7 Lost: = 0
    

show interface eth1/1 counters errors

show interface eth1/1 counters errors
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface eth1/1 counters errors",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": [
      {
        "interface": "Ethernet1/1", 
        "eth_align_err": 0, 
        "eth_fcs_err": 0, 
        "eth_xmit_err": 0, 
        "eth_rcv_err": 0, 
        "eth_undersize": 0, 
        "eth_outdisc": 0
      }, 
      {
        "interface": "Ethernet1/1", 
        "eth_single_col": 0, 
        "eth_multi_col": 0, 
        "eth_late_col": 0, 
        "eth_excess_col": 0, 
        "eth_carri_sen": 0, 
        "eth_runts": 0
      }, 
      {
        "interface": "Ethernet1/1", 
        "eth_giants": 0, 
        "eth_deferred_tx": 0, 
        "eth_inmactx_err": 0, 
        "eth_inmacrx_err": 0, 
        "eth_symbol_err": 0
      }, 
      {
        "interface": "Ethernet1/1", 
        "eth_indisc": 0
      }
    ]
  }
}
switch# show interface eth1/1 counters errors | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__PARAM__ifeth_ctr_errs>
     <__XML__value>Ethernet1/1</__XML__value>
     <counters>
      <errors>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_align_err>0</eth_align_err>
          <eth_fcs_err>0</eth_fcs_err>
          <eth_xmit_err>0</eth_xmit_err>
          <eth_rcv_err>0</eth_rcv_err>
          <eth_undersize>0</eth_undersize>
          <eth_outdisc>0</eth_outdisc>
         </ROW_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_single_col>0</eth_single_col>
          <eth_multi_col>0</eth_multi_col>
          <eth_late_col>0</eth_late_col>
          <eth_excess_col>0</eth_excess_col>
          <eth_carri_sen>0</eth_carri_sen>
          <eth_runts>0</eth_runts>
         </ROW_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_giants>0</eth_giants>
          <eth_deferred_tx>0</eth_deferred_tx>
          <eth_inmactx_err>0</eth_inmactx_err>
          <eth_inmacrx_err>0</eth_inmacrx_err>
          <eth_symbol_err>0</eth_symbol_err>
         </ROW_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_indisc>0</eth_indisc>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </errors>
     </counters>
    </__XML__PARAM__ifeth_ctr_errs>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface eth1/1 counters errors**

switch# show interface eth1/1 counters errors


Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize OutDiscards

Eth1/1 0 0 0 0 0 0


Port Single-Col Multi-Col Late-Col Exces-Col Carri-Sen Runts

Eth1/1 0 0 0 0 0 0


Port Giants SQETest-Err Deferred-Tx IntMacTx-Er IntMacRx-Er Symbol-Err

Eth1/1 0 -- 0 0 0 0


Port InDiscards

Eth1/1 0

show interface eth1/1 counters storm-control

show interface eth1/1 counters storm-control
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface eth1/1 counters storm-control",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet1/1", 
      "eth_ucast_supp": "100.00", 
      "eth_mcast_supp": "100.00", 
      "eth_bcast_supp": "100.00", 
      "eth_total_supp": 0
    }
  }
}
switch# show interface eth1/1 counters storm-control | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__PARAM__ifeth_ctr_stm_ctrl>
     <__XML__value>Ethernet1/1</__XML__value>
     <counters>
      <storm-control>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_ucast_supp>100.00</eth_ucast_supp>
          <eth_mcast_supp>100.00</eth_mcast_supp>
          <eth_bcast_supp>100.00</eth_bcast_supp>
          <eth_total_supp>0</eth_total_supp>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </storm-control>
     </counters>
    </__XML__PARAM__ifeth_ctr_stm_ctrl>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface eth1/1 counters storm-control**

switch# show interface eth1/1 counters storm-control


Port UcastSupp % McastSupp % BcastSupp % TotalSuppDiscards

Eth1/1 100.00 100.00 100.00 0

show interface eth1/1 counters trunk

show interface eth1/1 counters trunk
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface eth1/1 counters trunk",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet1/1", 
      "eth_trunk_frames_tx": 0, 
      "eth_trunk_frames_rx": 0, 
      "eth_wrong_encap": 0
    }
  }
}
switch# show interface eth1/1 counters trunk | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__PARAM__ifeth_ctr_trnk>
     <__XML__value>Ethernet1/1</__XML__value>
     <counters>
      <trunk>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_trunk_frames_tx>0</eth_trunk_frames_tx>
          <eth_trunk_frames_rx>0</eth_trunk_frames_rx>
          <eth_wrong_encap>0</eth_wrong_encap>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </trunk>
     </counters>
    </__XML__PARAM__ifeth_ctr_trnk>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface eth1/1 counters trunk**

switch# show interface eth1/1 counters trunk



Port TrunkFramesTx TrunkFramesRx WrongEncap

Eth1/1 0 0 0

show interface eth1/1 counters brief

show interface eth1/1 counters brief
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface eth1/1 counters brief",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet1/1", 
      "eth_inrate1": 92, 
      "eth_inframes1": 20007, 
      "eth_outrate1": 139, 
      "eth_outframes1": 30113, 
      "eth_load_intv1": 30, 
      "eth_inrate2": 92, 
      "eth_inframes2": 19983, 
      "eth_outrate2": 139, 
      "eth_outframes2": 30023, 
      "eth_load_intv2": 300
    }
  }
}
switch# show interface eth1/1 counters brief | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__PARAM__ifeth_ctr_brf>
     <__XML__value>Ethernet1/1</__XML__value>
     <counters>
      <brief>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet1/1</interface>
          <eth_inrate1>92</eth_inrate1>
          <eth_inframes1>20007</eth_inframes1>
          <eth_outrate1>139</eth_outrate1>
          <eth_outframes1>30080</eth_outframes1>
          <eth_load_intv1>30</eth_load_intv1>
          <eth_inrate2>92</eth_inrate2>
          <eth_inframes2>19983</eth_inframes2>
          <eth_outrate2>139</eth_outrate2>
          <eth_outframes2>30021</eth_outframes2>
          <eth_load_intv2>300</eth_load_intv2>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </brief>
     </counters>
    </__XML__PARAM__ifeth_ctr_brf>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface eth1/1 counters brief**

switch# show interface eth1/1 counters brief


Interface Input Rate (avg) Output Rate (avg)
------------------ ------------------
Rate Total Rate Total Rate averaging MB/s Frames MB/s Frames interval (seconds)

Eth1/1 92 20012 139 30061 30
92 19983 139 29988 300

show interface counters module 1

show interface counters module 1
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface counters module 1",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_rx_counters": {
    "ROW_rx_counters": [
      {
        "interface_rx": "Ethernet1/1", 
        "eth_inbytes": 69458489586230, 
        "eth_inucast": 14967869298
      }, 
      {
        "interface_rx": "Ethernet1/2", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/3", 
        "eth_inbytes": 105803922735028, 
        "eth_inucast": 15013404721
      }, 
      {
        "interface_rx": "Ethernet1/4", 
        "eth_inbytes": 3193336, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/5", 
        "eth_inbytes": 69543084831185, 
        "eth_inucast": 14973410889
      }, 
      {
        "interface_rx": "Ethernet1/6", 
        "eth_inbytes": 156759590823856, 
        "eth_inucast": 29989288746
      }, 
      {
        "interface_rx": "Ethernet1/7", 
        "eth_inbytes": 418414710, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/8", 
        "eth_inbytes": 928085419934, 
        "eth_inucast": 7484440446
      }, 
      {
        "interface_rx": "Ethernet1/9", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/10", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/11", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/12", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/13", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/14", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/15", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/16", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/17", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/18", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/19", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/20", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/21", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/22", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/23", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/24", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/25", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/26", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/27", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/28", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/29", 
        "eth_inbytes": 648552802170, 
        "eth_inucast": 748159349
      }, 
      {
        "interface_rx": "Ethernet1/30", 
        "eth_inbytes": 34848779760, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/31", 
        "eth_inbytes": 38055339198, 
        "eth_inucast": 5186712
      }, 
      {
        "interface_rx": "Ethernet1/32", 
        "eth_inbytes": 34623752509, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/33", 
        "eth_inbytes": 104556979379222, 
        "eth_inucast": 15013865192
      }, 
      {
        "interface_rx": "Ethernet1/34", 
        "eth_inbytes": 3406486, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/35", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/36", 
        "eth_inbytes": 933524, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/37", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/38", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/39", 
        "eth_inbytes": 2945036, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/40", 
        "eth_inbytes": 2945036, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet1/1", 
        "eth_inmcast": 18114303, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/2", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/3", 
        "eth_inmcast": 15012297903, 
        "eth_inbcast": 14
      }, 
      {
        "interface_rx": "Ethernet1/4", 
        "eth_inmcast": 12474, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/5", 
        "eth_inmcast": 106732, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/6", 
        "eth_inmcast": 3747005367, 
        "eth_inbcast": 2
      }, 
      {
        "interface_rx": "Ethernet1/7", 
        "eth_inmcast": 6368376, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/8", 
        "eth_inmcast": 62372, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/9", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/10", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/11", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/12", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/13", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/14", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/15", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/16", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/17", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/18", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/19", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/20", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/21", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/22", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/23", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/24", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/25", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/26", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/27", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/28", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/29", 
        "eth_inmcast": 224484, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/30", 
        "eth_inmcast": 224482, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/31", 
        "eth_inmcast": 268141, 
        "eth_inbcast": 2
      }, 
      {
        "interface_rx": "Ethernet1/32", 
        "eth_inmcast": 224501, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/33", 
        "eth_inmcast": 7486326817, 
        "eth_inbcast": 27
      }, 
      {
        "interface_rx": "Ethernet1/34", 
        "eth_inmcast": 12478, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/35", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/36", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/37", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/38", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/39", 
        "eth_inmcast": 12478, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet1/40", 
        "eth_inmcast": 12479, 
        "eth_inbcast": 0
      }
    ]
  }, 
  "TABLE_tx_counters": {
    "ROW_tx_counters": [
      {
        "interface_tx": "Ethernet1/1", 
        "eth_outbytes": 104467077830631, 
        "eth_outucast": 15013878890
      }, 
      {
        "interface_tx": "Ethernet1/2", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/3", 
        "eth_outbytes": 70477199531274, 
        "eth_outucast": 22450128332
      }, 
      {
        "interface_tx": "Ethernet1/4", 
        "eth_outbytes": 2931382, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/5", 
        "eth_outbytes": 104813277412601, 
        "eth_outucast": 7506722391
      }, 
      {
        "interface_tx": "Ethernet1/6", 
        "eth_outbytes": 139793935600740, 
        "eth_outucast": 1330
      }, 
      {
        "interface_tx": "Ethernet1/7", 
        "eth_outbytes": 33051307, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/8", 
        "eth_outbytes": 960866518569, 
        "eth_outucast": 7506722330
      }, 
      {
        "interface_tx": "Ethernet1/9", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/10", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/11", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/12", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/13", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/14", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/15", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/16", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/17", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/18", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/19", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/20", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/21", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/22", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/23", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/24", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/25", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/26", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/27", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/28", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/29", 
        "eth_outbytes": 155077486, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/30", 
        "eth_outbytes": 155076054, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/31", 
        "eth_outbytes": 603917170, 
        "eth_outucast": 5186611
      }, 
      {
        "interface_tx": "Ethernet1/32", 
        "eth_outbytes": 155083230, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/33", 
        "eth_outbytes": 69518568918585, 
        "eth_outucast": 14967896398
      }, 
      {
        "interface_tx": "Ethernet1/34", 
        "eth_outbytes": 2944800, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/35", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/36", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/37", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/38", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/39", 
        "eth_outbytes": 2945036, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/40", 
        "eth_outbytes": 2945036, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet1/1", 
        "eth_outmcast": 7486358332, 
        "eth_outbcast": 1
      }, 
      {
        "interface_tx": "Ethernet1/2", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/3", 
        "eth_outmcast": 6387845, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/4", 
        "eth_outmcast": 12474, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/5", 
        "eth_outmcast": 15011927786, 
        "eth_outbcast": 1
      }, 
      {
        "interface_tx": "Ethernet1/6", 
        "eth_outmcast": 29929442132, 
        "eth_outbcast": 5
      }, 
      {
        "interface_tx": "Ethernet1/7", 
        "eth_outmcast": 446163, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/8", 
        "eth_outmcast": 37439, 
        "eth_outbcast": 7
      }, 
      {
        "interface_tx": "Ethernet1/9", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/10", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/11", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/12", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/13", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/14", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/15", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/16", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/17", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/18", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/19", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/20", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/21", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/22", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/23", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/24", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/25", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/26", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/27", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/28", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/29", 
        "eth_outmcast": 239319, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/30", 
        "eth_outmcast": 239315, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/31", 
        "eth_outmcast": 239328, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/32", 
        "eth_outmcast": 239327, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/33", 
        "eth_outmcast": 18436950, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/34", 
        "eth_outmcast": 12478, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/35", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/36", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/37", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/38", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/39", 
        "eth_outmcast": 12479, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet1/40", 
        "eth_outmcast": 12479, 
        "eth_outbcast": 0
      }
    ]
  }
}
switch# show interface counters module 1 | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <counters>
     <module>
      <__XML__PARAM__module>
       <__XML__value>1</__XML__value>
       <__readonly__>
        <TABLE_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/1</interface_rx>
          <eth_inbytes>69458306056713</eth_inbytes>
          <eth_inucast>14967829844</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/2</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/3</interface_rx>
          <eth_inbytes>105803643011996</eth_inbytes>
          <eth_inucast>15013365257</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/4</interface_rx>
          <eth_inbytes>3193336</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/5</interface_rx>
          <eth_inbytes>69542900958676</eth_inbytes>
          <eth_inucast>14973371435</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/6</interface_rx>
          <eth_inbytes>156759178868438</eth_inbytes>
          <eth_inucast>29989209784</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/7</interface_rx>
          <eth_inbytes>418414710</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/8</interface_rx>
          <eth_inbytes>928082974406</eth_inbytes>
          <eth_inucast>7484420724</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/9</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/10</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/11</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/12</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/13</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/14</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/15</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/16</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/17</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/18</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/19</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/20</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/21</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/22</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/23</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/24</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/25</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/26</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/27</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/28</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/29</interface_rx>
          <eth_inbytes>648549649407</eth_inbytes>
          <eth_inucast>748155410</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/30</interface_rx>
          <eth_inbytes>34848778680</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/31</interface_rx>
          <eth_inbytes>38055337298</eth_inbytes>
          <eth_inucast>5186708</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/32</interface_rx>
          <eth_inbytes>34623751429</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/33</interface_rx>
          <eth_inbytes>104556430521084</eth_inbytes>
          <eth_inucast>15013786253</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/34</interface_rx>
          <eth_inbytes>3406486</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/35</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/36</interface_rx>
          <eth_inbytes>933524</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/37</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/38</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/39</interface_rx>
          <eth_inbytes>2945036</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/40</interface_rx>
          <eth_inbytes>2945036</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/1</interface_rx>
          <eth_inmcast>18114121</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/2</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/3</interface_rx>
          <eth_inmcast>15012258202</eth_inmcast>
          <eth_inbcast>14</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/4</interface_rx>
          <eth_inmcast>12474</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/5</interface_rx>
          <eth_inmcast>106732</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/6</interface_rx>
          <eth_inmcast>3746995367</eth_inmcast>
          <eth_inbcast>2</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/7</interface_rx>
          <eth_inmcast>6368376</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/8</interface_rx>
          <eth_inmcast>62372</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/9</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/10</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/11</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/12</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/13</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/14</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/15</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/16</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/17</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/18</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/19</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/20</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/21</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/22</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/23</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/24</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/25</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/26</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/27</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/28</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/29</interface_rx>
          <eth_inmcast>224483</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/30</interface_rx>
          <eth_inmcast>224481</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/31</interface_rx>
          <eth_inmcast>268140</eth_inmcast>
          <eth_inbcast>2</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/32</interface_rx>
          <eth_inmcast>224500</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/33</interface_rx>
          <eth_inmcast>7486287816</eth_inmcast>
          <eth_inbcast>27</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/34</interface_rx>
          <eth_inmcast>12478</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/35</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/36</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/37</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/38</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/39</interface_rx>
          <eth_inmcast>12478</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet1/40</interface_rx>
          <eth_inmcast>12479</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
        </TABLE_rx_counters>
        <TABLE_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/1</interface_tx>
          <eth_outbytes>104466529206113</eth_outbytes>
          <eth_outucast>15013800912</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/2</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/3</interface_tx>
          <eth_outbytes>70476829822773</eth_outbytes>
          <eth_outucast>22450010720</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/4</interface_tx>
          <eth_outbytes>2931382</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/5</interface_tx>
          <eth_outbytes>104812730707253</eth_outbytes>
          <eth_outucast>7506682847</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/6</interface_tx>
          <eth_outbytes>139793203491083</eth_outbytes>
          <eth_outucast>1330</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/7</interface_tx>
          <eth_outbytes>33051051</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/8</interface_tx>
          <eth_outbytes>960861473449</eth_outbytes>
          <eth_outucast>7506682635</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/9</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/10</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/11</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/12</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/13</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/14</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/15</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/16</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/17</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/18</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/19</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/20</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/21</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/22</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/23</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/24</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/25</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/26</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/27</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/28</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/29</interface_tx>
          <eth_outbytes>155077486</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/30</interface_tx>
          <eth_outbytes>155076054</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/31</interface_tx>
          <eth_outbytes>603916862</eth_outbytes>
          <eth_outucast>5186609</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/32</interface_tx>
          <eth_outbytes>155083230</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/33</interface_tx>
          <eth_outbytes>69518202422052</eth_outbytes>
          <eth_outucast>14967817604</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/34</interface_tx>
          <eth_outbytes>2944800</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/35</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/36</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/37</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/38</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/39</interface_tx>
          <eth_outbytes>2945036</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/40</interface_tx>
          <eth_outbytes>2945036</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/1</interface_tx>
          <eth_outmcast>7486318660</eth_outmcast>
          <eth_outbcast>1</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/2</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/3</interface_tx>
          <eth_outmcast>6387845</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/4</interface_tx>
          <eth_outmcast>12474</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/5</interface_tx>
          <eth_outmcast>15011849784</eth_outmcast>
          <eth_outbcast>1</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/6</interface_tx>
          <eth_outmcast>29929285126</eth_outmcast>
          <eth_outbcast>5</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/7</interface_tx>
          <eth_outmcast>446160</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/8</interface_tx>
          <eth_outmcast>37438</eth_outmcast>
          <eth_outbcast>7</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/9</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/10</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/11</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/12</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/13</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/14</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/15</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/16</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/17</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/18</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/19</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/20</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/21</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/22</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/23</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/24</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/25</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/26</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/27</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/28</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/29</interface_tx>
          <eth_outmcast>239319</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/30</interface_tx>
          <eth_outmcast>239315</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/31</interface_tx>
          <eth_outmcast>239327</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/32</interface_tx>
          <eth_outmcast>239326</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/33</interface_tx>
          <eth_outmcast>18436907</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/34</interface_tx>
          <eth_outmcast>12478</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/35</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/36</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/37</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/38</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/39</interface_tx>
          <eth_outmcast>12479</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet1/40</interface_tx>
          <eth_outmcast>12479</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
        </TABLE_tx_counters>
       </__readonly__>
      </__XML__PARAM__module>
     </module>
    </counters>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface counters module 1**

switch# show interface counters module 1


Port InOctets InUcastPkts

Eth1/1 69457572234655 14967671847 Eth1/2 0 0 Eth1/3 105802527447546 15013207002 Eth1/4 3193336 0 Eth1/5 69542165805458 14973213438 Eth1/6 156757526149882 29988892716 Eth1/7 418414710 0 Eth1/8 928073181506 7484341750 Eth1/9 0 0 Eth1/10 0 0 Eth1/11 0 0 Eth1/12 0 0 Eth1/13 0 0 Eth1/14 0 0 Eth1/15 0 0 Eth1/16 0 0 Eth1/17 0 0 Eth1/18 0 0 Eth1/19 0 0 Eth1/20 0 0 Eth1/21 0 0 Eth1/22 0 0 Eth1/23 0 0 Eth1/24 0 0 Eth1/25 0 0 Eth1/26 0 0 Eth1/27 0 0 Eth1/28 0 0 Eth1/29 648544755790 748149490 Eth1/30 34848776520 0 Eth1/31 38055261562 5186596 Eth1/32 34623749269 0 Eth1/33 104555606429011 15013667650 Eth1/34 3406213 0 Eth1/35 0 0 Eth1/36 933524 0 Eth1/37 0 0 Eth1/38 0 0 Eth1/39 2945036 0 Eth1/40 2945036 0


Port InMcastPkts InBcastPkts

Eth1/1 18113303 0 Eth1/2 0 0 Eth1/3 15012099589 14 Eth1/4 12474 0 Eth1/5 106732 0 Eth1/6 3746956367 2 Eth1/7 6368376 0 Eth1/8 62372 0 Eth1/9 0 0 Eth1/10 0 0 Eth1/11 0 0 Eth1/12 0 0 Eth1/13 0 0 Eth1/14 0 0 Eth1/15 0 0 Eth1/16 0 0 Eth1/17 0 0 Eth1/18 0 0 Eth1/19 0 0 Eth1/20 0 0 Eth1/21 0 0 Eth1/22 0 0 Eth1/23 0 0 Eth1/24 0 0 Eth1/25 0 0 Eth1/26 0 0 Eth1/27 0 0 Eth1/28 0 0 Eth1/29 224481 0 Eth1/30 224479 0 Eth1/31 268138 2 Eth1/32 224498 0 Eth1/33 7486227815 27 Eth1/34 12477 0 Eth1/35 0 0 Eth1/36 0 0 Eth1/37 0 0 Eth1/38 0 0 Eth1/39 12478 0 Eth1/40 12479 0


Port OutOctets OutUcastPkts

Eth1/1 104465704376414 15013681329 Eth1/2 0 0 Eth1/3 70476271375743 22449833107 Eth1/4 2931382 0 Eth1/5 104811901216265 7506623530 Eth1/6 139792099329461 1330 Eth1/7 33050859 0 Eth1/8 960853864617 7506623472 Eth1/9 0 0 Eth1/10 0 0 Eth1/11 0 0 Eth1/12 0 0 Eth1/13 0 0 Eth1/14 0 0 Eth1/15 0 0 Eth1/16 0 0 Eth1/17 0 0 Eth1/18 0 0 Eth1/19 0 0 Eth1/20 0 0 Eth1/21 0 0 Eth1/22 0 0 Eth1/23 0 0 Eth1/24 0 0 Eth1/25 0 0 Eth1/26 0 0 Eth1/27 0 0 Eth1/28 0 0 Eth1/29 155075542 0 Eth1/30 155074110 0 Eth1/31 603905394 5186495 Eth1/32 155081286 0 Eth1/33 69517652317145 14967699210 Eth1/34 2944564 0 Eth1/35 0 0 Eth1/36 0 0 Eth1/37 0 0 Eth1/38 0 0 Eth1/39 2945036 0 Eth1/40 2945036 0


Port OutMcastPkts OutBcastPkts

Eth1/1 7486259658 1 Eth1/2 0 0 Eth1/3 6387845 0 Eth1/4 12474 0 Eth1/5 15011730513 1 Eth1/6 29929048116 5 Eth1/7 446157 0 Eth1/8 37438 7 Eth1/9 0 0 Eth1/10 0 0 Eth1/11 0 0 Eth1/12 0 0 Eth1/13 0 0 Eth1/14 0 0 Eth1/15 0 0 Eth1/16 0 0 Eth1/17 0 0 Eth1/18 0 0 Eth1/19 0 0 Eth1/20 0 0 Eth1/21 0 0 Eth1/22 0 0 Eth1/23 0 0 Eth1/24 0 0 Eth1/25 0 0 Eth1/26 0 0 Eth1/27 0 0 Eth1/28 0 0 Eth1/29 239316 0 Eth1/30 239312 0 Eth1/31 239324 0 Eth1/32 239323 0 Eth1/33 18436103 0 Eth1/34 12477 0 Eth1/35 0 0 Eth1/36 0 0 Eth1/37 0 0 Eth1/38 0 0 Eth1/39 12479 0 Eth1/40 12479 0

show interface counters fex 101

show interface counters fex 101
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface counters fex 101",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_rx_counters": {
    "ROW_rx_counters": [
      {
        "interface_rx": "Ethernet101/1/1", 
        "eth_inbytes": 609097842691, 
        "eth_inucast": 748265952
      }, 
      {
        "interface_rx": "Ethernet101/1/2", 
        "eth_inbytes": 11508494, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/3", 
        "eth_inbytes": 11508494, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/4", 
        "eth_inbytes": 11508494, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/5", 
        "eth_inbytes": 11508229, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/6", 
        "eth_inbytes": 11508229, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/7", 
        "eth_inbytes": 11508494, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/8", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/9", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/10", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/11", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/12", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/13", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/14", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/15", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/16", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/17", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/18", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/19", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/20", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/21", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/22", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/23", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/24", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/25", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/26", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/27", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/28", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/29", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/30", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/31", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/32", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/33", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/34", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/35", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/36", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/37", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/38", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/39", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/40", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/41", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/42", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/43", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/44", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/45", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/46", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/47", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/48", 
        "eth_inbytes": 0, 
        "eth_inucast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/1", 
        "eth_inmcast": 99746, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/2", 
        "eth_inmcast": 37406, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/3", 
        "eth_inmcast": 37406, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/4", 
        "eth_inmcast": 37406, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/5", 
        "eth_inmcast": 37406, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/6", 
        "eth_inmcast": 37405, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/7", 
        "eth_inmcast": 37406, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/8", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/9", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/10", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/11", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/12", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/13", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/14", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/15", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/16", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/17", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/18", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/19", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/20", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/21", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/22", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/23", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/24", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/25", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/26", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/27", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/28", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/29", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/30", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/31", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/32", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/33", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/34", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/35", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/36", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/37", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/38", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/39", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/40", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/41", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/42", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/43", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/44", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/45", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/46", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/47", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }, 
      {
        "interface_rx": "Ethernet101/1/48", 
        "eth_inmcast": 0, 
        "eth_inbcast": 0
      }
    ]
  }, 
  "TABLE_tx_counters": {
    "ROW_tx_counters": [
      {
        "interface_tx": "Ethernet101/1/1", 
        "eth_outbytes": 752731885338, 
        "eth_outucast": 748262534
      }, 
      {
        "interface_tx": "Ethernet101/1/2", 
        "eth_outbytes": 3025015, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/3", 
        "eth_outbytes": 3025015, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/4", 
        "eth_outbytes": 3025015, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/5", 
        "eth_outbytes": 3024770, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/6", 
        "eth_outbytes": 3024770, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/7", 
        "eth_outbytes": 3025015, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/8", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/9", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/10", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/11", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/12", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/13", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/14", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/15", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/16", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/17", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/18", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/19", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/20", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/21", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/22", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/23", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/24", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/25", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/26", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/27", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/28", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/29", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/30", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/31", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/32", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/33", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/34", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/35", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/36", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/37", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/38", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/39", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/40", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/41", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/42", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/43", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/44", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/45", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/46", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/47", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/48", 
        "eth_outbytes": 0, 
        "eth_outucast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/1", 
        "eth_outmcast": 748197111, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/2", 
        "eth_outmcast": 12347, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/3", 
        "eth_outmcast": 12347, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/4", 
        "eth_outmcast": 12347, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/5", 
        "eth_outmcast": 12346, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/6", 
        "eth_outmcast": 12346, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/7", 
        "eth_outmcast": 12347, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/8", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/9", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/10", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/11", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/12", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/13", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/14", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/15", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/16", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/17", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/18", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/19", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/20", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/21", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/22", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/23", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/24", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/25", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/26", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/27", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/28", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/29", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/30", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/31", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/32", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/33", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/34", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/35", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/36", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/37", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/38", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/39", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/40", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/41", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/42", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/43", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/44", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/45", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/46", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/47", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }, 
      {
        "interface_tx": "Ethernet101/1/48", 
        "eth_outmcast": 0, 
        "eth_outbcast": 0
      }
    ]
  }
}
switch# show interface counters fex 101 | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <counters>
     <fex>
      <__XML__PARAM__fex_num>
       <__XML__value>101</__XML__value>
       <__readonly__>
        <TABLE_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/1</interface_rx>
          <eth_inbytes>609072860137</eth_inbytes>
          <eth_inucast>748235136</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/2</interface_rx>
          <eth_inbytes>11508165</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/3</interface_rx>
          <eth_inbytes>11508165</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/4</interface_rx>
          <eth_inbytes>11508165</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/5</interface_rx>
          <eth_inbytes>11508229</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/6</interface_rx>
          <eth_inbytes>11507900</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/7</interface_rx>
          <eth_inbytes>11508165</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/8</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/9</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/10</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/11</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/12</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/13</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/14</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/15</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/16</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/17</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/18</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/19</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/20</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/21</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/22</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/23</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/24</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/25</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/26</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/27</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/28</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/29</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/30</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/31</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/32</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/33</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/34</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/35</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/36</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/37</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/38</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/39</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/40</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/41</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/42</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/43</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/44</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/45</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/46</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/47</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/48</interface_rx>
          <eth_inbytes>0</eth_inbytes>
          <eth_inucast>0</eth_inucast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/1</interface_rx>
          <eth_inmcast>99745</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/2</interface_rx>
          <eth_inmcast>37405</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/3</interface_rx>
          <eth_inmcast>37405</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/4</interface_rx>
          <eth_inmcast>37405</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/5</interface_rx>
          <eth_inmcast>37405</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/6</interface_rx>
          <eth_inmcast>37404</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/7</interface_rx>
          <eth_inmcast>37405</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/8</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/9</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/10</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/11</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/12</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/13</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/14</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/15</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/16</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/17</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/18</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/19</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/20</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/21</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/22</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/23</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/24</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/25</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/26</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/27</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/28</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/29</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/30</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/31</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/32</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/33</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/34</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/35</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/36</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/37</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/38</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/39</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/40</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/41</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/42</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/43</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/44</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/45</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/46</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/47</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
         <ROW_rx_counters>
          <interface_rx>Ethernet101/1/48</interface_rx>
          <eth_inmcast>0</eth_inmcast>
          <eth_inbcast>0</eth_inbcast>
         </ROW_rx_counters>
        </TABLE_rx_counters>
        <TABLE_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/1</interface_tx>
          <eth_outbytes>752701310133</eth_outbytes>
          <eth_outucast>748232140</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/2</interface_tx>
          <eth_outbytes>3024770</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/3</interface_tx>
          <eth_outbytes>3024770</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/4</interface_tx>
          <eth_outbytes>3024770</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/5</interface_tx>
          <eth_outbytes>3024770</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/6</interface_tx>
          <eth_outbytes>3024770</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/7</interface_tx>
          <eth_outbytes>3025015</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/8</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/9</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/10</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/11</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/12</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/13</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/14</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/15</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/16</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/17</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/18</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/19</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/20</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/21</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/22</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/23</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/24</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/25</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/26</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/27</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/28</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/29</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/30</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/31</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/32</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/33</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/34</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/35</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/36</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/37</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/38</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/39</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/40</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/41</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/42</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/43</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/44</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/45</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/46</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/47</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/48</interface_tx>
          <eth_outbytes>0</eth_outbytes>
          <eth_outucast>0</eth_outucast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/1</interface_tx>
          <eth_outmcast>748171700</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/2</interface_tx>
          <eth_outmcast>12347</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/3</interface_tx>
          <eth_outmcast>12347</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/4</interface_tx>
          <eth_outmcast>12347</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/5</interface_tx>
          <eth_outmcast>12346</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/6</interface_tx>
          <eth_outmcast>12346</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/7</interface_tx>
          <eth_outmcast>12347</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/8</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/9</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/10</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/11</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/12</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/13</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/14</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/15</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/16</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/17</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/18</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/19</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/20</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/21</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/22</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/23</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/24</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/25</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/26</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/27</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/28</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/29</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/30</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/31</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/32</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/33</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/34</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/35</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/36</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/37</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/38</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/39</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/40</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/41</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/42</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/43</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/44</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/45</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/46</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/47</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
         <ROW_tx_counters>
          <interface_tx>Ethernet101/1/48</interface_tx>
          <eth_outmcast>0</eth_outmcast>
          <eth_outbcast>0</eth_outbcast>
         </ROW_tx_counters>
        </TABLE_tx_counters>
       </__readonly__>
      </__XML__PARAM__fex_num>
     </fex>
    </counters>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface counters fex 101**

switch# show interface counters fex 101


Port InOctets InUcastPkts

Eth101/1/1 609030932858 748183699 Eth101/1/2 11507242 0 Eth101/1/3 11507242 0 Eth101/1/4 11507242 0 Eth101/1/5 11507306 0 Eth101/1/6 11506977 0 Eth101/1/7 11507242 0 Eth101/1/8 0 0 Eth101/1/9 0 0 Eth101/1/10 0 0 Eth101/1/11 0 0 Eth101/1/12 0 0 Eth101/1/13 0 0 Eth101/1/14 0 0 Eth101/1/15 0 0 Eth101/1/16 0 0 Eth101/1/17 0 0 Eth101/1/18 0 0 Eth101/1/19 0 0 Eth101/1/20 0 0 Eth101/1/21 0 0 Eth101/1/22 0 0 Eth101/1/23 0 0 Eth101/1/24 0 0 Eth101/1/25 0 0 Eth101/1/26 0 0 Eth101/1/27 0 0 Eth101/1/28 0 0 Eth101/1/29 0 0 Eth101/1/30 0 0 Eth101/1/31 0 0 Eth101/1/32 0 0 Eth101/1/33 0 0 Eth101/1/34 0 0 Eth101/1/35 0 0 Eth101/1/36 0 0 Eth101/1/37 0 0 Eth101/1/38 0 0 Eth101/1/39 0 0 Eth101/1/40 0 0 Eth101/1/41 0 0 Eth101/1/42 0 0 Eth101/1/43 0 0 Eth101/1/44 0 0 Eth101/1/45 0 0 Eth101/1/46 0 0 Eth101/1/47 0 0 Eth101/1/48 0 0


Port InMcastPkts InBcastPkts

Eth101/1/1 99741 0 Eth101/1/2 37402 0 Eth101/1/3 37402 0 Eth101/1/4 37402 0 Eth101/1/5 37402 0 Eth101/1/6 37401 0 Eth101/1/7 37402 0 Eth101/1/8 0 0 Eth101/1/9 0 0 Eth101/1/10 0 0 Eth101/1/11 0 0 Eth101/1/12 0 0 Eth101/1/13 0 0 Eth101/1/14 0 0 Eth101/1/15 0 0 Eth101/1/16 0 0 Eth101/1/17 0 0 Eth101/1/18 0 0 Eth101/1/19 0 0 Eth101/1/20 0 0 Eth101/1/21 0 0 Eth101/1/22 0 0 Eth101/1/23 0 0 Eth101/1/24 0 0 Eth101/1/25 0 0 Eth101/1/26 0 0 Eth101/1/27 0 0 Eth101/1/28 0 0 Eth101/1/29 0 0 Eth101/1/30 0 0 Eth101/1/31 0 0 Eth101/1/32 0 0 Eth101/1/33 0 0 Eth101/1/34 0 0 Eth101/1/35 0 0 Eth101/1/36 0 0 Eth101/1/37 0 0 Eth101/1/38 0 0 Eth101/1/39 0 0 Eth101/1/40 0 0 Eth101/1/41 0 0 Eth101/1/42 0 0 Eth101/1/43 0 0 Eth101/1/44 0 0 Eth101/1/45 0 0 Eth101/1/46 0 0 Eth101/1/47 0 0 Eth101/1/48 0 0


Port OutOctets OutUcastPkts

Eth101/1/1 752644957039 748176090 Eth101/1/2 3024525 0 Eth101/1/3 3024525 0 Eth101/1/4 3024525 0 Eth101/1/5 3024525 0 Eth101/1/6 3024525 0 Eth101/1/7 3024770 0 Eth101/1/8 0 0 Eth101/1/9 0 0 Eth101/1/10 0 0 Eth101/1/11 0 0 Eth101/1/12 0 0 Eth101/1/13 0 0 Eth101/1/14 0 0 Eth101/1/15 0 0 Eth101/1/16 0 0 Eth101/1/17 0 0 Eth101/1/18 0 0 Eth101/1/19 0 0 Eth101/1/20 0 0 Eth101/1/21 0 0 Eth101/1/22 0 0 Eth101/1/23 0 0 Eth101/1/24 0 0 Eth101/1/25 0 0 Eth101/1/26 0 0 Eth101/1/27 0 0 Eth101/1/28 0 0 Eth101/1/29 0 0 Eth101/1/30 0 0 Eth101/1/31 0 0 Eth101/1/32 0 0 Eth101/1/33 0 0 Eth101/1/34 0 0 Eth101/1/35 0 0 Eth101/1/36 0 0 Eth101/1/37 0 0 Eth101/1/38 0 0 Eth101/1/39 0 0 Eth101/1/40 0 0 Eth101/1/41 0 0 Eth101/1/42 0 0 Eth101/1/43 0 0 Eth101/1/44 0 0 Eth101/1/45 0 0 Eth101/1/46 0 0 Eth101/1/47 0 0 Eth101/1/48 0 0


Port OutMcastPkts OutBcastPkts

Eth101/1/1 748110143 0 Eth101/1/2 12345 0 Eth101/1/3 12345 0 Eth101/1/4 12345 0 Eth101/1/5 12345 0 Eth101/1/6 12345 0 Eth101/1/7 12346 0 Eth101/1/8 0 0 Eth101/1/9 0 0 Eth101/1/10 0 0 Eth101/1/11 0 0 Eth101/1/12 0 0 Eth101/1/13 0 0 Eth101/1/14 0 0 Eth101/1/15 0 0 Eth101/1/16 0 0 Eth101/1/17 0 0 Eth101/1/18 0 0 Eth101/1/19 0 0 Eth101/1/20 0 0 Eth101/1/21 0 0 Eth101/1/22 0 0 Eth101/1/23 0 0 Eth101/1/24 0 0 Eth101/1/25 0 0 Eth101/1/26 0 0 Eth101/1/27 0 0 Eth101/1/28 0 0 Eth101/1/29 0 0 Eth101/1/30 0 0 Eth101/1/31 0 0 Eth101/1/32 0 0 Eth101/1/33 0 0 Eth101/1/34 0 0 Eth101/1/35 0 0 Eth101/1/36 0 0 Eth101/1/37 0 0 Eth101/1/38 0 0 Eth101/1/39 0 0 Eth101/1/40 0 0 Eth101/1/41 0 0 Eth101/1/42 0 0 Eth101/1/43 0 0 Eth101/1/44 0 0 Eth101/1/45 0 0 Eth101/1/46 0 0 Eth101/1/47 0 0 Eth101/1/48 0 0

show hardware capacity interface

show hardware capacity interface
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show hardware capacity interface",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                                  
  "TABLE_module_drops": {                          
    "ROW_module_drops": [                          
      {                                            
        "module_drops": 2,                         
        "tx_drops": 0,                             
        "max_tx_port": "-"                         
      },                                           
      {                                            
        "module_drops": 2,
        "rx_drops": 419469,
        "max_rx_port": "Ethernet2/41"
      },
      {
        "module_drops": 7,
        "tx_drops": 0,
        "max_tx_port": "-"
      },
      {
        "module_drops": 7,
        "rx_drops": 0,
        "max_rx_port": "-"
      },
      {
        "module_drops": 10,
        "tx_drops": 0,
        "max_tx_port": "-"
      },
      {
        "module_drops": 10,
        "rx_drops": 0,
        "max_rx_port": "-"
      }
    ]
  },
  "TABLE_module_buffers": {
    "ROW_module_buffers": [
      {
        "module_buffers": 2,
        "tx_buffers": 705024,
        "rx_buffers": 1572864
      },
      {
        "module_buffers": 7,
        "tx_buffers": 16777216,
        "rx_buffers": 30372992
      },
      {
        "module_buffers": 10,
        "tx_buffers": 16777216,
        "rx_buffers": 6965269
      }
    ]
  }
}
switch# show hardware capacity interface | xml
<?xml version="1.0" encoding="ISO-8859-1"?>       
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <hardware>                                                                                                     
    <capacity>                                                                                                    
     <interface>                                                                                                  
      <__XML__OPT_Cmd_show_hardware_capacity_interface___readonly__>                                              
       <__readonly__>                                                                                             
        <TABLE_module_drops>                                                                                      
         <ROW_module_drops>                                                                                       
          <module_drops>2</module_drops>                                                                          
          <tx_drops>0</tx_drops>                                                                                  
          <max_tx_port>-</max_tx_port>                                                                            
         </ROW_module_drops>                                                                                      
         <ROW_module_drops>                                                                                       
          <module_drops>2</module_drops>                                                                          
          <rx_drops>419469</rx_drops>                                                                             
          <max_rx_port>Ethernet2/41</max_rx_port>                                                                 
         </ROW_module_drops>                                                                                      
         <ROW_module_drops>                                                                                       
          <module_drops>7</module_drops>                                                                          
          <tx_drops>0</tx_drops>                                                                                  
          <max_tx_port>-</max_tx_port>                                                                            
         </ROW_module_drops>                                                                                      
         <ROW_module_drops>                                                                                       
          <module_drops>7</module_drops>                                                                          
          <rx_drops>0</rx_drops>                                                                                  
          <max_rx_port>-</max_rx_port>                                                                            
         </ROW_module_drops>                                                                                      
         <ROW_module_drops>                                                                                       
          <module_drops>10</module_drops>                                                                         
          <tx_drops>0</tx_drops>                                                                                  
          <max_tx_port>-</max_tx_port>                                                                            
         </ROW_module_drops>                                                                                      
         <ROW_module_drops>                                                                                       
          <module_drops>10</module_drops>                                                                         
          <rx_drops>0</rx_drops>                                                                                  
          <max_rx_port>-</max_rx_port>                                                                            
         </ROW_module_drops>                                                                                      
        </TABLE_module_drops>                                                                                     
        <TABLE_module_buffers>                                                                                    
         <ROW_module_buffers>                                                                                     
          <module_buffers>2</module_buffers>                                                                      
          <tx_buffers>705024</tx_buffers>                                                                         
          <rx_buffers>1572864</rx_buffers>                                                                        
         </ROW_module_buffers>                                                                                    
         <ROW_module_buffers>                                                                                     
          <module_buffers>7</module_buffers>                                                                      
          <tx_buffers>16777216</tx_buffers>                                                                       
          <rx_buffers>30372992</rx_buffers>                                                                       
         </ROW_module_buffers>                                                                                    
         <ROW_module_buffers>                                                                                     
          <module_buffers>10</module_buffers>                                                                     
          <tx_buffers>16777216</tx_buffers>                                                                       
          <rx_buffers>6965269</rx_buffers>                                                                        
         </ROW_module_buffers>                                                                                    
        </TABLE_module_buffers>                                                                                   
       </__readonly__>                                                                                            
      </__XML__OPT_Cmd_show_hardware_capacity_interface___readonly__>                                             
     </interface>                                                                                                 
    </capacity>                                                                                                   
   </hardware>                                                                                                    
  </show>                                                                                                         
 </nf:data>                                                                                                       
</nf:rpc-reply>                                                                                                   
]]>]]>                   

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show hardware capacity interface**

switch# show hardware capacity interface
Interface Resources                                               

Interface drops: Module Total drops Highest drop ports 2 Tx: 0 -
2 Rx: 419469 Ethernet2/41
7 Tx: 0 -
7 Rx: 0 -
10 Tx: 0 -
10 Rx: 0 -

Interface buffer sizes: Module Bytes: Tx buffer Rx buffer 2 705024 1572864 7 16777216 30372992 10 16777216 6965269

show interface

show interface <ifeth>
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface ethernet 10/1",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                              
  "TABLE_interface": {                         
    "ROW_interface": {                         
      "interface": "Ethernet10/1",             
      "state": "up",                           
      "admin_state": "up",                     
      "share_state": "Dedicated",              
      "eth_hw_desc": "100000 Ethernet",        
      "eth_hw_addr": "247e.120a.4b7c",         
      "eth_bia_addr": "247e.120a.4b7c",        
      "eth_mtu": "MTU 1500 bytes",             
      "eth_bw": 100000000,                     
      "eth_dly": 10,                           
      "eth_reliability": "255",                
      "eth_txload": "1",                       
      "eth_rxload": "1",                       
      "eth_encap": "ARPA",                     
      "medium": "broadcast",                   
      "eth_mode": "trunk",                     
      "eth_duplex": "full",                    
      "eth_speed": "100 Gb/s",                 
      "eth_media": "100G",                     
      "eth_beacon": "off",                     
      "eth_autoneg": "on",                     
      "eth_in_flowctrl": "off",                
      "eth_out_flowctrl": "off",               
      "eth_mdix": "off",                       
      "eth_ratemode": "dedicated",             
      "eth_swt_monitor": "off",                
      "eth_ethertype": "0x8100",               
      "eth_eee_state": "n/a",                  
      "eth_link_flapped": "1week(s) 1day(s)",  
      "eth_clear_counters": "never",           
      "eth_reset_cntr": 1,                     
      "eth_load_interval1_rx": 30,             
      "eth_inrate1_bits": 2502856,             
      "eth_inrate1_pkts": 606,                 
      "eth_load_interval1_tx": 30,             
      "eth_outrate1_bits": 2511312,            
      "eth_outrate1_pkts": 614,                
      "eth_inrate1_summary_bits": "2.50 Mbps", 
      "eth_inrate1_summary_pkts": "606 pps",   
      "eth_outrate1_summary_bits": "2.51 Mbps", 
      "eth_outrate1_summary_pkts": "614 pps",   
      "eth_load_interval2_rx": 300,             
      "eth_inrate2_bits": 2505560,              
      "eth_inrate2_pkts": 582,                  
      "eth_load_interval2_tx": 300,             
      "eth_outrate2_bits": 2505080,             
      "eth_outrate2_pkts": 584,                 
      "eth_inrate2_summary_bits": "2.51 Mbps",  
      "eth_inrate2_summary_pkts": "582 pps",
      "eth_outrate2_summary_bits": "2.51 Mbps",
      "eth_outrate2_summary_pkts": "584 pps",
      "eth_inucast": 430731428,
      "eth_inmcast": 35336,
      "eth_inbcast": 0,
      "eth_inpkts": 430757368,
      "eth_inbytes": 220539993541,
      "eth_jumbo_inpkts": 0,
      "eth_storm_supp": 0,
      "eth_runts": 0,
      "eth_giants": 0,
      "eth_crc": 0,
      "eth_nobuf": 0,
      "eth_inerr": 0,
      "eth_frame": 0,
      "eth_overrun": 0,
      "eth_underrun": 0,
      "eth_ignored": 0,
      "eth_watchdog": 0,
      "eth_bad_eth": 0,
      "eth_bad_proto": 0,
      "eth_in_ifdown_drops": 0,
      "eth_dribble": 0,
      "eth_indiscard": 0,
      "eth_inpause": 0,
      "eth_outucast": 430776374,
      "eth_outmcast": 3912033,
      "eth_outbcast": 0,
      "eth_outpkts": 434679017,
      "eth_outbytes": 220841899968,
      "eth_jumbo_outpkts": 0,
      "eth_outerr": 0,
      "eth_coll": 0,
      "eth_deferred": 0,
      "eth_latecoll": 0,
      "eth_lostcarrier": 0,
      "eth_nocarrier": 0,
      "eth_babbles": 0,
      "eth_outdiscard": 0,
      "eth_outpause": 0,
      "eth_admin_fec_state": "auto",
      "eth_oper_fec_state": "auto"
    }
  }
}
switch# show interface ethernet 10/1 | xml
<?xml version="1.0" encoding="ISO-8859-1"?>   
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <__XML__INTF_ifeth>                                                                                           
     <__XML__PARAM_value>                                                                                         
      <__XML__INTF_output>Ethernet10/1</__XML__INTF_output>                                                       
     </__XML__PARAM_value>                                                                                        
     <__XML__OPT_Cmd_show_interface_if_eth___readonly__>                                                          
      <__readonly__>                                                                                              
       <TABLE_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/1</interface>                                                                      
         <state>up</state>                                                                                        
         <admin_state>up</admin_state>                                                                            
         <share_state>Dedicated</share_state>                                                                     
         <eth_hw_desc>100000 Ethernet</eth_hw_desc>                                                               
         <eth_hw_addr>247e.120a.4b7c</eth_hw_addr>                                                                
         <eth_bia_addr>247e.120a.4b7c</eth_bia_addr>                                                              
         <eth_mtu>  MTU 1500 bytes</eth_mtu>                                                                      
         <eth_bw>100000000</eth_bw>                                                                               
         <eth_dly>10</eth_dly>                                                                                    
         <eth_reliability>255</eth_reliability>                                                                   
         <eth_txload>1</eth_txload>                                                                               
         <eth_rxload>1</eth_rxload>                                                                               
         <eth_encap>ARPA</eth_encap>                                                                              
         <medium>broadcast</medium>                                                                               
         <eth_mode>trunk</eth_mode>                                                                               
         <eth_duplex>full</eth_duplex>                                                                            
         <eth_speed>100 Gb/s</eth_speed>                                                                          
         <eth_media>100G</eth_media>                                                                              
         <eth_beacon>off</eth_beacon>                                                                             
         <eth_autoneg>on</eth_autoneg>                                                                            
         <eth_in_flowctrl>off</eth_in_flowctrl>                                                                   
         <eth_out_flowctrl>off</eth_out_flowctrl>                                                                 
         <eth_mdix>off</eth_mdix>                                                                                 
         <eth_ratemode>dedicated</eth_ratemode>                                                                   
         <eth_swt_monitor>off</eth_swt_monitor>                                                                   
         <eth_ethertype>0x8100</eth_ethertype>                                                                    
         <eth_eee_state>n/a</eth_eee_state>                                                                       
         <eth_link_flapped>1week(s) 1day(s)</eth_link_flapped>                                                    
         <eth_clear_counters>never</eth_clear_counters>                                                           
         <eth_reset_cntr>1</eth_reset_cntr>                                                                       
         <eth_load_interval1_rx>30</eth_load_interval1_rx>                                                        
         <eth_inrate1_bits>2503096</eth_inrate1_bits>                                                             
         <eth_inrate1_pkts>607</eth_inrate1_pkts>                                                                 
         <eth_load_interval1_tx>30</eth_load_interval1_tx>                                                        
         <eth_outrate1_bits>2505880</eth_outrate1_bits>                                                           
         <eth_outrate1_pkts>612</eth_outrate1_pkts>                                                               
         <eth_inrate1_summary_bits>2.50 Mbps</eth_inrate1_summary_bits>                                           
         <eth_inrate1_summary_pkts>607 pps</eth_inrate1_summary_pkts>                                             
         <eth_outrate1_summary_bits>2.51 Mbps</eth_outrate1_summary_bits>                                         
         <eth_outrate1_summary_pkts>612 pps</eth_outrate1_summary_pkts>                                           
         <eth_load_interval2_rx>300</eth_load_interval2_rx>                                                       
         <eth_inrate2_bits>2500944</eth_inrate2_bits>                                                             
         <eth_inrate2_pkts>582</eth_inrate2_pkts>                                                                 
         <eth_load_interval2_tx>300</eth_load_interval2_tx>                                                       
         <eth_outrate2_bits>2508536</eth_outrate2_bits>                                                           
         <eth_outrate2_pkts>584</eth_outrate2_pkts>                                                               
         <eth_inrate2_summary_bits>2.50 Mbps</eth_inrate2_summary_bits>                                           
         <eth_inrate2_summary_pkts>582 pps</eth_inrate2_summary_pkts>                                             
         <eth_outrate2_summary_bits>2.51 Mbps</eth_outrate2_summary_bits>                                         
         <eth_outrate2_summary_pkts>584 pps</eth_outrate2_summary_pkts>                                           
         <eth_inucast>430721506</eth_inucast>                                                                     
         <eth_inmcast>35336</eth_inmcast>                                                                         
         <eth_inbcast>0</eth_inbcast>                                                                             
         <eth_inpkts>430747446</eth_inpkts>                                                                       
         <eth_inbytes>220534913477</eth_inbytes>
         <eth_jumbo_inpkts>0</eth_jumbo_inpkts>
         <eth_storm_supp>0</eth_storm_supp>
         <eth_runts>0</eth_runts>
         <eth_giants>0</eth_giants>
         <eth_crc>0</eth_crc>
         <eth_nobuf>0</eth_nobuf>
         <eth_inerr>0</eth_inerr>
         <eth_frame>0</eth_frame>
         <eth_overrun>0</eth_overrun>
         <eth_underrun>0</eth_underrun>
         <eth_ignored>0</eth_ignored>
         <eth_watchdog>0</eth_watchdog>
         <eth_bad_eth>0</eth_bad_eth>
         <eth_bad_proto>0</eth_bad_proto>
         <eth_in_ifdown_drops>0</eth_in_ifdown_drops>
         <eth_dribble>0</eth_dribble>
         <eth_indiscard>0</eth_indiscard>
         <eth_inpause>0</eth_inpause>
         <eth_outucast>430766465</eth_outucast>
         <eth_outmcast>3911945</eth_outmcast>
         <eth_outbcast>0</eth_outbcast>
         <eth_outpkts>434669021</eth_outpkts>
         <eth_outbytes>220836817896</eth_outbytes>
         <eth_jumbo_outpkts>0</eth_jumbo_outpkts>
         <eth_outerr>0</eth_outerr>
         <eth_coll>0</eth_coll>
         <eth_deferred>0</eth_deferred>
         <eth_latecoll>0</eth_latecoll>
         <eth_lostcarrier>0</eth_lostcarrier>
         <eth_nocarrier>0</eth_nocarrier>
         <eth_babbles>0</eth_babbles>
         <eth_outdiscard>0</eth_outdiscard>
         <eth_outpause>0</eth_outpause>
         <eth_admin_fec_state>auto</eth_admin_fec_state>
         <eth_oper_fec_state>auto</eth_oper_fec_state>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_if_eth___readonly__>
    </__XML__INTF_ifeth>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface ethernet 10/1**

switch# show interface ethernet 10/1
Ethernet10/1 is up
admin state is up, Dedicated Interface
  Hardware: 100000 Ethernet, address: 247e.120a.4b7c (bia 247e.120a.4b7c)
  MTU 1500 bytes, BW 100000000 Kbit, DLY 10 usec
  reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, medium is broadcast
  Port mode is trunk
  full-duplex, 100 Gb/s, media type is 100G
  Beacon is turned off
  Auto-Negotiation is turned on
  Input flow-control is off, output flow-control is off
  Auto-mdix is turned off
  Rate mode is dedicated
  Switchport monitor is off
  EtherType is 0x8100
  EEE (efficient-ethernet) : n/a
  Last link flapped 1week(s) 1day(s)
  Last clearing of "show interface" counters never
  1 interface resets
  Load-Interval #1: 30 seconds
    30 seconds input rate 2503856 bits/sec, 608 packets/sec
    30 seconds output rate 2504736 bits/sec, 613 packets/sec
    input rate 2.50 Mbps, 608 pps; output rate 2.50 Mbps, 613 pps
  Load-Interval #2: 5 minute (300 seconds)
    300 seconds input rate 2501320 bits/sec, 583 packets/sec
    300 seconds output rate 2506960 bits/sec, 585 packets/sec
    input rate 2.50 Mbps, 583 pps; output rate 2.51 Mbps, 585 pps
  RX
    430711628 unicast packets  35335 multicast packets  0 broadcast packets
    430737567 input packets  220529855630 bytes
    0 jumbo packets  0 storm suppression packets
    0 runts  0 giants  0 CRC/FCS  0 no buffer
    0 input error  0 short frame  0 overrun   0 underrun  0 ignored
    0 watchdog  0 bad etype drop  0 bad proto drop  0 if down drop
    0 input with dribble  0 input discard
    0 Rx pause
  TX
    430756586 unicast packets  3911856 multicast packets  0 broadcast packets
    434659054 output packets  220831753718 bytes
    0 jumbo packets
    0 output error  0 collision  0 deferred  0 late collision
    0 lost carrier  0 no carrier  0 babble  0 output discard
    0 Tx pause
    admin fec state is auto, oper fec state is auto

show interface brief

show interface <ifeth_brf> brief
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface ethernet 10/1 brief",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet10/1",
      "vlan": "1",
      "type": "eth",
      "portmode": "trunk",
      "state": "up",
      "state_rsn_desc": "none",
      "speed": "100G",
      "ratemode": "D"
    }
  }
}
switch# show interface ethernet 10/1 brief | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__INTF_ifeth_brf>
     <__XML__PARAM_value>
      <__XML__INTF_output>Ethernet10/1</__XML__INTF_output>
     </__XML__PARAM_value>
     <brief/>
     <__XML__OPT_Cmd_show_interface_if_eth_brief___readonly__>
      <__readonly__>
       <TABLE_interface>
        <ROW_interface>
         <interface>Ethernet10/1</interface>
         <vlan>1</vlan>
         <type>eth</type>
         <portmode>trunk</portmode>
         <state>up</state>
         <state_rsn_desc>none</state_rsn_desc>
         <speed>100G</speed>
         <ratemode>D</ratemode>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_if_eth_brief___readonly__>
    </__XML__INTF_ifeth_brf>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface ethernet 10/1 brief**

switch# show interface ethernet 10/1 brief


Ethernet VLAN Type Mode Status Reason Speed Port Interface Ch #

Eth10/1 1 eth trunk up none 100G(D) --

show interface debounce

show interface <ifeth_dbnc> debounce
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface ethernet 10/1 debounce",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet10/1",
      "debounce": "enable",
      "debounce_val": 100,
      "debounce_link_up": "disable",
      "debounce_time_val": 0
    }
  }
}
switch# show interface ethernet 10/1 debounce | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__INTF_ifeth_dbnc>
     <__XML__PARAM_value>
      <__XML__INTF_output>Ethernet10/1</__XML__INTF_output>
     </__XML__PARAM_value>
     <debounce>
      <__XML__OPT_Cmd_show_interface_debounce_if_eth___readonly__>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet10/1</interface>
          <debounce>enable</debounce>
          <debounce_val>100</debounce_val>
          <debounce_link_up>disable</debounce_link_up>
          <debounce_time_val>0</debounce_time_val>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </__XML__OPT_Cmd_show_interface_debounce_if_eth___readonly__>
     </debounce>
    </__XML__INTF_ifeth_dbnc>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface ethernet 10/1 debounce**

switch# show interface ethernet 10/1 debounce


Eth10/1 enable 100 disable 0

show interface description

show interface <ifid_eth> description
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface ethernet 10/26 description",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet10/26",
      "type": "eth",
      "speed": "100G",
      "desc": "\"connected to Spirent 172.22.199.201 port 2/5 - 100G\""
    }
  }
}
switch# show interface ethernet 10/26 description | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__INTF_ifid_eth>
     <__XML__PARAM_value>
      <__XML__INTF_output>Ethernet10/26</__XML__INTF_output>
     </__XML__PARAM_value>
     <description>
      <__XML__OPT_Cmd_show_interface_description_if_eth___readonly__>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet10/26</interface>
          <type>eth</type>
          <speed>100G</speed>
          <desc>&quot;connected to Spirent 172.22.199.201 port 2/5 - 100G&quot;</desc>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </__XML__OPT_Cmd_show_interface_description_if_eth___readonly__>
     </description>
    </__XML__INTF_ifid_eth>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface ethernet 10/26 description**

switch# show interface ethernet 10/26 description


Port Type Speed Description

Eth10/26 eth 100G "connected to Spirent 172.22.199.201 port 2/5 - 100G"

show interface capabilities

show interface <ifid_eth_cap> capabilities
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface ethernet 10/26 capabilities",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "Ethernet10/26",
      "model": "N77-F430CQ-36",
      "type": "QSFP-100G-AOC",
      "speed": "100000",
      "duplex": "full",
      "trunk_encap": "802.1Q",
      "dce_capable": "yes",
      "channel": "yes",
      "bcast_supp": "percentage(0-100)",
      "flo_ctrl": "rx-(off/on),tx-(off/on)",
      "rate_mode": "dedicated",
      "port_mode": "Routed,Switched",
      "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)",
      "cos_rewrite": "yes",
      "tos_rewrite": "yes",
      "span": "yes",
      "udld": "yes",
      "mdix": "no",
      "tdr": "no",
      "lnk_debounce": "yes",
      "lnk_debounce_time": "yes",
      "fex_fabric": "no",
      "dot1q_tunnel": "yes",
      "efp": "no",
      "num_rewrites_allowed": "104",
      "pvlan_trunk_mode": "yes",
      "port_group_members": "25-27",
      "eee_capable": "no",
      "pfc_capable": "yes",
      "bkout_capable": "no",
      "lnk_up_debounce": "no",
      "fec_capable": "yes"
    }
  }
}
switch# show interface ethernet 10/26 capabilities | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                 
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <__XML__INTF_ifid_eth_cap>                                                                                    
     <__XML__PARAM_value>                                                                                         
      <__XML__INTF_output>Ethernet10/26</__XML__INTF_output>                                                      
     </__XML__PARAM_value>                                                                                        
     <capabilities>                                                                                               
      <__XML__OPT_Cmd_show_interface_capabilities_if_eth___readonly__>                                            
       <__readonly__>                                                                                             
        <TABLE_interface>
         <ROW_interface>
          <interface>Ethernet10/26</interface>
          <model>N77-F430CQ-36</model>
          <type>QSFP-100G-AOC</type>
          <speed>100000</speed>
          <duplex>full</duplex>
          <trunk_encap>802.1Q</trunk_encap>
          <dce_capable>yes</dce_capable>
          <channel>yes</channel>
          <bcast_supp>percentage(0-100)</bcast_supp>
          <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>
          <rate_mode>dedicated</rate_mode>
          <port_mode>Routed,Switched</port_mode>
          <qos_scheduling>rx-(4q1t),tx-(1p7q1t)
                         rx-(4q1t),tx-(3p5q1t)
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>
          <cos_rewrite>yes</cos_rewrite>
          <tos_rewrite>yes</tos_rewrite>
          <span>yes</span>
          <udld>yes</udld>
          <mdix>no</mdix>
          <tdr>no</tdr>
          <lnk_debounce>yes</lnk_debounce>
          <lnk_debounce_time>yes</lnk_debounce_time>
          <fex_fabric>no</fex_fabric>
          <dot1q_tunnel>yes</dot1q_tunnel>
          <efp>no</efp>
          <num_rewrites_allowed>104</num_rewrites_allowed>
          <pvlan_trunk_mode>yes</pvlan_trunk_mode>
          <port_group_members>25-27</port_group_members>
          <eee_capable>no</eee_capable>
          <pfc_capable>yes</pfc_capable>
          <bkout_capable>no</bkout_capable>
          <lnk_up_debounce>no</lnk_up_debounce>
          <fec_capable>yes</fec_capable>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </__XML__OPT_Cmd_show_interface_capabilities_if_eth___readonly__>
     </capabilities>
    </__XML__INTF_ifid_eth_cap>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface ethernet 10/26 capabilities**

switch# show interface ethernet 10/26 capabilities
Ethernet10/26
  Model:                 N77-F430CQ-36
  Type (SFP capable):    QSFP-100G-AOC
  Speed:                 100000
  Duplex:                full
  Trunk encap. type:     802.1Q
  FabricPath capable:    yes
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off/on),tx-(off/on)
  Rate mode:             dedicated
  Port mode:             Routed,Switched
  QOS scheduling:        rx-(4q1t),tx-(1p7q1t)
                         rx-(4q1t),tx-(3p5q1t)
                         rx-(4q1t),tx-(2p6q1t)
  CoS rewrite:           yes
  ToS rewrite:           yes
  SPAN:                  yes
  UDLD:                  yes
  MDIX:                  no
  TDR capable:           no
  Link Debounce:         yes
  Link Debounce Time:    yes
  FEX Fabric:            no
  dot1Q-tunnel mode:     yes
  EFP:                   no
  Num Rewrites Allowed:  104
  Pvlan Trunk capable:   yes
  Port Group Members:    25-27
  EEE (efficient-eth):   no
  PFC capable:           yes
  Breakout capable:      no
  Link Up Debounce:      no
  FEC capable:           yes

show interface description

show interface <ifid_mgmt_loop> description
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface mgmt 0 description",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "mgmt0",
      "desc": "--"
    }
  }
}
switch# show interface mgmt 0 description | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__INTF_ifid_mgmt_loop>
     <__XML__PARAM_value>
      <__XML__INTF_output>mgmt0</__XML__INTF_output>
     </__XML__PARAM_value>
     <description>
      <__XML__OPT_Cmd_show_interface_description_if_mgmt_loop___readonly__>
       <__readonly__>
        <TABLE_interface>
         <ROW_interface>
          <interface>mgmt0</interface>
          <desc>--</desc>
         </ROW_interface>
        </TABLE_interface>
       </__readonly__>
      </__XML__OPT_Cmd_show_interface_description_if_mgmt_loop___readonly__>
     </description>
    </__XML__INTF_ifid_mgmt_loop>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface mgmt 0 description**

switch# show interface mgmt 0 description


Interface Description

mgmt0 --

show interface

show interface <ifmgmt>
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface mgmt 0",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "mgmt0",
      "state": "up",
      "admin_state": "up",
      "eth_hw_desc": "GigabitEthernet",
      "eth_hw_addr": "501c.b09a.0ac0",
      "eth_bia_addr": "501c.b09a.0ac0",
      "eth_ip_addr": "172.22.199.43",
      "eth_ip_mask": 24,
      "eth_ip_prefix": "172.22.199.0",
      "eth_mtu": "1500",
      "eth_bw": 1000000,
      "eth_dly": 10,
      "eth_reliability": "255",
      "eth_txload": "1",
      "eth_rxload": "1",
      "eth_encap": "ARPA",
      "medium": "broadcast",
      "eth_mode": "routed",
      "eth_duplex": "full",
      "eth_speed": "1000 Mb/s",
      "eth_autoneg": "on",
      "eth_mdix": "off",
      "eth_ethertype": "0x0000",
      "vdc_lvl_in_avg_bps": 1248,
      "vdc_lvl_in_avg_pkts": 1,
      "vdc_lvl_out_avg_bps": 80,
      "vdc_lvl_out_avg_pkts": 0,
      "vdc_lvl_in_pkts": 1033448,
      "vdc_lvl_in_ucast": 34172,
      "vdc_lvl_in_mcast": 441624,
      "vdc_lvl_in_bcast": 557652,
      "vdc_lvl_in_bytes": 86340978,
      "vdc_lvl_out_pkts": 38544,
      "vdc_lvl_out_ucast": 3285,
      "vdc_lvl_out_mcast": 35253,
      "vdc_lvl_out_bcast": 6,
      "vdc_lvl_out_bytes": 8928631
    }
  }
}
switch# show interface mgmt 0 | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <__XML__INTF_ifmgmt>                                                                                          
     <__XML__PARAM_value>                                                                                         
      <__XML__INTF_output>mgmt0</__XML__INTF_output>                                                              
     </__XML__PARAM_value>                                                                                        
     <__XML__OPT_Cmd_show_interface_ifmgmt___readonly__>                                                          
      <__readonly__>                                                                                              
       <TABLE_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>mgmt0</interface>                                                                             
         <state>up</state>
         <admin_state>up</admin_state>
         <eth_hw_desc>GigabitEthernet</eth_hw_desc>
         <eth_hw_addr>501c.b09a.0ac0</eth_hw_addr>
         <eth_bia_addr>501c.b09a.0ac0</eth_bia_addr>
         <eth_ip_addr>172.22.199.43</eth_ip_addr>
         <eth_ip_mask>24</eth_ip_mask>
         <eth_ip_prefix>172.22.199.0</eth_ip_prefix>
         <eth_mtu>1500</eth_mtu>
         <eth_bw>1000000</eth_bw>
         <eth_dly>10</eth_dly>
         <eth_reliability>255</eth_reliability>
         <eth_txload>1</eth_txload>
         <eth_rxload>1</eth_rxload>
         <eth_encap>ARPA</eth_encap>
         <medium>broadcast</medium>
         <eth_mode>routed</eth_mode>
         <eth_duplex>full</eth_duplex>
         <eth_speed>1000 Mb/s</eth_speed>
         <eth_autoneg>on</eth_autoneg>
         <eth_mdix>off</eth_mdix>
         <eth_ethertype>0x0000</eth_ethertype>
         <vdc_lvl_in_avg_bps>752</vdc_lvl_in_avg_bps>
         <vdc_lvl_in_avg_pkts>0</vdc_lvl_in_avg_pkts>
         <vdc_lvl_out_avg_bps>104</vdc_lvl_out_avg_bps>
         <vdc_lvl_out_avg_pkts>0</vdc_lvl_out_avg_pkts>
         <vdc_lvl_in_pkts>1033353</vdc_lvl_in_pkts>
         <vdc_lvl_in_ucast>34172</vdc_lvl_in_ucast>
         <vdc_lvl_in_mcast>441555</vdc_lvl_in_mcast>
         <vdc_lvl_in_bcast>557626</vdc_lvl_in_bcast>
         <vdc_lvl_in_bytes>86332080</vdc_lvl_in_bytes>
         <vdc_lvl_out_pkts>38543</vdc_lvl_out_pkts>
         <vdc_lvl_out_ucast>3285</vdc_lvl_out_ucast>
         <vdc_lvl_out_mcast>35252</vdc_lvl_out_mcast>
         <vdc_lvl_out_bcast>6</vdc_lvl_out_bcast>
         <vdc_lvl_out_bytes>8928387</vdc_lvl_out_bytes>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_ifmgmt___readonly__>
    </__XML__INTF_ifmgmt>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface mgmt 0**

switch# show interface mgmt 0
mgmt0 is up
admin state is up
  Hardware: GigabitEthernet, address: 501c.b09a.0ac0 (bia 501c.b09a.0ac0)
  Internet Address is 172.22.199.43/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
  reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, medium is broadcast
  Port mode is routed
  full-duplex, 1000 Mb/s
  Auto-Negotiation is turned on
  Auto-mdix is turned off
  EtherType is 0x0000
  1 minute input rate 1080 bits/sec, 1 packets/sec
  1 minute output rate 88 bits/sec, 0 packets/sec
  Rx
    1033338 input packets 34172 unicast packets 441554 multicast packets
    557612 broadcast packets 86331044 bytes
  Tx
    38542 output packets 3285 unicast packets 35251 multicast packets
    6 broadcast packets 8928156 bytes

show interface brief

show interface <ifmgmt_brf> brief
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface mgmt 0 brief",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_interface": {
    "ROW_interface": {
      "interface": "mgmt0",
      "state": "up",
      "ip_addr": "172.22.199.43",
      "speed": "1000",
      "mtu": 1500
    }
  }
}
switch# show interface mgmt 0 brief | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <interface>
    <__XML__INTF_ifmgmt_brf>
     <__XML__PARAM_value>
      <__XML__INTF_output>mgmt0</__XML__INTF_output>
     </__XML__PARAM_value>
     <brief/>
     <__XML__OPT_Cmd_show_interface_if_mgmt_brief___readonly__>
      <__readonly__>
       <TABLE_interface>
        <ROW_interface>
         <interface>mgmt0</interface>
         <state>up</state>
         <ip_addr>172.22.199.43</ip_addr>
         <speed>1000</speed>
         <mtu>1500</mtu>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_if_mgmt_brief___readonly__>
    </__XML__INTF_ifmgmt_brf>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface mgmt 0 brief**

switch# show interface mgmt 0 brief


Port VRF Status IP Address Speed MTU

mgmt0 -- up 172.22.199.43 1000 1500

show interface

show interface <ifrange>
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface ethernet 10/25-27",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                                  
  "TABLE_interface": {                             
    "ROW_interface": [                             
      {                                            
        "interface": "Ethernet10/25",              
        "state": "up",                             
        "admin_state": "up",                       
        "share_state": "Dedicated",                
        "eth_bundle": "Po700",                     
        "eth_hw_desc": "100000 Ethernet",          
        "eth_hw_addr": "247e.120a.4bc4",           
        "eth_bia_addr": "247e.120a.4bc4",          
        "eth_mtu": "MTU 1500 bytes",               
        "eth_bw": 100000000,                       
        "eth_dly": 10,                             
        "eth_reliability": "255",                  
        "eth_txload": "1",                         
        "eth_rxload": "1",                         
        "eth_encap": "ARPA",                       
        "medium": "broadcast",                     
        "eth_mode": "trunk",                       
        "eth_duplex": "full",                      
        "eth_speed": "100 Gb/s",                   
        "eth_media": "100G",                       
        "eth_beacon": "off",                       
        "eth_autoneg": "on",                       
        "eth_in_flowctrl": "off",                  
        "eth_out_flowctrl": "off",                 
        "eth_mdix": "off",                         
        "eth_ratemode": "dedicated",               
        "eth_swt_monitor": "off",                  
        "eth_ethertype": "0x8100",                 
        "eth_eee_state": "n/a",                    
        "eth_link_flapped": "1week(s) 1day(s)",    
        "eth_clear_counters": "never",             
        "eth_reset_cntr": 1,                       
        "eth_load_interval1_rx": 30,               
        "eth_inrate1_bits": 2502288,               
        "eth_inrate1_pkts": 605,                   
        "eth_load_interval1_tx": 30,               
        "eth_outrate1_bits": 2506744,              
        "eth_outrate1_pkts": 612,                  
        "eth_inrate1_summary_bits": "2.50 Mbps",   
        "eth_inrate1_summary_pkts": "605 pps",     
        "eth_outrate1_summary_bits": "2.51 Mbps",  
        "eth_outrate1_summary_pkts": "612 pps",    
        "eth_load_interval2_rx": 300,              
        "eth_inrate2_bits": 2504760,               
        "eth_inrate2_pkts": 584,                   
        "eth_load_interval2_tx": 300,              
        "eth_outrate2_bits": 2504232,              
        "eth_outrate2_pkts": 588,                  
        "eth_inrate2_summary_bits": "2.50 Mbps",   
        "eth_inrate2_summary_pkts": "584 pps",     
        "eth_outrate2_summary_bits": "2.50 Mbps",  
        "eth_outrate2_summary_pkts": "588 pps",    
        "eth_inucast": 431031093,                  
        "eth_inmcast": 58873,                      
        "eth_inbcast": 0,                          
        "eth_inpkts": 431080567,                   
        "eth_inbytes": 220696400840,               
        "eth_jumbo_inpkts": 0,                     
        "eth_storm_supp": 0,                       
        "eth_runts": 0,                            
        "eth_giants": 0,                           
        "eth_crc": 0,                              
        "eth_nobuf": 0,                            
        "eth_inerr": 0,                            
        "eth_frame": 0,                            
        "eth_overrun": 0,                          
        "eth_underrun": 0,                         
        "eth_ignored": 0,                          
        "eth_watchdog": 0,                         
        "eth_bad_eth": 0,                          
        "eth_bad_proto": 0,                        
        "eth_in_ifdown_drops": 0,                  
        "eth_dribble": 0,                          
        "eth_indiscard": 0,                        
        "eth_inpause": 0,                          
        "eth_outucast": 431098904,                 
        "eth_outmcast": 3938485,                   
        "eth_outbcast": 0,                         
        "eth_outpkts": 435027985,                  
        "eth_outbytes": 221010214391,              
        "eth_jumbo_outpkts": 0,                    
        "eth_outerr": 0,                           
        "eth_coll": 0,                             
        "eth_deferred": 0,                         
        "eth_latecoll": 0,                         
        "eth_lostcarrier": 0,                      
        "eth_nocarrier": 0,                        
        "eth_babbles": 0,                          
        "eth_outdiscard": 0,                       
        "eth_outpause": 0,                         
        "eth_admin_fec_state": "auto",             
        "eth_oper_fec_state": "auto"               
      },                                           
      {                                            
        "interface": "Ethernet10/26",              
        "state": "up",                             
        "admin_state": "up",                       
        "share_state": "Dedicated",                
        "eth_hw_desc": "100000 Ethernet",          
        "eth_hw_addr": "247e.120a.4bc8",           
        "eth_bia_addr": "247e.120a.4bc8",          
        "desc": "\"connected to Spirent 172.22.199.201 port 2/5 - 100G\"", 
        "eth_mtu": "MTU 1500 bytes",                                       
        "eth_bw": 100000000,                                               
        "eth_dly": 10,                                                     
        "eth_reliability": "255",                                          
        "eth_txload": "1",                                                 
        "eth_rxload": "1",                                                 
        "eth_encap": "ARPA",                                               
        "medium": "broadcast",                                             
        "eth_mode": "trunk",                                               
        "eth_duplex": "full",                                              
        "eth_speed": "100 Gb/s",                                           
        "eth_media": "100G",                                               
        "eth_beacon": "off",                                               
        "eth_autoneg": "on",                                               
        "eth_in_flowctrl": "off",                                          
        "eth_out_flowctrl": "off",                                         
        "eth_mdix": "off",                                                 
        "eth_ratemode": "dedicated",                                       
        "eth_swt_monitor": "off",                                          
        "eth_ethertype": "0x8100",                                         
        "eth_eee_state": "n/a",                                            
        "eth_link_flapped": "1week(s) 1day(s)",                            
        "eth_clear_counters": "never",                                     
        "eth_reset_cntr": 1,                                               
        "eth_load_interval1_rx": 30,                                       
        "eth_inrate1_bits": 8192296,                                       
        "eth_inrate1_pkts": 2000,                                          
        "eth_load_interval1_tx": 30,                                       
        "eth_outrate1_bits": 8191960,                                      
        "eth_outrate1_pkts": 2000,                                         
        "eth_inrate1_summary_bits": "8.19 Mbps",                           
        "eth_inrate1_summary_pkts": "2.00 Kpps",                           
        "eth_outrate1_summary_bits": "8.19 Mbps",                          
        "eth_outrate1_summary_pkts": "2.00 Kpps",                          
        "eth_load_interval2_rx": 300,                                      
        "eth_inrate2_bits": 8190920,                                       
        "eth_inrate2_pkts": 1976,                                          
        "eth_load_interval2_tx": 300,                                      
        "eth_outrate2_bits": 8191000,                                      
        "eth_outrate2_pkts": 1976,                                         
        "eth_inrate2_summary_bits": "8.19 Mbps",                           
        "eth_inrate2_summary_pkts": "1.98 Kpps",                           
        "eth_outrate2_summary_bits": "8.19 Mbps",                          
        "eth_outrate2_summary_pkts": "1.98 Kpps",                          
        "eth_inucast": 1410928514,                                         
        "eth_inmcast": 0,                                                  
        "eth_inbcast": 0,                                                  
        "eth_inpkts": 1410919121,                                          
        "eth_inbytes": 722390636480,                                       
        "eth_jumbo_inpkts": 0,                                             
        "eth_storm_supp": 0,                                               
        "eth_runts": 0,                                                    
        "eth_giants": 0,                                                   
        "eth_crc": 0,                                                      
        "eth_nobuf": 0,                                                    
        "eth_inerr": 0,                                                    
        "eth_frame": 0,                                                    
        "eth_overrun": 0,                                                  
        "eth_underrun": 0,                                                 
        "eth_ignored": 0,                                                  
        "eth_watchdog": 0,                                                 
        "eth_bad_eth": 0,                                                  
        "eth_bad_proto": 0,                                                
        "eth_in_ifdown_drops": 0,                                          
        "eth_dribble": 0,                                                  
        "eth_indiscard": 0,                                                
        "eth_inpause": 0,                                                  
        "eth_outucast": 1410623311,                                        
        "eth_outmcast": 35284,                                             
        "eth_outbcast": 0,                                                 
        "eth_outpkts": 1410649198,                                         
        "eth_outbytes": 722246356123,                                      
        "eth_jumbo_outpkts": 0,                                            
        "eth_outerr": 0,                                                   
        "eth_coll": 0,                                                     
        "eth_deferred": 0,                                                 
        "eth_latecoll": 0,                                                 
        "eth_lostcarrier": 0,                                              
        "eth_nocarrier": 0,                                                
        "eth_babbles": 0,                                                  
        "eth_outdiscard": 0,                                               
        "eth_outpause": 0,                                                 
        "eth_admin_fec_state": "auto",                                     
        "eth_oper_fec_state": "auto"                                       
      },                                                                   
      {                                                                    
        "interface": "Ethernet10/27",                                      
        "state": "up",                                                     
        "admin_state": "up",                                               
        "share_state": "Dedicated",                                        
        "eth_bundle": "Po800",                                             
        "eth_hw_desc": "100000 Ethernet",                                  
        "eth_hw_addr": "247e.120a.4bcc",                                   
        "eth_bia_addr": "247e.120a.4bcc",                                  
        "eth_mtu": "MTU 1500 bytes",                                       
        "eth_bw": 100000000,                                               
        "eth_dly": 10,                                                     
        "eth_reliability": "255",                                          
        "eth_txload": "1",                                                 
        "eth_rxload": "1",                                                 
        "eth_encap": "ARPA",                                               
        "medium": "broadcast",                                             
        "eth_mode": "access",                                              
        "eth_duplex": "full",                                              
        "eth_speed": "100 Gb/s",                                           
        "eth_media": "100G",                                               
        "eth_beacon": "off",                                               
        "eth_autoneg": "on",                                               
        "eth_in_flowctrl": "off",                                          
        "eth_out_flowctrl": "off",                                         
        "eth_mdix": "off",                                                 
        "eth_ratemode": "dedicated",                                       
        "eth_swt_monitor": "off",                                          
        "eth_ethertype": "0x8100",                                         
        "eth_eee_state": "n/a",                                            
        "eth_link_flapped": "1week(s) 1day(s)",                            
        "eth_clear_counters": "never",                                     
        "eth_reset_cntr": 1,                                               
        "eth_load_interval1_rx": 30,                                       
        "eth_inrate1_bits": 225816,                                        
        "eth_inrate1_pkts": 52,                                            
        "eth_load_interval1_tx": 30,                                       
        "eth_outrate1_bits": 226896,                                       
        "eth_outrate1_pkts": 54,                                           
        "eth_inrate1_summary_bits": "225.82 Kbps",                         
        "eth_inrate1_summary_pkts": "52 pps",                              
        "eth_outrate1_summary_bits": "226.90 Kbps",                        
        "eth_outrate1_summary_pkts": "54 pps",                             
        "eth_load_interval2_rx": 300,                                      
        "eth_inrate2_bits": 225280,                                        
        "eth_inrate2_pkts": 51,                                            
        "eth_load_interval2_tx": 300,                                      
        "eth_outrate2_bits": 225584,                                       
        "eth_outrate2_pkts": 51,                                           
        "eth_inrate2_summary_bits": "225.28 Kbps",                         
        "eth_inrate2_summary_pkts": "51 pps",                              
        "eth_outrate2_summary_bits": "225.58 Kbps",
        "eth_outrate2_summary_pkts": "51 pps",
        "eth_inucast": 39193198,
        "eth_inmcast": 58801,
        "eth_inbcast": 0,
        "eth_inpkts": 39242595,
        "eth_inbytes": 19918644791,
        "eth_jumbo_inpkts": 0,
        "eth_storm_supp": 0,
        "eth_runts": 0,
        "eth_giants": 0,
        "eth_crc": 0,
        "eth_nobuf": 0,
        "eth_inerr": 0,
        "eth_frame": 0,
        "eth_overrun": 0,
        "eth_underrun": 0,
        "eth_ignored": 0,
        "eth_watchdog": 0,
        "eth_bad_eth": 0,
        "eth_bad_proto": 0,
        "eth_in_ifdown_drops": 0,
        "eth_dribble": 0,
        "eth_indiscard": 0,
        "eth_inpause": 0,
        "eth_outucast": 39196952,
        "eth_outmcast": 411469,
        "eth_outbcast": 0,
        "eth_outpkts": 39599017,
        "eth_outbytes": 19942888298,
        "eth_jumbo_outpkts": 0,
        "eth_outerr": 0,
        "eth_coll": 0,
        "eth_deferred": 0,
        "eth_latecoll": 0,
        "eth_lostcarrier": 0,
        "eth_nocarrier": 0,
        "eth_babbles": 0,
        "eth_outdiscard": 0,
        "eth_outpause": 0,
        "eth_admin_fec_state": "auto",
        "eth_oper_fec_state": "auto"
      }
    ]
  }
}
switch# show interface ethernet 10/25-27 | xml
<?xml version="1.0" encoding="ISO-8859-1"?>       
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <__XML__INTF_ifeth>                                                                                           
     <__XML__PARAM_value>                                                                                         
      <__XML__INTF_output>Ethernet10/25-27</__XML__INTF_output>                                                   
     </__XML__PARAM_value>                                                                                        
     <__XML__OPT_Cmd_show_interface_if_eth___readonly__>                                                          
      <__readonly__>                                                                                              
       <TABLE_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/25</interface>                                                                     
         <state>up</state>                                                                                        
         <admin_state>up</admin_state>                                                                            
         <share_state>Dedicated</share_state>                                                                     
         <eth_bundle>Po700</eth_bundle>                                                                           
         <eth_hw_desc>100000 Ethernet</eth_hw_desc>                                                               
         <eth_hw_addr>247e.120a.4bc4</eth_hw_addr>                                                                
         <eth_bia_addr>247e.120a.4bc4</eth_bia_addr>                                                              
         <eth_mtu>  MTU 1500 bytes</eth_mtu>                                                                      
         <eth_bw>100000000</eth_bw>                                                                               
         <eth_dly>10</eth_dly>                                                                                    
         <eth_reliability>255</eth_reliability>                                                                   
         <eth_txload>1</eth_txload>                                                                               
         <eth_rxload>1</eth_rxload>                                                                               
         <eth_encap>ARPA</eth_encap>                                                                              
         <medium>broadcast</medium>                                                                               
         <eth_mode>trunk</eth_mode>                                                                               
         <eth_duplex>full</eth_duplex>                                                                            
         <eth_speed>100 Gb/s</eth_speed>                                                                          
         <eth_media>100G</eth_media>                                                                              
         <eth_beacon>off</eth_beacon>                                                                             
         <eth_autoneg>on</eth_autoneg>                                                                            
         <eth_in_flowctrl>off</eth_in_flowctrl>                                                                   
         <eth_out_flowctrl>off</eth_out_flowctrl>                                                                 
         <eth_mdix>off</eth_mdix>                                                                                 
         <eth_ratemode>dedicated</eth_ratemode>                                                                   
         <eth_swt_monitor>off</eth_swt_monitor>                                                                   
         <eth_ethertype>0x8100</eth_ethertype>                                                                    
         <eth_eee_state>n/a</eth_eee_state>                                                                       
         <eth_link_flapped>1week(s) 1day(s)</eth_link_flapped>                                                    
         <eth_clear_counters>never</eth_clear_counters>                                                           
         <eth_reset_cntr>1</eth_reset_cntr>                                                                       
         <eth_load_interval1_rx>30</eth_load_interval1_rx>                                                        
         <eth_inrate1_bits>2500312</eth_inrate1_bits>                                                             
         <eth_inrate1_pkts>604</eth_inrate1_pkts>                                                                 
         <eth_load_interval1_tx>30</eth_load_interval1_tx>                                                        
         <eth_outrate1_bits>2503920</eth_outrate1_bits>                                                           
         <eth_outrate1_pkts>607</eth_outrate1_pkts>                                                               
         <eth_inrate1_summary_bits>2.50 Mbps</eth_inrate1_summary_bits>                                           
         <eth_inrate1_summary_pkts>604 pps</eth_inrate1_summary_pkts>                                             
         <eth_outrate1_summary_bits>2.50 Mbps</eth_outrate1_summary_bits>                                         
         <eth_outrate1_summary_pkts>607 pps</eth_outrate1_summary_pkts>                                           
         <eth_load_interval2_rx>300</eth_load_interval2_rx>                                                       
         <eth_inrate2_bits>2504384</eth_inrate2_bits>                                                             
         <eth_inrate2_pkts>585</eth_inrate2_pkts>                                                                 
         <eth_load_interval2_tx>300</eth_load_interval2_tx>                                                       
         <eth_outrate2_bits>2504744</eth_outrate2_bits>                                                           
         <eth_outrate2_pkts>585</eth_outrate2_pkts>                                                               
         <eth_inrate2_summary_bits>2.50 Mbps</eth_inrate2_summary_bits>                                           
         <eth_inrate2_summary_pkts>585 pps</eth_inrate2_summary_pkts>                                             
         <eth_outrate2_summary_bits>2.50 Mbps</eth_outrate2_summary_bits>                                         
         <eth_outrate2_summary_pkts>585 pps</eth_outrate2_summary_pkts>                                           
         <eth_inucast>431016406</eth_inucast>                                                                     
         <eth_inmcast>58871</eth_inmcast>                                                                         
         <eth_inbcast>0</eth_inbcast>                                                                             
         <eth_inpkts>431065885</eth_inpkts>                                                                       
         <eth_inbytes>220688887311</eth_inbytes>                                                                  
         <eth_jumbo_inpkts>0</eth_jumbo_inpkts>                                                                   
         <eth_storm_supp>0</eth_storm_supp>                                                                       
         <eth_runts>0</eth_runts>                                                                                 
         <eth_giants>0</eth_giants>                                                                               
         <eth_crc>0</eth_crc>                                                                                     
         <eth_nobuf>0</eth_nobuf>                                                                                 
         <eth_inerr>0</eth_inerr>                                                                                 
         <eth_frame>0</eth_frame>                                                                                 
         <eth_overrun>0</eth_overrun>                                                                             
         <eth_underrun>0</eth_underrun>                                                                           
         <eth_ignored>0</eth_ignored>                                                                             
         <eth_watchdog>0</eth_watchdog>                                                                           
         <eth_bad_eth>0</eth_bad_eth>                                                                             
         <eth_bad_proto>0</eth_bad_proto>                                                                         
         <eth_in_ifdown_drops>0</eth_in_ifdown_drops>                                                             
         <eth_dribble>0</eth_dribble>                                                                             
         <eth_indiscard>0</eth_indiscard>                                                                         
         <eth_inpause>0</eth_inpause>                                                                             
         <eth_outucast>431084230</eth_outucast>                                                                   
         <eth_outmcast>3938351</eth_outmcast>                                                                     
         <eth_outbcast>0</eth_outbcast>                                                                           
         <eth_outpkts>435013177</eth_outpkts>                                                                     
         <eth_outbytes>221002691363</eth_outbytes>                                                                
         <eth_jumbo_outpkts>0</eth_jumbo_outpkts>                                                                 
         <eth_outerr>0</eth_outerr>                                                                               
         <eth_coll>0</eth_coll>                                                                                   
         <eth_deferred>0</eth_deferred>                                                                           
         <eth_latecoll>0</eth_latecoll>                                                                           
         <eth_lostcarrier>0</eth_lostcarrier>                                                                     
         <eth_nocarrier>0</eth_nocarrier>                                                                         
         <eth_babbles>0</eth_babbles>                                                                             
         <eth_outdiscard>0</eth_outdiscard>                                                                       
         <eth_outpause>0</eth_outpause>                                                                           
         <eth_admin_fec_state>auto</eth_admin_fec_state>                                                          
         <eth_oper_fec_state>auto</eth_oper_fec_state>                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/26</interface>                                                                     
         <state>up</state>                                                                                        
         <admin_state>up</admin_state>                                                                            
         <share_state>Dedicated</share_state>                                                                     
         <eth_hw_desc>100000 Ethernet</eth_hw_desc>                                                               
         <eth_hw_addr>247e.120a.4bc8</eth_hw_addr>                                                                
         <eth_bia_addr>247e.120a.4bc8</eth_bia_addr>                                                              
         <desc>&quot;connected to Spirent 172.22.199.201 port 2/5 - 100G&quot;</desc>                             
         <eth_mtu>  MTU 1500 bytes</eth_mtu>                                                                      
         <eth_bw>100000000</eth_bw>                                                                               
         <eth_dly>10</eth_dly>                                                                                    
         <eth_reliability>255</eth_reliability>                                                                   
         <eth_txload>1</eth_txload>                                                                               
         <eth_rxload>1</eth_rxload>                                                                               
         <eth_encap>ARPA</eth_encap>                                                                              
         <medium>broadcast</medium>                                                                               
         <eth_mode>trunk</eth_mode>                                                                               
         <eth_duplex>full</eth_duplex>                                                                            
         <eth_speed>100 Gb/s</eth_speed>                                                                          
         <eth_media>100G</eth_media>                                                                              
         <eth_beacon>off</eth_beacon>                                                                             
         <eth_autoneg>on</eth_autoneg>                                                                            
         <eth_in_flowctrl>off</eth_in_flowctrl>                                                                   
         <eth_out_flowctrl>off</eth_out_flowctrl>                                                                 
         <eth_mdix>off</eth_mdix>                                                                                 
         <eth_ratemode>dedicated</eth_ratemode>                                                                   
         <eth_swt_monitor>off</eth_swt_monitor>                                                                   
         <eth_ethertype>0x8100</eth_ethertype>                                                                    
         <eth_eee_state>n/a</eth_eee_state>                                                                       
         <eth_link_flapped>1week(s) 1day(s)</eth_link_flapped>                                                    
         <eth_clear_counters>never</eth_clear_counters>                                                           
         <eth_reset_cntr>1</eth_reset_cntr>                                                                       
         <eth_load_interval1_rx>30</eth_load_interval1_rx>                                                        
         <eth_inrate1_bits>8181680</eth_inrate1_bits>                                                             
         <eth_inrate1_pkts>1986</eth_inrate1_pkts>                                                                
         <eth_load_interval1_tx>30</eth_load_interval1_tx>                                                        
         <eth_outrate1_bits>8182240</eth_outrate1_bits>                                                           
         <eth_outrate1_pkts>1985</eth_outrate1_pkts>                                                              
         <eth_inrate1_summary_bits>8.18 Mbps</eth_inrate1_summary_bits>                                           
         <eth_inrate1_summary_pkts>1.99 Kpps</eth_inrate1_summary_pkts>                                           
         <eth_outrate1_summary_bits>8.18 Mbps</eth_outrate1_summary_bits>                                         
         <eth_outrate1_summary_pkts>1.99 Kpps</eth_outrate1_summary_pkts>                                         
         <eth_load_interval2_rx>300</eth_load_interval2_rx>                                                       
         <eth_inrate2_bits>8191000</eth_inrate2_bits>                                                             
         <eth_inrate2_pkts>1976</eth_inrate2_pkts>                                                                
         <eth_load_interval2_tx>300</eth_load_interval2_tx>                                                       
         <eth_outrate2_bits>8191112</eth_outrate2_bits>                                                           
         <eth_outrate2_pkts>1975</eth_outrate2_pkts>                                                              
         <eth_inrate2_summary_bits>8.19 Mbps</eth_inrate2_summary_bits>                                           
         <eth_inrate2_summary_pkts>1.98 Kpps</eth_inrate2_summary_pkts>                                           
         <eth_outrate2_summary_bits>8.19 Mbps</eth_outrate2_summary_bits>                                         
         <eth_outrate2_summary_pkts>1.98 Kpps</eth_outrate2_summary_pkts>                                         
         <eth_inucast>1410880478</eth_inucast>                                                                    
         <eth_inmcast>0</eth_inmcast>                                                                             
         <eth_inbcast>0</eth_inbcast>                                                                             
         <eth_inpkts>1410871084</eth_inpkts>                                                                      
         <eth_inbytes>722366042560</eth_inbytes>                                                                  
         <eth_jumbo_inpkts>0</eth_jumbo_inpkts>                                                                   
         <eth_storm_supp>0</eth_storm_supp>                                                                       
         <eth_runts>0</eth_runts>                                                                                 
         <eth_giants>0</eth_giants>                                                                               
         <eth_crc>0</eth_crc>                                                                                     
         <eth_nobuf>0</eth_nobuf>                                                                                 
         <eth_inerr>0</eth_inerr>                                                                                 
         <eth_frame>0</eth_frame>                                                                                 
         <eth_overrun>0</eth_overrun>                                                                             
         <eth_underrun>0</eth_underrun>                                                                           
         <eth_ignored>0</eth_ignored>                                                                             
         <eth_watchdog>0</eth_watchdog>                                                                           
         <eth_bad_eth>0</eth_bad_eth>                                                                             
         <eth_bad_proto>0</eth_bad_proto>                                                                         
         <eth_in_ifdown_drops>0</eth_in_ifdown_drops>                                                             
         <eth_dribble>0</eth_dribble>                                                                             
         <eth_indiscard>0</eth_indiscard>                                                                         
         <eth_inpause>0</eth_inpause>                                                                             
         <eth_outucast>1410575274</eth_outucast>                                                                  
         <eth_outmcast>35283</eth_outmcast>                                                                       
         <eth_outbcast>0</eth_outbcast>                                                                           
         <eth_outpkts>1410601160</eth_outpkts>                                                                    
         <eth_outbytes>722221761304</eth_outbytes>                                                                
         <eth_jumbo_outpkts>0</eth_jumbo_outpkts>                                                                 
         <eth_outerr>0</eth_outerr>                                                                               
         <eth_coll>0</eth_coll>                                                                                   
         <eth_deferred>0</eth_deferred>                                                                           
         <eth_latecoll>0</eth_latecoll>                                                                           
         <eth_lostcarrier>0</eth_lostcarrier>                                                                     
         <eth_nocarrier>0</eth_nocarrier>                                                                         
         <eth_babbles>0</eth_babbles>                                                                             
         <eth_outdiscard>0</eth_outdiscard>                                                                       
         <eth_outpause>0</eth_outpause>                                                                           
         <eth_admin_fec_state>auto</eth_admin_fec_state>                                                          
         <eth_oper_fec_state>auto</eth_oper_fec_state>                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/27</interface>                                                                     
         <state>up</state>                                                                                        
         <admin_state>up</admin_state>                                                                            
         <share_state>Dedicated</share_state>                                                                     
         <eth_bundle>Po800</eth_bundle>                                                                           
         <eth_hw_desc>100000 Ethernet</eth_hw_desc>                                                               
         <eth_hw_addr>247e.120a.4bcc</eth_hw_addr>                                                                
         <eth_bia_addr>247e.120a.4bcc</eth_bia_addr>                                                              
         <eth_mtu>  MTU 1500 bytes</eth_mtu>                                                                      
         <eth_bw>100000000</eth_bw>                                                                               
         <eth_dly>10</eth_dly>                                                                                    
         <eth_reliability>255</eth_reliability>                                                                   
         <eth_txload>1</eth_txload>                                                                               
         <eth_rxload>1</eth_rxload>                                                                               
         <eth_encap>ARPA</eth_encap>                                                                              
         <medium>broadcast</medium>                                                                               
         <eth_mode>access</eth_mode>                                                                              
         <eth_duplex>full</eth_duplex>                                                                            
         <eth_speed>100 Gb/s</eth_speed>                                                                          
         <eth_media>100G</eth_media>                                                                              
         <eth_beacon>off</eth_beacon>                                                                             
         <eth_autoneg>on</eth_autoneg>                                                                            
         <eth_in_flowctrl>off</eth_in_flowctrl>                                                                   
         <eth_out_flowctrl>off</eth_out_flowctrl>                                                                 
         <eth_mdix>off</eth_mdix>                                                                                 
         <eth_ratemode>dedicated</eth_ratemode>                                                                   
         <eth_swt_monitor>off</eth_swt_monitor>                                                                   
         <eth_ethertype>0x8100</eth_ethertype>                                                                    
         <eth_eee_state>n/a</eth_eee_state>                                                                       
         <eth_link_flapped>1week(s) 1day(s)</eth_link_flapped>                                                    
         <eth_clear_counters>never</eth_clear_counters>                                                           
         <eth_reset_cntr>1</eth_reset_cntr>                                                                       
         <eth_load_interval1_rx>30</eth_load_interval1_rx>                                                        
         <eth_inrate1_bits>225952</eth_inrate1_bits>                                                              
         <eth_inrate1_pkts>54</eth_inrate1_pkts>                                                                  
         <eth_load_interval1_tx>30</eth_load_interval1_tx>                                                        
         <eth_outrate1_bits>225992</eth_outrate1_bits>                                                            
         <eth_outrate1_pkts>53</eth_outrate1_pkts>                                                                
         <eth_inrate1_summary_bits>225.95 Kbps</eth_inrate1_summary_bits>                                         
         <eth_inrate1_summary_pkts>54 pps</eth_inrate1_summary_pkts>                                              
         <eth_outrate1_summary_bits>225.99 Kbps</eth_outrate1_summary_bits>                                       
         <eth_outrate1_summary_pkts>53 pps</eth_outrate1_summary_pkts>                                            
         <eth_load_interval2_rx>300</eth_load_interval2_rx>                                                       
         <eth_inrate2_bits>225280</eth_inrate2_bits>                                                              
         <eth_inrate2_pkts>51</eth_inrate2_pkts>                                                                  
         <eth_load_interval2_tx>300</eth_load_interval2_tx>                                                       
         <eth_outrate2_bits>225584</eth_outrate2_bits>                                                            
         <eth_outrate2_pkts>51</eth_outrate2_pkts>                                                                
         <eth_inrate2_summary_bits>225.28 Kbps</eth_inrate2_summary_bits>                                         
         <eth_inrate2_summary_pkts>51 pps</eth_inrate2_summary_pkts>                                              
         <eth_outrate2_summary_bits>225.58 Kbps</eth_outrate2_summary_bits>                                       
         <eth_outrate2_summary_pkts>51 pps</eth_outrate2_summary_pkts>                                            
         <eth_inucast>39191864</eth_inucast>                                                                      
         <eth_inmcast>58800</eth_inmcast>                                                                         
         <eth_inbcast>0</eth_inbcast>                                                                             
         <eth_inpkts>39241260</eth_inpkts>                                                                        
         <eth_inbytes>19917966991</eth_inbytes>
         <eth_jumbo_inpkts>0</eth_jumbo_inpkts>
         <eth_storm_supp>0</eth_storm_supp>
         <eth_runts>0</eth_runts>
         <eth_giants>0</eth_giants>
         <eth_crc>0</eth_crc>
         <eth_nobuf>0</eth_nobuf>
         <eth_inerr>0</eth_inerr>
         <eth_frame>0</eth_frame>
         <eth_overrun>0</eth_overrun>
         <eth_underrun>0</eth_underrun>
         <eth_ignored>0</eth_ignored>
         <eth_watchdog>0</eth_watchdog>
         <eth_bad_eth>0</eth_bad_eth>
         <eth_bad_proto>0</eth_bad_proto>
         <eth_in_ifdown_drops>0</eth_in_ifdown_drops>
         <eth_dribble>0</eth_dribble>
         <eth_indiscard>0</eth_indiscard>
         <eth_inpause>0</eth_inpause>
         <eth_outucast>39195618</eth_outucast>
         <eth_outmcast>411456</eth_outmcast>
         <eth_outbcast>0</eth_outbcast>
         <eth_outpkts>39597670</eth_outpkts>
         <eth_outbytes>19942209730</eth_outbytes>
         <eth_jumbo_outpkts>0</eth_jumbo_outpkts>
         <eth_outerr>0</eth_outerr>
         <eth_coll>0</eth_coll>
         <eth_deferred>0</eth_deferred>
         <eth_latecoll>0</eth_latecoll>
         <eth_lostcarrier>0</eth_lostcarrier>
         <eth_nocarrier>0</eth_nocarrier>
         <eth_babbles>0</eth_babbles>
         <eth_outdiscard>0</eth_outdiscard>
         <eth_outpause>0</eth_outpause>
         <eth_admin_fec_state>auto</eth_admin_fec_state>
         <eth_oper_fec_state>auto</eth_oper_fec_state>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_if_eth___readonly__>
    </__XML__INTF_ifeth>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface ethernet 10/25-27**

switch# show interface ethernet 10/25-27
Ethernet10/25 is up                         
admin state is up, Dedicated Interface      
  Belongs to Po700                          
  Hardware: 100000 Ethernet, address: 247e.120a.4bc4 (bia 247e.120a.4bc4)
  MTU 1500 bytes, BW 100000000 Kbit, DLY 10 usec                         
  reliability 255/255, txload 1/255, rxload 1/255                        
  Encapsulation ARPA, medium is broadcast                                
  Port mode is trunk                                                     
  full-duplex, 100 Gb/s, media type is 100G                              
  Beacon is turned off                                                   
  Auto-Negotiation is turned on                                          
  Input flow-control is off, output flow-control is off                  
  Auto-mdix is turned off                                                
  Rate mode is dedicated                                                 
  Switchport monitor is off                                              
  EtherType is 0x8100                                                    
  EEE (efficient-ethernet) : n/a                                         
  Last link flapped 1week(s) 1day(s)                                     
  Last clearing of "show interface" counters never                       
  1 interface resets                                                     
  Load-Interval #1: 30 seconds                                           
    30 seconds input rate 2501008 bits/sec, 607 packets/sec              
    30 seconds output rate 2509920 bits/sec, 612 packets/sec             
    input rate 2.50 Mbps, 607 pps; output rate 2.51 Mbps, 612 pps        
  Load-Interval #2: 5 minute (300 seconds)                               
    300 seconds input rate 2502672 bits/sec, 586 packets/sec             
    300 seconds output rate 2510176 bits/sec, 585 packets/sec            
    input rate 2.50 Mbps, 586 pps; output rate 2.51 Mbps, 585 pps        
  RX                                                                     
    430991850 unicast packets  58868 multicast packets  0 broadcast packets
    431041314 input packets  220676304735 bytes                            
    0 jumbo packets  0 storm suppression packets                           
    0 runts  0 giants  0 CRC/FCS  0 no buffer                              
    0 input error  0 short frame  0 overrun   0 underrun  0 ignored        
    0 watchdog  0 bad etype drop  0 bad proto drop  0 if down drop         
    0 input with dribble  0 input discard                                  
    0 Rx pause                                                             
  TX                                                                       
    431059656 unicast packets  3938127 multicast packets  0 broadcast packets
    434988379 output packets  220990094370 bytes                             
    0 jumbo packets                                                          
    0 output error  0 collision  0 deferred  0 late collision                
    0 lost carrier  0 no carrier  0 babble  0 output discard                 
    0 Tx pause                                                               
    admin fec state is auto, oper fec state is auto                          

Ethernet10/26 is up admin state is up, Dedicated Interface Hardware: 100000 Ethernet, address: 247e.120a.4bc8 (bia 247e.120a.4bc8) Description: "connected to Spirent 172.22.199.201 port 2/5 - 100G"
MTU 1500 bytes, BW 100000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, medium is broadcast
Port mode is trunk
full-duplex, 100 Gb/s, media type is 100G
Beacon is turned off
Auto-Negotiation is turned on
Input flow-control is off, output flow-control is off
Auto-mdix is turned off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
EEE (efficient-ethernet) : n/a
Last link flapped 1week(s) 1day(s)
Last clearing of "show interface" counters never
1 interface resets
Load-Interval #1: 30 seconds
30 seconds input rate 8191808 bits/sec, 2001 packets/sec
30 seconds output rate 8192256 bits/sec, 2000 packets/sec
input rate 8.19 Mbps, 2.00 Kpps; output rate 8.19 Mbps, 2.00 Kpps
Load-Interval #2: 5 minute (300 seconds)
300 seconds input rate 8195728 bits/sec, 1977 packets/sec
300 seconds output rate 8196296 bits/sec, 1977 packets/sec
input rate 8.19 Mbps, 1.98 Kpps; output rate 8.20 Mbps, 1.98 Kpps
RX
1410800075 unicast packets 0 multicast packets 0 broadcast packets 1410790682 input packets 722324875712 bytes
0 jumbo packets 0 storm suppression packets
0 runts 0 giants 0 CRC/FCS 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
1410494872 unicast packets 35281 multicast packets 0 broadcast packets 1410520756 output packets 722180593824 bytes
0 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause
admin fec state is auto, oper fec state is auto

Ethernet10/27 is up admin state is up, Dedicated Interface Belongs to Po800 Hardware: 100000 Ethernet, address: 247e.120a.4bcc (bia 247e.120a.4bcc) MTU 1500 bytes, BW 100000000 Kbit, DLY 10 usec reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, medium is broadcast Port mode is access full-duplex, 100 Gb/s, media type is 100G Beacon is turned off Auto-Negotiation is turned on Input flow-control is off, output flow-control is off Auto-mdix is turned off Rate mode is dedicated Switchport monitor is off EtherType is 0x8100 EEE (efficient-ethernet) : n/a Last link flapped 1week(s) 1day(s) Last clearing of "show interface" counters never 1 interface resets Load-Interval #1: 30 seconds 30 seconds input rate 225480 bits/sec, 53 packets/sec 30 seconds output rate 226000 bits/sec, 53 packets/sec input rate 225.48 Kbps, 53 pps; output rate 226.00 Kbps, 53 pps Load-Interval #2: 5 minute (300 seconds) 300 seconds input rate 225400 bits/sec, 51 packets/sec 300 seconds output rate 225688 bits/sec, 51 packets/sec input rate 225.40 Kbps, 51 pps; output rate 225.69 Kbps, 51 pps RX 39189630 unicast packets 58795 multicast packets 0 broadcast packets 39239021 input packets 19916830990 bytes 0 jumbo packets 0 storm suppression packets 0 runts 0 giants 0 CRC/FCS 0 no buffer 0 input error 0 short frame 0 overrun 0 underrun 0 ignored 0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop 0 input with dribble 0 input discard 0 Rx pause TX 39193384 unicast packets 411431 multicast packets 0 broadcast packets 39595411 output packets 19941072469 bytes 0 jumbo packets 0 output error 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 babble 0 output discard 0 Tx pause admin fec state is auto, oper fec state is auto

show interface brief

show interface brief
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface brief",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                      
  "TABLE_interface": {                 
    "ROW_interface": [                 
      {                                
        "interface": "mgmt0",          
        "state": "up",                 
        "ip_addr": "172.22.199.43",    
        "speed": "1000",               
        "mtu": 1500                    
      },                               
      {                                
        "interface": "Ethernet2/33",   
        "vlan": "--",                  
        "type": "eth",                 
        "portmode": "routed",          
        "state": "down",               
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/34",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/35",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/36",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/37",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/38",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/39",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet2/40",          
        "vlan": "--",                         
        "type": "eth",                        
        "portmode": "routed",                 
        "state": "down",                      
        "state_rsn_desc": "SFP not inserted", 
        "speed": "auto",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet10/1",          
        "vlan": "1",                          
        "type": "eth",                        
        "portmode": "trunk",                  
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet10/2",          
        "vlan": "70",                         
        "type": "eth",                        
        "portmode": "access",                 
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D",                      
        "portchan": 128                       
      },                                      
      {                                       
        "interface": "Ethernet10/3",          
        "vlan": "1",                          
        "type": "eth",                        
        "portmode": "trunk",                  
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D",                      
        "portchan": 256                       
      },                                      
      {                                       
        "interface": "Ethernet10/10",         
        "vlan": "10",                         
        "type": "eth",                        
        "portmode": "access",                 
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet10/11",         
        "vlan": "70",                         
        "type": "eth",                        
        "portmode": "access",                 
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D",                      
        "portchan": 128                       
      },                                      
      {                                       
        "interface": "Ethernet10/12",         
        "vlan": "1",                          
        "type": "eth",                        
        "portmode": "trunk",                  
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D",                      
        "portchan": 256                       
      },                                      
      {                                       
        "interface": "Ethernet10/25",         
        "vlan": "1",                          
        "type": "eth",                        
        "portmode": "trunk",                  
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D",                      
        "portchan": 700                       
      },                                      
      {                                       
        "interface": "Ethernet10/26",         
        "vlan": "1",                          
        "type": "eth",                        
        "portmode": "trunk",                  
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D"                       
      },                                      
      {                                       
        "interface": "Ethernet10/27",         
        "vlan": "40",                         
        "type": "eth",                        
        "portmode": "access",                 
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "100G",                      
        "ratemode": "D",                      
        "portchan": 800                       
      },                                      
      {                                       
        "interface": "port-channel128",       
        "vlan": "70",                         
        "type": "eth",                        
        "portmode": "access",                 
        "state": "up",                        
        "state_rsn_desc": "none",             
        "speed": "a-100G",
        "ratemode": "D",
        "proto": "lacp"
      },
      {
        "interface": "port-channel256",
        "vlan": "1",
        "type": "eth",
        "portmode": "trunk",
        "state": "up",
        "state_rsn_desc": "none",
        "speed": "a-100G",
        "ratemode": "D",
        "proto": "lacp"
      },
      {
        "interface": "port-channel700",
        "vlan": "1",
        "type": "eth",
        "portmode": "trunk",
        "state": "up",
        "state_rsn_desc": "none",
        "speed": "a-100G",
        "ratemode": "D",
        "proto": "lacp"
      },
      {
        "interface": "port-channel800",
        "vlan": "40",
        "type": "eth",
        "portmode": "access",
        "state": "up",
        "state_rsn_desc": "none",
        "speed": "a-100G",
        "ratemode": "D",
        "proto": "lacp"
      },
      {
        "interface": "Vlan1",
        "type": "svi",
        "oper_state": "down",
        "svi_rsn_desc": "Administratively down"
      }
    ]
  }
}
switch# show interface brief | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                     
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <__XML__OPT_Cmd_show_interface_brief___readonly__>                                                            
     <__readonly__>                                                                                               
      <TABLE_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>mgmt0</interface>                                                                              
        <state>up</state>                                                                                         
        <ip_addr>172.22.199.43</ip_addr>                                                                          
        <speed>1000</speed>                                                                                       
        <mtu>1500</mtu>                                                                                           
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/33</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/34</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/35</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/36</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/37</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/38</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/39</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet2/40</interface>                                                                       
        <vlan>--</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>routed</portmode>                                                                               
        <state>down</state>                                                                                       
        <state_rsn_desc>SFP not inserted</state_rsn_desc>                                                         
        <speed>auto</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/1</interface>                                                                       
        <vlan>1</vlan>                                                                                            
        <type>eth</type>                                                                                          
        <portmode>trunk</portmode>                                                                                
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/2</interface>                                                                       
        <vlan>70</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>access</portmode>                                                                               
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
        <portchan>128</portchan>                                                                                  
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/3</interface>                                                                       
        <vlan>1</vlan>                                                                                            
        <type>eth</type>                                                                                          
        <portmode>trunk</portmode>                                                                                
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
        <portchan>256</portchan>                                                                                  
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/10</interface>                                                                      
        <vlan>10</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>access</portmode>                                                                               
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/11</interface>                                                                      
        <vlan>70</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>access</portmode>                                                                               
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
        <portchan>128</portchan>                                                                                  
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/12</interface>                                                                      
        <vlan>1</vlan>                                                                                            
        <type>eth</type>                                                                                          
        <portmode>trunk</portmode>                                                                                
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
        <portchan>256</portchan>                                                                                  
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/25</interface>                                                                      
        <vlan>1</vlan>                                                                                            
        <type>eth</type>                                                                                          
        <portmode>trunk</portmode>                                                                                
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
        <portchan>700</portchan>                                                                                  
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/26</interface>                                                                      
        <vlan>1</vlan>                                                                                            
        <type>eth</type>                                                                                          
        <portmode>trunk</portmode>                                                                                
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>Ethernet10/27</interface>                                                                      
        <vlan>40</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>access</portmode>                                                                               
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>100G</speed>                                                                                       
        <ratemode>D</ratemode>                                                                                    
        <portchan>800</portchan>                                                                                  
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>port-channel128</interface>                                                                    
        <vlan>70</vlan>                                                                                           
        <type>eth</type>                                                                                          
        <portmode>access</portmode>                                                                               
        <state>up</state>                                                                                         
        <state_rsn_desc>none</state_rsn_desc>                                                                     
        <speed>a-100G</speed>                                                                                     
        <ratemode>D</ratemode>                                                                                    
        <proto>lacp</proto>                                                                                       
       </ROW_interface>                                                                                           
       <ROW_interface>                                                                                            
        <interface>port-channel256</interface>
        <vlan>1</vlan>
        <type>eth</type>
        <portmode>trunk</portmode>
        <state>up</state>
        <state_rsn_desc>none</state_rsn_desc>
        <speed>a-100G</speed>
        <ratemode>D</ratemode>
        <proto>lacp</proto>
       </ROW_interface>
       <ROW_interface>
        <interface>port-channel700</interface>
        <vlan>1</vlan>
        <type>eth</type>
        <portmode>trunk</portmode>
        <state>up</state>
        <state_rsn_desc>none</state_rsn_desc>
        <speed>a-100G</speed>
        <ratemode>D</ratemode>
        <proto>lacp</proto>
       </ROW_interface>
       <ROW_interface>
        <interface>port-channel800</interface>
        <vlan>40</vlan>
        <type>eth</type>
        <portmode>access</portmode>
        <state>up</state>
        <state_rsn_desc>none</state_rsn_desc>
        <speed>a-100G</speed>
        <ratemode>D</ratemode>
        <proto>lacp</proto>
       </ROW_interface>
       <ROW_interface>
        <interface>Vlan1</interface>
        <type>svi</type>
        <oper_state>down</oper_state>
        <svi_rsn_desc>Administratively down</svi_rsn_desc>
       </ROW_interface>
      </TABLE_interface>
     </__readonly__>
    </__XML__OPT_Cmd_show_interface_brief___readonly__>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface brief**

switch# show interface brief


Port VRF Status IP Address Speed MTU

mgmt0 -- up 172.22.199.43 1000 1500


Ethernet VLAN Type Mode Status Reason Speed Port Interface Ch #

Eth2/33 -- eth routed down SFP not inserted auto(D) -- Eth2/34 -- eth routed down SFP not inserted auto(D) -- Eth2/35 -- eth routed down SFP not inserted auto(D) -- Eth2/36 -- eth routed down SFP not inserted auto(D) -- Eth2/37 -- eth routed down SFP not inserted auto(D) -- Eth2/38 -- eth routed down SFP not inserted auto(D) -- Eth2/39 -- eth routed down SFP not inserted auto(D) -- Eth2/40 -- eth routed down SFP not inserted auto(D) -- Eth10/1 1 eth trunk up none 100G(D) -- Eth10/2 70 eth access up none 100G(D) 128 Eth10/3 1 eth trunk up none 100G(D) 256 Eth10/10 10 eth access up none 100G(D) -- Eth10/11 70 eth access up none 100G(D) 128 Eth10/12 1 eth trunk up none 100G(D) 256 Eth10/25 1 eth trunk up none 100G(D) 700 Eth10/26 1 eth trunk up none 100G(D) -- Eth10/27 40 eth access up none 100G(D) 800


Port-channel VLAN Type Mode Status Reason Speed Protocol Interface

Po128 70 eth access up none a-100G(D) lacp Po256 1 eth trunk up none a-100G(D) lacp Po700 1 eth trunk up none a-100G(D) lacp Po800 40 eth access up none a-100G(D) lacp


Interface Secondary VLAN(Type) Status Reason

Vlan1 -- down Administratively down

show interface capabilities

show interface capabilities
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface capabilities",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                              
  "TABLE_interface": {                         
    "ROW_interface": [                         
      {                                        
        "interface": "Ethernet2/33",           
        "model": "N77-F348XP-23",              
        "type": "10Gbase-(unknown)",           
        "speed": "1000,10000",                 
        "duplex": "full",                      
        "trunk_encap": "802.1Q",               
        "dce_capable": "yes",                  
        "channel": "yes",                      
        "bcast_supp": "percentage(0-100)",     
        "flo_ctrl": "rx-(off/on),tx-(off/on)", 
        "rate_mode": "dedicated",              
        "port_mode": "Routed,Switched",        
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {                                                                                                                                            
        "interface": "Ethernet2/34",                                                                                                               
        "model": "N77-F348XP-23",                                                                                                                  
        "type": "10Gbase-(unknown)",                                                                                                               
        "speed": "1000,10000",                                                                                                                     
        "duplex": "full",                                                                                                                          
        "trunk_encap": "802.1Q",                                                                                                                   
        "dce_capable": "yes",                                                                                                                      
        "channel": "yes",                                                                                                                          
        "bcast_supp": "percentage(0-100)",                                                                                                         
        "flo_ctrl": "rx-(off/on),tx-(off/on)",                                                                                                     
        "rate_mode": "dedicated",                                                                                                                  
        "port_mode": "Routed,Switched",                                                                                                            
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {                                                                                                                                            
        "interface": "Ethernet2/35",                                                                                                               
        "model": "N77-F348XP-23",                                                                                                                  
        "type": "10Gbase-(unknown)",                                                                                                               
        "speed": "1000,10000",                                                                                                                     
        "duplex": "full",                                                                                                                          
        "trunk_encap": "802.1Q",                                                                                                                   
        "dce_capable": "yes",                                                                                                                      
        "channel": "yes",                                                                                                                          
        "bcast_supp": "percentage(0-100)",                                                                                                         
        "flo_ctrl": "rx-(off/on),tx-(off/on)",                                                                                                     
        "rate_mode": "dedicated",                                                                                                                  
        "port_mode": "Routed,Switched",                                                                                                            
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {                                                                                                                                            
        "interface": "Ethernet2/36",                                                                                                               
        "model": "N77-F348XP-23",                                                                                                                  
        "type": "10Gbase-(unknown)",                                                                                                               
        "speed": "1000,10000",                                                                                                                     
        "duplex": "full",                                                                                                                          
        "trunk_encap": "802.1Q",                                                                                                                   
        "dce_capable": "yes",                                                                                                                      
        "channel": "yes",                                                                                                                          
        "bcast_supp": "percentage(0-100)",                                                                                                         
        "flo_ctrl": "rx-(off/on),tx-(off/on)",                                                                                                     
        "rate_mode": "dedicated",                                                                                                                  
        "port_mode": "Routed,Switched",                                                                                                            
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {                                                                                                                                            
        "interface": "Ethernet2/37",                                                                                                               
        "model": "N77-F348XP-23",                                                                                                                  
        "type": "10Gbase-(unknown)",                                                                                                               
        "speed": "1000,10000",                                                                                                                     
        "duplex": "full",                                                                                                                          
        "trunk_encap": "802.1Q",                                                                                                                   
        "dce_capable": "yes",                                                                                                                      
        "channel": "yes",                                                                                                                          
        "bcast_supp": "percentage(0-100)",                                                                                                         
        "flo_ctrl": "rx-(off/on),tx-(off/on)",                                                                                                     
        "rate_mode": "dedicated",                                                                                                                  
        "port_mode": "Routed,Switched",                                                                                                            
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {                                                                                                                                            
        "interface": "Ethernet2/38",                                                                                                               
        "model": "N77-F348XP-23",                                                                                                                  
        "type": "10Gbase-(unknown)",                                                                                                               
        "speed": "1000,10000",                                                                                                                     
        "duplex": "full",                                                                                                                          
        "trunk_encap": "802.1Q",                                                                                                                   
        "dce_capable": "yes",                                                                                                                      
        "channel": "yes",                                                                                                                          
        "bcast_supp": "percentage(0-100)",                                                                                                         
        "flo_ctrl": "rx-(off/on),tx-(off/on)",                                                                                                     
        "rate_mode": "dedicated",                                                                                                                  
        "port_mode": "Routed,Switched",                                                                                                            
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {
        "interface": "Ethernet2/39", 
        "model": "N77-F348XP-23",    
        "type": "10Gbase-(unknown)", 
        "speed": "1000,10000",       
        "duplex": "full",            
        "trunk_encap": "802.1Q",     
        "dce_capable": "yes",        
        "channel": "yes",            
        "bcast_supp": "percentage(0-100)", 
        "flo_ctrl": "rx-(off/on),tx-(off/on)", 
        "rate_mode": "dedicated",              
        "port_mode": "Routed,Switched",        
        "qos_scheduling": "rx-(4q1t),tx-(1p7q1t)\n                         rx-(4q1t),tx-(3p5q1t)\n                         rx-(4q1t),tx-(2p6q1t)", 
        "cos_rewrite": "yes",                                                                                                                      
        "tos_rewrite": "yes",                                                                                                                      
        "span": "yes",                                                                                                                             
        "udld": "yes",                                                                                                                             
        "mdix": "yes",                                                                                                                             
        "tdr": "no",                                                                                                                               
        "lnk_debounce": "yes",                                                                                                                     
        "lnk_debounce_time": "yes",                                                                                                                
        "fex_fabric": "yes",                                                                                                                       
        "dot1q_tunnel": "yes",                                                                                                                     
        "efp": "yes",                                                                                                                              
        "num_rewrites_allowed": "104",                                                                                                             
        "pvlan_trunk_mode": "yes",                                                                                                                 
        "port_group_members": "33-40",                                                                                                             
        "eee_capable": "no",                                                                                                                       
        "pfc_capable": "yes",                                                                                                                      
        "bkout_capable": "no",                                                                                                                     
        "lnk_up_debounce": "yes",                                                                                                                  
        "fec_capable": "no"                                                                                                                        
      },                                                                                                                                           
      {                                                                    
switch# show interface capabilities | xml
<?xml version="1.0" encoding="ISO-8859-1"?>   
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <capabilities>                                                                                                
     <__XML__OPT_Cmd_show_interface_capabilities___readonly__>                                                    
      <__readonly__>                                                                                              
       <TABLE_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/33</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/34</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/35</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/36</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/37</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/38</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/39</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               
         <fex_fabric>yes</fex_fabric>                                                                             
         <dot1q_tunnel>yes</dot1q_tunnel>                                                                         
         <efp>yes</efp>                                                                                           
         <num_rewrites_allowed>104</num_rewrites_allowed>                                                         
         <pvlan_trunk_mode>yes</pvlan_trunk_mode>                                                                 
         <port_group_members>33-40</port_group_members>                                                           
         <eee_capable>no</eee_capable>                                                                            
         <pfc_capable>yes</pfc_capable>                                                                           
         <bkout_capable>no</bkout_capable>                                                                        
         <lnk_up_debounce>yes</lnk_up_debounce>                                                                   
         <fec_capable>no</fec_capable>                                                                            
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/40</interface>                                                                      
         <model>N77-F348XP-23</model>                                                                             
         <type>10Gbase-(unknown)</type>                                                                           
         <speed>1000,10000</speed>                                                                                
         <duplex>full</duplex>                                                                                    
         <trunk_encap>802.1Q</trunk_encap>                                                                        
         <dce_capable>yes</dce_capable>                                                                           
         <channel>yes</channel>                                                                                   
         <bcast_supp>percentage(0-100)</bcast_supp>                                                               
         <flo_ctrl>rx-(off/on),tx-(off/on)</flo_ctrl>                                                             
         <rate_mode>dedicated</rate_mode>                                                                         
         <port_mode>Routed,Switched</port_mode>                                                                   
         <qos_scheduling>rx-(4q1t),tx-(1p7q1t)                                                                    
                         rx-(4q1t),tx-(3p5q1t)                                                                    
                         rx-(4q1t),tx-(2p6q1t)</qos_scheduling>                                                   
         <cos_rewrite>yes</cos_rewrite>                                                                           
         <tos_rewrite>yes</tos_rewrite>                                                                           
         <span>yes</span>                                                                                         
         <udld>yes</udld>                                                                                         
         <mdix>yes</mdix>                                                                                         
         <tdr>no</tdr>                                                                                            
         <lnk_debounce>yes</lnk_debounce>                                                                         
         <lnk_debounce_time>yes</lnk_debounce_time>                                                               

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface capabilities**

switch# show interface capabilities
Ethernet2/33                            
  Model:                 N77-F348XP-23  
  Type (SFP capable):    10Gbase-(unknown)
  Speed:                 1000,10000       
  Duplex:                full             
  Trunk encap. type:     802.1Q           
  FabricPath capable:    yes              
  Channel:               yes              
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off/on),tx-(off/on)
  Rate mode:             dedicated              
  Port mode:             Routed,Switched        
  QOS scheduling:        rx-(4q1t),tx-(1p7q1t)  
                         rx-(4q1t),tx-(3p5q1t)  
                         rx-(4q1t),tx-(2p6q1t)  
  CoS rewrite:           yes                    
  ToS rewrite:           yes                    
  SPAN:                  yes                    
  UDLD:                  yes                    
  MDIX:                  yes                    
  TDR capable:           no                     
  Link Debounce:         yes                    
  Link Debounce Time:    yes                    
  FEX Fabric:            yes                    
  dot1Q-tunnel mode:     yes                    
  EFP:                   yes                    
  Num Rewrites Allowed:  104                    
  Pvlan Trunk capable:   yes                    
  Port Group Members:    33-40                  
  EEE (efficient-eth):   no                     
  PFC capable:           yes                    
  Breakout capable:      no                     
  Link Up Debounce:      yes                    
  FEC capable:           no                     

Ethernet2/34 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet2/35 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet2/36 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet2/37 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet2/38 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet2/39 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet2/40 Model: N77-F348XP-23 Type (SFP capable): 10Gbase-(unknown) Speed: 1000,10000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: yes
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: yes
dot1Q-tunnel mode: yes
EFP: yes
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 33-40
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: yes
FEC capable: no

Ethernet10/1 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 1-3
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/2 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 1-3
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/3 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 1-3
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/10 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 10-12
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/11 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 10-12
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/12 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 10-12
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/25 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 25-27
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/26 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 25-27
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

Ethernet10/27 Model: N77-F430CQ-36 Type (SFP capable): QSFP-100G-AOC Speed: 100000
Duplex: full
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: dedicated
Port mode: Routed,Switched
QOS scheduling: rx-(4q1t),tx-(1p7q1t)
rx-(4q1t),tx-(3p5q1t)
rx-(4q1t),tx-(2p6q1t)
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: yes
MDIX: no
TDR capable: no
Link Debounce: yes
Link Debounce Time: yes
FEX Fabric: no
dot1Q-tunnel mode: yes
EFP: no
Num Rewrites Allowed: 104
Pvlan Trunk capable: yes
Port Group Members: 25-27
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: yes

port-channel128 Model: unavailable Type (Non SFP): unknown
Speed: 10,100,1000,10000,40000,100000,auto Duplex: half/full/auto
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100)
Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) Rate mode: none
Port mode: Unknown
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: no
MDIX: no
TDR capable: no
Link Debounce: no
Link Debounce Time: no
FEX Fabric: no
dot1Q-tunnel mode: no
EFP: no
Num Rewrites Allowed: 0
Pvlan Trunk capable: no
Port Group Members: none
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: no

port-channel256 Model: unavailable Type (Non SFP): unknown
Speed: 10,100,1000,10000,40000,100000,auto Duplex: half/full/auto
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100)
Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) Rate mode: none
Port mode: Unknown
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: no
MDIX: no
TDR capable: no
Link Debounce: no
Link Debounce Time: no
FEX Fabric: no
dot1Q-tunnel mode: no
EFP: no
Num Rewrites Allowed: 0
Pvlan Trunk capable: no
Port Group Members: none
EEE (efficient-eth): no
PFC capable: yes
Breakout capable: no
Link Up Debounce: no
FEC capable: no

port-channel700 Model: unavailable Type (Non SFP): unknown
Speed: 10,100,1000,10000,40000,100000,auto Duplex: half/full/auto
Trunk encap. type: 802.1Q
FabricPath capable: yes
Channel: yes
Broadcast suppression: percentage(0-100)
Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) Rate mode: none
Port mode: Unknown
CoS rewrite: yes
ToS rewrite: yes
SPAN: yes
UDLD: no
MDIX: no
TDR capable: no
Link Debounce: no
Link Debounce Time: no
FEX Fabric: no
dot1Q-tunnel mode: no
EFP: no
Num Rewrites Allowed: 0
Pvlan Trunk capable: no Port Group Members: none EEE (efficient-eth): no PFC capable: yes Breakout capable: no Link Up Debounce: no FEC capable: no

port-channel800 Model: unavailable Type (Non SFP): unknown Speed: 10,100,1000,10000,40000,100000,auto Duplex: half/full/auto Trunk encap. type: 802.1Q FabricPath capable: yes Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) Rate mode: none Port mode: Unknown CoS rewrite: yes ToS rewrite: yes SPAN: yes UDLD: no MDIX: no TDR capable: no Link Debounce: no

show interface debounce

show interface debounce
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface debounce",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                         
  "TABLE_interface": {                    
    "ROW_interface": [                    
      {                                   
        "interface": "Ethernet2/33",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/34",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/35",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/36",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/37",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/38",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/39",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet2/40",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet10/1",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet10/2",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },                                  
      {                                   
        "interface": "Ethernet10/3",      
        "debounce": "enable",             
        "debounce_val": 100,              
        "debounce_link_up": "disable",    
        "debounce_time_val": 0            
      },
      {
        "interface": "Ethernet10/10",
        "debounce": "enable",
        "debounce_val": 100,
        "debounce_link_up": "disable",
        "debounce_time_val": 0
      },
      {
        "interface": "Ethernet10/11",
        "debounce": "enable",
        "debounce_val": 100,
        "debounce_link_up": "disable",
        "debounce_time_val": 0
      },
      {
        "interface": "Ethernet10/12",
        "debounce": "enable",
        "debounce_val": 100,
        "debounce_link_up": "disable",
        "debounce_time_val": 0
      },
      {
        "interface": "Ethernet10/25",
        "debounce": "enable",
        "debounce_val": 100,
        "debounce_link_up": "disable",
        "debounce_time_val": 0
      },
      {
        "interface": "Ethernet10/26",
        "debounce": "enable",
        "debounce_val": 100,
        "debounce_link_up": "disable",
        "debounce_time_val": 0
      },
      {
        "interface": "Ethernet10/27",
        "debounce": "enable",
        "debounce_val": 100,
        "debounce_link_up": "disable",
        "debounce_time_val": 0
      }
    ]
  }
}
switch# show interface debounce | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                     
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <debounce>                                                                                                    
     <__XML__OPT_Cmd_show_interface_debounce___readonly__>                                                        
      <__readonly__>                                                                                              
       <TABLE_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/33</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/34</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/35</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/36</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/37</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/38</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/39</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/40</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/1</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/2</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/3</interface>                                                                      
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>                                                                 
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/10</interface>                                                                     
         <debounce>enable</debounce>                                                                              
         <debounce_val>100</debounce_val>                                                                         
         <debounce_link_up>disable</debounce_link_up>                                                             
         <debounce_time_val>0</debounce_time_val>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/11</interface>
         <debounce>enable</debounce>
         <debounce_val>100</debounce_val>
         <debounce_link_up>disable</debounce_link_up>
         <debounce_time_val>0</debounce_time_val>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/12</interface>
         <debounce>enable</debounce>
         <debounce_val>100</debounce_val>
         <debounce_link_up>disable</debounce_link_up>
         <debounce_time_val>0</debounce_time_val>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/25</interface>
         <debounce>enable</debounce>
         <debounce_val>100</debounce_val>
         <debounce_link_up>disable</debounce_link_up>
         <debounce_time_val>0</debounce_time_val>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/26</interface>
         <debounce>enable</debounce>
         <debounce_val>100</debounce_val>
         <debounce_link_up>disable</debounce_link_up>
         <debounce_time_val>0</debounce_time_val>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/27</interface>
         <debounce>enable</debounce>
         <debounce_val>100</debounce_val>
         <debounce_link_up>disable</debounce_link_up>
         <debounce_time_val>0</debounce_time_val>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_debounce___readonly__>
    </debounce>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface debounce**

switch# show interface debounce


Eth2/33 enable 100 disable 0 Eth2/34 enable 100 disable 0 Eth2/35 enable 100 disable 0 Eth2/36 enable 100 disable 0 Eth2/37 enable 100 disable 0 Eth2/38 enable 100 disable 0 Eth2/39 enable 100 disable 0 Eth2/40 enable 100 disable 0 Eth10/1 enable 100 disable 0 Eth10/2 enable 100 disable 0 Eth10/3 enable 100 disable 0 Eth10/10 enable 100 disable 0 Eth10/11 enable 100 disable 0 Eth10/12 enable 100 disable 0 Eth10/25 enable 100 disable 0 Eth10/26 enable 100 disable 0 Eth10/27 enable 100 disable 0

show interface description

show interface description
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show interface description",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                            
  "TABLE_interface": {                       
    "ROW_interface": [                       
      {                                      
        "interface": "mgmt0",                
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/33",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/34",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/35",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/36",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/37",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/38",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/39",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet2/40",         
        "type": "eth",                       
        "speed": "10G",                      
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet10/1",         
        "type": "eth",                       
        "speed": "100G",                     
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet10/2",         
        "type": "eth",                       
        "speed": "100G",                     
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet10/3",         
        "type": "eth",                       
        "speed": "100G",                     
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet10/10",        
        "type": "eth",                       
        "speed": "100G",                     
        "desc": "--"                         
      },                                     
      {                                      
        "interface": "Ethernet10/11",        
        "type": "eth",                       
        "speed": "100G",                     
        "desc": "--"                         
      },                                     
      {
        "interface": "Ethernet10/12",
        "type": "eth",
        "speed": "100G",
        "desc": "--"
      },
      {
        "interface": "Ethernet10/25",
        "type": "eth",
        "speed": "100G",
        "desc": "--"
      },
      {
        "interface": "Ethernet10/26",
        "type": "eth",
        "speed": "100G",
        "desc": "\"connected to Spirent 172.22.199.201 port 2/5 - 100G\""
      },
      {
        "interface": "Ethernet10/27",
        "type": "eth",
        "speed": "100G",
        "desc": "--"
      },
      {
        "interface": "port-channel128",
        "desc": "--"
      },
      {
        "interface": "port-channel256",
        "desc": "--"
      },
      {
        "interface": "port-channel700",
        "desc": "--"
      },
      {
        "interface": "port-channel800",
        "desc": "--"
      },
      {
        "interface": "Vlan1"
      }
    ]
  }
}
switch# show interface description | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                     
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                        
  <show>                                                                                                          
   <interface>                                                                                                    
    <description>                                                                                                 
     <__XML__OPT_Cmd_show_interface_description___readonly__>                                                     
      <__readonly__>                                                                                              
       <TABLE_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>mgmt0</interface>                                                                             
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/33</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/34</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/35</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/36</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/37</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/38</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/39</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet2/40</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>10G</speed>                                                                                       
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/1</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>100G</speed>                                                                                      
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/2</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>100G</speed>                                                                                      
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/3</interface>                                                                      
         <type>eth</type>                                                                                         
         <speed>100G</speed>                                                                                      
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/10</interface>                                                                     
         <type>eth</type>                                                                                         
         <speed>100G</speed>                                                                                      
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/11</interface>                                                                     
         <type>eth</type>                                                                                         
         <speed>100G</speed>                                                                                      
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>                                                                                           
         <interface>Ethernet10/12</interface>                                                                     
         <type>eth</type>                                                                                         
         <speed>100G</speed>                                                                                      
         <desc>--</desc>                                                                                          
        </ROW_interface>                                                                                          
        <ROW_interface>
         <interface>Ethernet10/25</interface>
         <type>eth</type>
         <speed>100G</speed>
         <desc>--</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/26</interface>
         <type>eth</type>
         <speed>100G</speed>
         <desc>&quot;connected to Spirent 172.22.199.201 port 2/5 - 100G&quot;</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>Ethernet10/27</interface>
         <type>eth</type>
         <speed>100G</speed>
         <desc>--</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>port-channel128</interface>
         <desc>--</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>port-channel256</interface>
         <desc>--</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>port-channel700</interface>
         <desc>--</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>port-channel800</interface>
         <desc>--</desc>
        </ROW_interface>
        <ROW_interface>
         <interface>Vlan1</interface>
        </ROW_interface>
       </TABLE_interface>
      </__readonly__>
     </__XML__OPT_Cmd_show_interface_description___readonly__>
    </description>
   </interface>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show interface description**

switch# show interface description


Interface Description

mgmt0 --


Port Type Speed Description

Eth2/33 eth 10G -- Eth2/34 eth 10G -- Eth2/35 eth 10G -- Eth2/36 eth 10G -- Eth2/37 eth 10G -- Eth2/38 eth 10G -- Eth2/39 eth 10G -- Eth2/40 eth 10G -- Eth10/1 eth 100G -- Eth10/2 eth 100G -- Eth10/3 eth 100G -- Eth10/10 eth 100G -- Eth10/11 eth 100G -- Eth10/12 eth 100G -- Eth10/25 eth 100G -- Eth10/26 eth 100G "connected to Spirent 172.22.199.201 port 2/5 - 100G" Eth10/27 eth 100G --


Interface Description

Po128 -- Po256 -- Po700 -- Po800 -- Vlan1 --