does anyone have/know the OID for HEC erros on VDSL/ADSL Line?
I have been trying to search for the Value with SNMP walk but having hard time to find the value
Cisco 800 Series VDSL/ADSL over POTS
Moderators: Developers, Moderators
Re: Cisco 800 Series VDSL/ADSL over POTS
If you can't find it in Cisco's OID Navigator (MIB Navigator, whatever they call it), it may not exist.
The good news is that it's pretty trivial to write a bash or perl script to get the information you want, assuming it can be retrieved via the Cisco's CLI.
The good news is that it's pretty trivial to write a bash or perl script to get the information you want, assuming it can be retrieved via the Cisco's CLI.
Re: Cisco 800 Series VDSL/ADSL over POTS
it can be retrived by typing "show controller vdsl 0"
but writing a bash script is not my strong side.. was hopeing there might be some OID I just could pull
but writing a bash script is not my strong side.. was hopeing there might be some OID I just could pull
Re: Cisco 800 Series VDSL/ADSL over POTS
Don't think there's an OID. Just create a user account in TACACS that only allows the user to run that one command (or create a local user in the Cisco device that can only run show commands if you're not using TACACS). Write a Bash or Perl script using `expect` (for Bash) or Net::SSH::Expect/Net::Telnet::Cisco(for Perl) that logs in, runs the command, and parses the output.
If you write the `expect` part of the script, I can help you with the output parsing since that's a bit more difficult (though still easy).
Read about `expect` here: http://stackoverflow.com/questions/1441 ... emote-host
If you want to go the Perl route, it depends on if you're using Telnet or SSH. For SSH: http://search.cpan.org/~bnegrao/Net-SSH ... Expect.pod
For Telnet: http://search.cpan.org/~joshua/Net-Teln ... 0/Cisco.pm
I personally find Perl to be easier for this sort of thing than Bash (Net::Telnet::Cisco is particularly simple), but your mileage may vary.
If you write the `expect` part of the script, I can help you with the output parsing since that's a bit more difficult (though still easy).
Read about `expect` here: http://stackoverflow.com/questions/1441 ... emote-host
If you want to go the Perl route, it depends on if you're using Telnet or SSH. For SSH: http://search.cpan.org/~bnegrao/Net-SSH ... Expect.pod
For Telnet: http://search.cpan.org/~joshua/Net-Teln ... 0/Cisco.pm
I personally find Perl to be easier for this sort of thing than Bash (Net::Telnet::Cisco is particularly simple), but your mileage may vary.
Who is online
Users browsing this forum: No registered users and 4 guests