cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1609
Views
0
Helpful
1
Replies

Right way to get interface counters in TCL/EEM

Hello Experts,

I am looking for your advise about the best way to deal with interface counters inside TCL/EEM on XR. The ultimate goal is to compare rate (bps/pps) over two 10G interfaces and alert user in case they are differ more than 15-20% .

I can get counters by parsing output of "show interface TenGigX/X/X/X" but , may be more streightforward way is exists, like getting them directly from MIB or from elsewhere ?

Thank you !

1 Accepted Solution

Accepted Solutions

Joe Clarke
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame Cisco Employee

Using the CLI on XR is probably best since you can get bidrectional utilization in one call.  The SNMP ED would work, but you can only poll for one OID at a time.  So short answer is, you're doing the best thing right now.

View solution in original post

1 Reply 1

Joe Clarke
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame Cisco Employee

Using the CLI on XR is probably best since you can get bidrectional utilization in one call.  The SNMP ED would work, but you can only poll for one OID at a time.  So short answer is, you're doing the best thing right now.

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:

Recognize Your Peers