cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
661
Views
0
Helpful
2
Replies

SNMP get command via CLI - 1920 router

tedauction
Level 1
Level 1

Hello, I am trying to poll OID values of my router directly from the router CLI for testing purposes.

I have enabled the command 'snmp-server manager'. Now when I enter 'snmp get ...' the IOS will not take command.

How do I do a test poll of any OID from the 1920 router CLI directly ?

Thank you.

2 Replies 2

Diana Karolina Rojas
Cisco Employee
Cisco Employee

This is the command history and compatibility of this command. (reference: http://www.cisco.com/c/en/us/td/docs/ios/netmgmt/command/reference/nm_book/nm_16.html)

Release
Modification

12.2(33)SRC

This command was introduced.

12.2(33)SXI

This command was integrated into Cisco IOS Release 12.2(33)SXI.

That command is not compatible on all IOS, can you provide your IOS version?

Regards, 

Buen día respetada Diana,

 

Muchas gracias por su respuesta, estoy trbajando en un cisco 2800 pero el sistema no me permite utilizar el comando snmp get.

#snmp ?
% Unrecognized command

 

A continuación la versión de IOS que tiene el equipo, de acuerdo al enlace que usted, muy amablemente nos compartió, debería funcionar?

 

#show version
Cisco IOS Software, 2801 Software (C2801-ADVENTERPRISEK9-M), Version 15.1(4)M12a , RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Tue 04-Oct-16 03:48 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

 

Muchas gracias por su ayuda,

 

Att,

 

Wilmar

 

Review Cisco Networking for a $25 gift card