ethreport(8)
π ethreport β the manual but make it a group chat π
Okay bestie, sit down, hydrate, because ethreport is that girl. She provides powerful fabric analysis and reporting capabilities and she absolutely ate. There's one rule though, and it's not negotiable: you have to run her on a host that is connected to the Intel(R) Ethernet Fabric with the Intel(R) Ethernet Fabric Suite FastFabric Toolset installed. No toolset, no vibes. Iykyk.
This page is ethreport(8) from EFSFFCLIRG (Man Page) β that's the family she runs with. π«Ά
πΈ NAME πΈ
ethreport β provides powerful fabric analysis and reporting capabilities. Must be run on a host connected to the Intel(R) Ethernet Fabric with the Intel(R) Ethernet Fabric Suite FastFabric Toolset installed.
π¦ Syntax π¦
ethreport [-v][-q] [--timeout] [-o report]
[-d detail] [-P|-H]
[-N] [-x] [-X snapshot_input] [-T topology_input]
[-s]
[-A] [-c file] [-L] [-F point] [-Q] [-E file] [-p plane] [-f hostfile]
β¨ OPTIONS β¨
Not me listing every single one. But I love her, so here we go β all of them, no skips, periodt.
--helpβ produces the full help text. The "hello, what do you do" button.-v,--verboseβ returns verbose output. More words, more detail, more tea. π-q,--quietβ disables progress reports. She's being mysterious, let her cook.--timeoutβ specifies the timeout (wait time for response) in ms. Default is1000ms.-o,--outputreport β specifies the report type for output. Go check Report Types for the deets. π-d,--detaillevel β specifies the level of detail0-nfor output. Default is2.-P,--persistβ only include data persistent across reboots. Like, the stuff that survives the drama.-H,--hardβ only include permanent hardware data. Hardware only, no software nonsense.-N,--nonameβ omits node.-x,--xmlβ produces output in XML.-X,--infilesnapshot_input β generates a report using the data in the snapshot_input file. snapshot_input must have been generated during a previous-o snapshotrun.-may be used as the snapshot_input to specify stdin.-T,--topologytopology_input β uses the topology_input file to augment and verify fabric information. When used, various reports can be augmented with information not available electronically.-may be used to specify stdin.-s,--statsβ get performance stats for all ports.-A,--allportsβ includes PortInfo for down switch ports. Yes, even the ones that are going through it. π-c,--configfile β specifies the error thresholds configuration file. Default is the/etc/eth-tools/ethmon.conffile.-E,--ethconfigfile β specifies the Ethernet Mgt config file. Default is the/etc/eth-tools/mgt_config.xmlfile.-pplane β specifies the name of the enabled plane defined in the Mgt config file. Default is the first enabled plane.-f,--hostfilefile β specifies the file with hosts in cluster. It overrides theHostsFilefor the selected plane that is defined in the Mgt config file.-L,--limitβ limits operation to exact specified focus with-Ffor port error counters check (-o errors). Normally, the neighbor of each selected port is also checked. Does not affect other reports. So like, mind the scope, bestie.-F,--focuspoint β specifies the focus area for report.
Limits output to reflect a subsection of the fabric. May not work with all reports. (For example, the verify* reports may ignore the option or not generate useful results.) π
-Q,--quietfocusβ excludes focus description from report.
π REPORT TYPES π
This is the menu, and honestly? Every item is a little iconic. Here's the whole thing:
compsβ summary of all systems in fabric.brcompsβ brief summary of all systems in fabric.nodesβ summary of all node types in fabric.brnodesβ brief summary of all node types in fabric.ifidsβ summary of all ifids in the fabric.linkinfoβ summary of all links with ifids in the fabric.linksβ summary of all links.extlinksβ summary of links external to systems.niclinksβ summary of links to NICs.islinksβ summary of inter-switch links.extislinksβ summary of inter-switch links external to systems.slowlinksβ summary of links running slower than expected.slowconfiglinksβ summary of links configured to run slower than supported, includesslowlinks.slowconnlinksβ summary of links connected with mismatched speed potential, includesslowconfiglinks.misconfiglinksβ summary of links configured to run slower than supported.misconnlinksβ summary of links connected with mismatched speed potential.errorsβ summary of links whose errors exceed counts in the configuration file.otherportsβ summary of ports not connected to this fabric.verifynicsβ compares fabric (or snapshot) NICs to supplied topology and identifies differences and omissions.verifyswsβ compares fabric (or snapshot) switches to supplied topology and identifies differences and omissions.verifynodesβ returnsverifynicsandverifyswsreports.verifylinksβ compares fabric (or snapshot) links to supplied topology and identifies differences and omissions.verifyextlinksβ compares fabric (or snapshot) links to supplied topology and identifies differences and omissions. Limits analysis to links external to systems.verifyniclinksβ compares fabric (or snapshot) links to supplied topology and identify differences and omissions. Limits analysis to links to NICs.verifyislinksβ compares fabric (or snapshot) links to supplied topology and identify differences and omissions. Limits analysis to inter-switch links.verifyextislinksβ compares fabric (or snapshot) links to supplied topology and identify differences and omissions. Limits analysis to inter-switch links external to systems.verifyallβ returnsverifynics,verifysws, andverifylinksreports.allβ returnscomps,nodes,links,extlinks,slowconnlinks, anderrorsreports.snapshotβ outputs snapshot of the fabric state for later use as snapshot_input. This implies-x. May not be combined with other reports. When selected,-Fand-Noptions are ignored. πtopologyβ outputs the topology of the fabric for later use as topology_input. This implies-x. May not be combined with other reports. Use with detail level3or more to get Port element under Node in output xml.fabricinfoβ outputs fabric information.noneβ outputs no report. She's giving nothing and honestly, valid.
π POINT SYNTAX π
This is how you point at exactly the thing you mean. Learn the shapes, bestie, they're all slightly different and that's on purpose. π₯
ifid:valueβ value is numeric ifid.ifid:value:nodeβ value is numeric ifid, selects node with given ifid.ifid:value:port:value2β value is numeric ifid of node, value2 is port number.ifid:value:portid:value2β value is numeric ifid of node, value2 is port id.mgmtifaddr:valueβ value is numeric port mgmtifaddr.ifaddr:valueβ value is numeric node ifaddr.ifaddr:value1:port:value2β value1 is numeric node ifaddr, value2 is port number.ifaddr:value1:portid:value2β value1 is numeric node ifaddr, value2 is port id.chassisid:valueβ value is numeric chassisid.chassisid:value1:port:value2β value1 is numeric chassisid, value2 is port number.chassisid:value1:portid:value2β value1 is numeric chassisid, value2 is port id.node:valueβ value is node description (node name).node:value1:port:value2β value1 is node description (node name), value2 is port number.node:value1:portid:value2β value1 is node description (node name), value2 is port id.nodepat:valueβ value is glob pattern for node description (node name).nodepat:value1:port:value2β value1 is the glob pattern for the node description (node name), value2 is port number.nodepat:value1:portid:value2β value1 is the glob pattern for the node description (node name), value2 is port id.nodedetpat:valueβ value is glob pattern for node details.nodedetpat:value1:port:value2β value1 is the glob pattern for the node details, value2 is port number.nodedetpat:value1:portid:value2β value1 is the glob pattern for the node details, value2 is port id.nodetype:valueβ value is node type (SWorNIC).nodetype:value1:port:value2β value1 is node type (SWorNIC), value2 is port number.nodetype:value1:portid:value2β value1 is node type (SWorNIC), value2 is port id.rate:valueβ value is string for rate (25g,50g,75g,100g), omits switch mgmt port0.portstate:valueβ value is a string for state (up,down,testing,unknown,dormant,notactive).portphysstate:valueβ value is a string for PHYs state (other,unknown,operational,standby,shutdown,reset).mtucap:valueβ value is MTU size (maximum size65535), omits switch mgmt port0.linkdetpat:valueβ value is glob pattern for link details.portdetpat:valueβ value is glob pattern for port details.nodepatfile:FILENAMEβ specifies the name of file with the list of nodepats or node descriptions.nodepairpatfile:FILENAMEβ specifies the name of file with the list of node pairs, separated by a colon.ldrβ specifies the ports with a non-zero link down reason or neighbor link down reason.ldr:valueβ specifies the ports with a link down reason or neighbor link down reason equal to value.
and bestieβ¦ there's more π
π EXAMPLES (aka the fun part) π
okay bestie, here's the thing β ethreport can spit out hundreds of different reports, which is lowkey iconic of it. but you don't need all of them. the ones people actually reach for, over and over, are these π«Ά
no cap, just copy, paste, and vibe:
ethreport -o comps -d 3
ethreport -o errors -o slowlinks
ethreport -o nodes -F mgmtifaddr:0x00066a00a000447b
ethreport -o nodes -F ifaddr:0x001175019800447b:port:1
ethreport -o nodes -F ifaddr:0x001175019800447b
ethreport -o nodes -F 'node:duster-eth2'
ethreport -o nodes -F 'node:duster-eth2:port:1'
ethreport -o nodes -F 'nodepat:d*'
ethreport -o nodes -F 'nodepat:d*:port:1'
ethreport -o nodes -F 'nodedetpat:compute*'
ethreport -o nodes -F 'nodedetpat:compute*:port:1'
ethreport -o nodes -F nodetype:NIC
ethreport -o nodes -F nodetype:NIC:port:1
ethreport -o nodes -F ifid:1
ethreport -o nodes -F ifid:1:node
ethreport -o nodes -F ifid:1:port:2
ethreport -o nodes -F chassisid:0x001175019800447b
ethreport -o nodes -F chassisid:0x001175019800447b:port:1
ethreport -o extlinks -F rate:100g
ethreport -o extlinks -F portstate:up
ethreport -o extlinks -F portphysstate:operational
ethreport -o extlinks -F 'portdetpat:*mgmt*'
ethreport -o links -F mtucap:2048
ethreport -o snapshot > file
ethreport -o topology > topology.xml
ethreport -o errors -X file
see how many of them are just -o nodes with a different filter hanging off the end?? it's giving "one braincell, infinite combos" and honestly? we respect it. π
reminder bestie: those quotes around the 'node:duster-eth2'-style filters are not decorative. some of these strings have characters your shell would happily eat for breakfast, so keep them wrapped. π₯
and that's the whole page, bestie β you made it to the end π the original footer on this one credits Copyright(C) 2020-2024 Intel Corporation and files it under section ethreport(8), so huge shoutout to Intel for the years 2020 through 2024 and to whoever decided this absolute baddie of a diagnostic tool needed a manual. periodt. πβ¨
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms