Hi all,
Both CLI and SNMP are able to retreive the information of the switch. What is the difference between the two besides the connection interface? When should I use CLI and when the SNMP will do the better job?
Thanks
Hi all,
Both CLI and SNMP are able to retreive the information of the switch. What is the difference between the two besides the connection interface? When should I use CLI and when the SNMP will do the better job?
Thanks
SNMP may be easier to handle for automatic retrieval ... for CLI you can use Telnet::Cisco (perl) to do this, but SNMP may be much easier
Klaus
Some statistics or logs are not available via SNMP, and others are not available in a nice format via SNMP.
Also, it is common for SNMP to be rate-limited; if you are not able to pull the information you want out in an SNMP Bulk GET, you might not be able to pull it all out via SNMP as quickly as with the CLI.
SNMP uses UDP, so the device is allowed to ignore it; it isn't allowed to ignore the CLI.
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.