ethlinkanalysis(8)

πŸ“¦ version 12.1.0.1, in centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

✨ NAME ✨

ethlinkanalysis β€” bestie, this is the manual page for it, straight out of the EFSFFCLIRG docs πŸ’–

Okay so picture this: ethlinkanalysis is the whole entire package for link analysis. It also does cable and fabric topology verification β€” like, it checks that your cables and your fabric are actually doing what they said they'd do πŸŽ€

Here's the tea: this tool is built on top of ethreport and its analysis superpowers, and it takes the exact same syntax for input topology and snapshot files. So if you already know ethreport, you're basically home 🫢

And then β€” because it's an overachiever β€” besides running assorted ethreport link analysis reports and generating human-readable output, it also reads the results, figures out what's wrong, and appends a concise summary of issues found to the FF_RESULT_DIR/punchlist.csv file. Iconic behavior, no cap πŸ‘‘


πŸ¦‹ Syntax πŸ¦‹

ethlinkanalysis [-U] [-T  topology_inputs] [-X  snapshot_input] [-x
snapshot_suffix]

[-c  file] [-E  file] [-p  planes] [-f  host_files]  reports ...

🌸 Options 🌸

  • --help β€” gives you the full help text, every last word of it πŸ’…
  • -U β€” skips the unexpected devices and links in the punchlist file when you're running verify reports. Like, not today to the surprises πŸ™ˆ
  • -T topology_inputs β€” names of the topology input filenames, separated by a space. For the full lore on topology_input files, go read ethreport πŸ“š
  • -X snapshot_input β€” does the analysis using the data sitting in snapshot_input. Heads up tho: snapshot_input has to have been generated by a previous ethreport -o snapshot run, otherwise it's giving nothing 🫠
  • -x snapshot_suffix β€” makes a snapshot file for each selected plane. They land in FF_RESULT_DIR with names shaped like this: snapshotSUFFIX.<plane_name>.xml ✨
  • -c file β€” points to the error thresholds configuration file. The default is /etc/eth-tools/ethmon.si.conf πŸ“
  • -E file β€” the Ethernet Mgt configuration file. Default is /etc/eth-tools/mgt_config.xml πŸ’œ
  • -p planes β€” fabric planes, separated by a space. Default is the first enabled plane defined in the config file. And if you pass the value 'ALL', it uses all enabled planes 🌈
  • -f host_files β€” hosts files, separated by a space. This one overrides the HostsFiles defined in the Mgt config file for the corresponding planes. Pass the value 'DEFAULT' and it'll use the HostFile defined in the Mgt config file for the corresponding plane 🧚
  • reports β€” this is where you tell it what to actually do. It supports the following reports:
    • errors β€” specifies link error analysis.
    • slowlinks β€” specifies links that are running slower than expected 😭
    • misconfiglinks β€” specifies links that are configured to run slower than they're supported to run.
    • misconnlinks β€” specifies links that are connected with mismatched speed potential πŸ’€
    • all β€” includes the reports errors, slowlinks, misconfiglinks, and misconnlinks. The whole squad, together 🫢
    • verifylinks β€” verifies links against topology input.
    • verifyextlinks β€” verifies links against topology input. Limits the analysis to links external to systems.
    • verifyniclinks β€” verifies links against topology input. Limits the analysis to NIC links.
    • verifyislinks β€” verifies links against topology input. Limits the analysis to inter-switch links.
    • verifyextislinks β€” verifies links against topology input. Limits the analysis to inter-switch links external to systems.
    • verifynics β€” verifies NICs against topology input.
    • verifysws β€” verifies switches against topology input.
    • verifynodes β€” verifies NICs and switches against topology input.
    • verifyall β€” verifies links, NICs, and switches against topology input. Literally all of it πŸ‘‘

A punchlist of bad links also gets appended to the file: FF_RESULT_DIR/punchlist.csv

⚠️ Real talk: that punchlist file is where all the messy links get named and shamed. It's appended to, not rewritten, so check it before you assume it's fresh πŸ‘€

πŸ’… Examples πŸ’…

ethlinkanalysis errors

ethlinkanalysis slowlinks

ethlinkanalysis -p 'p1 p2' -f 'hosts1 DEFAULT' errors

And that's the whole page, bestie β€” go forth and analyze those links πŸ’–βœ¨

Copyright(C) 2020-2024 Intel Corporation β€” this page is ethlinkanalysis(8), from the EFSFFCLIRG (Man Page) family, and it said what it said. Slay πŸŽ€

πŸ“¦ where this page comes from