cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3116
Views
5
Helpful
2
Replies

ACI Fabric - Port usage

ChrisB.
Level 1
Level 1

Hello,

is there an easy way to extract fabric ports usage for capacity planning ?

thanks in advance

1 Accepted Solution

Accepted Solutions

Marcel Zehnder
Spotlight
Spotlight

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

View solution in original post

2 Replies 2

Marcel Zehnder
Spotlight
Spotlight

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

Thanks for the tips.

Getting Started

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:

Save 25% on Day-2 Operations Add-On License