ethextractifids(8)
π ethextractifids π
okay bestie, so ethextractifids is a whole vibe β it spits out a CSV file listing all or some of the ifids in the fabric. that's it, that's the job. π
and the tea? it's a front end to the ethreport tool. so like, it's not doing the heavy lifting itself, it's just being cute and re-wrapping ethreport for you. the output can get imported into a spreadsheet π or parsed by other scripts π§ β flexible queen behavior honestly.
β¨ Syntax β¨
ethextractifids [ethreport options]
πΈ Options πΈ
--helpβ produces full help text. the classic. π«Ά
π ethreport options
so the following options get passed to ethreport. this little subset is what's considered typical and useful for this command. and lowkey important: by design, the tool ignores -o/--output report option. so don't come for it, it's intentional. periodt. π
-X/--infile_snapshot_input_ β generates a report using the data in the _snapshot_input_ file. and no cap, _snapshot_input_ must have been generated during a previous-o snapshotrun. you can also use-as the _snapshot_input_ to specify stdin. π-E/--eth_config_file_ β specifies the Ethernet management configuration file. default is the/etc/eth-tools/mgt_config.xmlfile. it's giving defaults are a love language. π-p_plane_ β specifies the name of the enabled plane defined in the Mgt config file. default is the first enabled plane. π-F/--focus_point_ β specifies the focus area for the report. used to limit the scope of the report. refer to Point Syntax for details (it's right below, don't worry bestie). π
π¦ Point Syntax π¦
this is the menu, bb. pick your fighter:
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 port 0.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 size 65535), omits switch mgmt port 0.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_.
π Examples π
list all the ifids in the fabric β the "just show me everything" era:
# List all the ifids in the fabric:
ethextractifids
list all the ifids of end-nodes β the "I'm being specific today" era:
# List all the ifids of end-nodes:
ethextractifids -F "nodetype:NIC"
ngl bestie, these commands are literally copy-paste-able. slay. π
okay and the little sign-off at the bottom, the legal girlypop moment: this page is Copyright(C) 2020-2024 Intel Corporation, and it's from the EFSFFCLIRG (Man Page) set β it lives as ethextractifids(8). π«Ά stan a documented tool. πβ¨
π¦ 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