05-27-2018 10:14 AM - edited 03-01-2019 05:33 AM
Hello,
is there an easy way to extract fabric ports usage for capacity planning ?
thanks in advance
Solved! Go to Solution.
07-10-2018 11:34 AM - edited 07-10-2018 11:35 AM
Hi
You can query the ethpmPhysIf MO and check the "operSt"-attribut (up/down). For example via moquery to get all "down" interfaces:
moquery -c ethpmPhysIf -x 'query-target-filter=eq(ethpmPhysIf.operSt,"down") order-by=ethpmPhysIf.dn|asc' | egrep "dn|operSt\b"
Or check the l1PhysIf MO - all unused ports usually report a usage of "discovery":
moquery -c l1PhysIf -x 'query-target-filter=eq(l1PhysIf.usage,"discovery") order-by=l1PhysIf.dn|asc' | egrep "dn|discovery"
HTH
Marcel
07-10-2018 11:34 AM - edited 07-10-2018 11:35 AM
Hi
You can query the ethpmPhysIf MO and check the "operSt"-attribut (up/down). For example via moquery to get all "down" interfaces:
moquery -c ethpmPhysIf -x 'query-target-filter=eq(ethpmPhysIf.operSt,"down") order-by=ethpmPhysIf.dn|asc' | egrep "dn|operSt\b"
Or check the l1PhysIf MO - all unused ports usually report a usage of "discovery":
moquery -c l1PhysIf -x 'query-target-filter=eq(l1PhysIf.usage,"discovery") order-by=l1PhysIf.dn|asc' | egrep "dn|discovery"
HTH
Marcel
07-11-2018 10:29 AM
Thanks for the tips.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: