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

SNMP GET with TCL/EEM

hello;

 

I'm trying to run a periodically script in TCL to execute an snmp get for a specific oid.

there is an example of the snmp get

#snmp get v2c 192.168.0.10 vrf IND TEST oid 1.3.6.1.2.1.2.2.1.8.3

SNMP Response: reqid 80, errstat 0, erridx 0
ifOperStatus.3 = 1

 

if the OperStatus return a value of 1, the message "interface UP" is shown.

if it returns a value of 2, the message "interface DOWN" is shown.

 

with EEM it's OK but it doesn't accept the VRF.

 

if anyone can help me to do it in TCL, I appreciated :)

 

Thank you.

0 Replies 0