Discussion:
[rancid] HP ProCurve MSM410 AccessPoint
Helmut Wieser
2012-01-13 10:02:44 UTC
Permalink
Hi,

I've got rancid running fine with a variety of devices. However I've got
a few HP ProCurve MSM410 access points that I would like to monitor with
rancid as well. I can log in fine with hlogin. But they do not support
"show system" or "show system information". Instead the command needs to
be "show system info".

Is anyone using those devices in rancid? I tried type "hp" in router.db,
but this doesn't work.

Here's sample "show system info" output:

CLI# show system info
[CPU
info] [Mem info]
Firmware Version: 5.3.1.0-y-xxxx Load 1min: 0.00 Total
RAM: 263438336
Uptime: 123 days, 03:56> Load 5min: 0.00 Free
RAM: 219406336
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: xxxxxxxxxx CPU use now: 0% Cache
RAM: 14221312
CPU 5sec ago: 1%
[Storage use]
CPU 10sec ago: 0%
Permanent: 3%
CPU 20sec ago: 1%
Temporary: 1%


This is a list of all commands:

end:
Switches to parent context.
reboot device:
Restarts the system.
show interfaces:
Show networking interfaces.
show bridge:
Show bridge information.
show bridge forwarding:
Show bridge forwarding information.
show arp:
Show the ARP table.
show ip:
Show all IP addresses.
show ip route:
Show all IP routes.
show dns cache [<serial>]:
Show DNS cache entries. Specify a serial number to display detailed
information.
show system info:
Show basic system information.
show certificate:
Display current certificates.
show certificate binding:
Display how the certificates are used.
sh:
Protected access to shell.
arp <arguments>:
Displays and modifies the Internet-to-Ethernet address translation
tables used by the address resolution protocol.
iperf <arguments>:
Runs a performance throughput test.
ping <arguments>:
Determines if the specified remote IP address is active.
arping <arguments>:
Pings a destination on a device interface using ARP packets.
quit:
Exit the enable context.
rcapture <arguments>:
Sends port capture to an FTP server.
dumpstats <arguments>:
Display internal status.
show all config:
Print all configuration that applies to this device.
show client log [<macaddr>]:
Display client station log. Enter the MAC address to display more
details for a specific client station.
show wireless neighborhood:
Show all access points detected nearby.
show wireless rogue-ap:
Show all rogue access points detected nearby.
show dot11 associations:
Show all current wireless associations.
show dot11 statistics client-traffic:
Show current client matrix statistics.
show local mesh:
Show current local mesh interfaces.
config:
Switches to the config context.
factory reset:
Resets the unit to factory default settings.
switch operational mode:
Switches the unit operational mode.


kind regards,
Helmut Wieser
shouldbe q931
2012-01-15 23:49:46 UTC
Permalink
Hi,
I've got rancid running fine with a variety of devices. However I've got a
few HP ProCurve MSM410 access points that I would like to monitor with
rancid as well. I can log in fine with hlogin. But they do not support "show
system" or "show system information". Instead the command needs to be "show
system info".
Is anyone using those devices in rancid? I tried type "hp" in router.db, but
this doesn't work.
CLI# show system info
                                               [CPU info]               [Mem
info]
 263438336
Uptime:           123 days, 03:56>         Load 5min:       0.00    Free
RAM:  219406336
Board Revision:   50-00-1036-02            Load 15min:      0.00  Buffer
RAM:    6041600
Serial Number:    xxxxxxxxxx               CPU use now:       0%   Cache
RAM:   14221312
                                          CPU 5sec ago:      1%
[Storage use]
       3%
       1%
       Switches to parent context.
       Restarts the system.
       Show networking interfaces.
       Show bridge information.
       Show bridge forwarding information.
       Show the ARP table.
       Show all IP addresses.
       Show all IP routes.
       Show DNS cache entries. Specify a serial number to display detailed
information.
       Show basic system information.
       Display current certificates.
       Display how the certificates are used.
       Protected access to shell.
       Displays and modifies the Internet-to-Ethernet address translation
tables used by the address resolution protocol.
       Runs a performance throughput test.
       Determines if  the specified remote IP address is active.
       Pings a destination on a device interface using ARP packets.
       Exit the enable context.
       Sends port capture to an FTP server.
       Display internal status.
       Print all configuration that applies to this device.
       Display client station log. Enter the MAC address to display more
details for a specific client station.
       Show all access points detected nearby.
       Show all rogue access points detected nearby.
       Show all current wireless associations.
       Show current client matrix statistics.
       Show current local mesh  interfaces.
       Switches to the config context.
       Resets the unit to factory default settings.
       Switches the unit operational mode.
kind regards,
Helmut Wieser
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Which version of rancid are you using, and are you using it for any
other HP devices ?
Helmut Wieser
2012-01-16 07:10:43 UTC
Permalink
I'm using rancid-2.3.6 on CentOS 5.4. I got a few HP ProCurve 4204s, HP
2650s, 2520s, etc.
They all work fine, but then of course these respond to "show system" or
"show system information".
Post by shouldbe q931
Hi,
I've got rancid running fine with a variety of devices. However I've got a
few HP ProCurve MSM410 access points that I would like to monitor with
rancid as well. I can log in fine with hlogin. But they do not support "show
system" or "show system information". Instead the command needs to be "show
system info".
Is anyone using those devices in rancid? I tried type "hp" in router.db, but
this doesn't work.
CLI# show system info
[CPU info] [Mem
info]
263438336
Uptime: 123 days, 03:56> Load 5min: 0.00 Free
RAM: 219406336
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: xxxxxxxxxx CPU use now: 0% Cache
RAM: 14221312
CPU 5sec ago: 1%
[Storage use]
3%
1%
Switches to parent context.
Restarts the system.
Show networking interfaces.
Show bridge information.
Show bridge forwarding information.
Show the ARP table.
Show all IP addresses.
Show all IP routes.
Show DNS cache entries. Specify a serial number to display detailed
information.
Show basic system information.
Display current certificates.
Display how the certificates are used.
Protected access to shell.
Displays and modifies the Internet-to-Ethernet address translation
tables used by the address resolution protocol.
Runs a performance throughput test.
Determines if the specified remote IP address is active.
Pings a destination on a device interface using ARP packets.
Exit the enable context.
Sends port capture to an FTP server.
Display internal status.
Print all configuration that applies to this device.
Display client station log. Enter the MAC address to display more
details for a specific client station.
Show all access points detected nearby.
Show all rogue access points detected nearby.
Show all current wireless associations.
Show current client matrix statistics.
Show current local mesh interfaces.
Switches to the config context.
Resets the unit to factory default settings.
Switches the unit operational mode.
kind regards,
Helmut Wieser
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Which version of rancid are you using, and are you using it for any
other HP devices ?
heasley
2012-02-06 20:15:16 UTC
Permalink
Post by Helmut Wieser
I'm using rancid-2.3.6 on CentOS 5.4. I got a few HP ProCurve 4204s, HP
2650s, 2520s, etc.
They all work fine, but then of course these respond to "show system" or
"show system information".
the way its coded, I wouldn't expect it to fail if can't run either of those,
though the collection would be somewhat deficient. What is the error they
produce in response to either of those commands?
Post by Helmut Wieser
Post by shouldbe q931
Hi,
I've got rancid running fine with a variety of devices. However I've got a
few HP ProCurve MSM410 access points that I would like to monitor with
rancid as well. I can log in fine with hlogin. But they do not support "show
system" or "show system information". Instead the command needs to be "show
system info".
Is anyone using those devices in rancid? I tried type "hp" in router.db, but
this doesn't work.
CLI# show system info
[CPU info] [Mem
info]
263438336
Uptime: 123 days, 03:56> Load 5min: 0.00 Free
RAM: 219406336
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: xxxxxxxxxx CPU use now: 0% Cache
RAM: 14221312
CPU 5sec ago: 1%
[Storage use]
3%
1%
Switches to parent context.
Restarts the system.
Show networking interfaces.
Show bridge information.
Show bridge forwarding information.
Show the ARP table.
Show all IP addresses.
Show all IP routes.
Show DNS cache entries. Specify a serial number to display detailed
information.
Show basic system information.
Display current certificates.
Display how the certificates are used.
Protected access to shell.
Displays and modifies the Internet-to-Ethernet address translation
tables used by the address resolution protocol.
Runs a performance throughput test.
Determines if the specified remote IP address is active.
Pings a destination on a device interface using ARP packets.
Exit the enable context.
Sends port capture to an FTP server.
Display internal status.
Print all configuration that applies to this device.
Display client station log. Enter the MAC address to display more
details for a specific client station.
Show all access points detected nearby.
Show all rogue access points detected nearby.
Show all current wireless associations.
Show current client matrix statistics.
Show current local mesh interfaces.
Switches to the config context.
Resets the unit to factory default settings.
Switches the unit operational mode.
kind regards,
Helmut Wieser
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Which version of rancid are you using, and are you using it for any
other HP devices ?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Helmut Wieser
2012-02-07 07:58:11 UTC
Permalink
Here's some output from the console:

CLI# show system
% Command incomplete.
CLI# show system information
% Unknown command.
CLI# show system <<< I pressed the question mark key >>>
show system info:
Show basic system information.
CLI# show system info
[CPU
info] [Mem info]
Firmware Version: 5.3.1.0-01-7143 Load 1min: 0.09 Total
RAM: 263438336
Uptime: 148 days, 02:23> Load 5min: 0.02 Free
RAM: 219660288
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: SG9152S0W1 CPU use now: 0% Cache
RAM: 14217216
CPU 5sec ago: 0%
[Storage use]
CPU 10sec ago: 0%
Permanent: 3%
CPU 20sec ago: 0%
Temporary: 1%
CLI# show system-information
% Unknown command.
CLI# show system-info
% Unknown command.
CLI#
Post by heasley
Post by Helmut Wieser
I'm using rancid-2.3.6 on CentOS 5.4. I got a few HP ProCurve 4204s, HP
2650s, 2520s, etc.
They all work fine, but then of course these respond to "show system" or
"show system information".
the way its coded, I wouldn't expect it to fail if can't run either of those,
though the collection would be somewhat deficient. What is the error they
produce in response to either of those commands?
Post by Helmut Wieser
Post by shouldbe q931
Hi,
I've got rancid running fine with a variety of devices. However I've got a
few HP ProCurve MSM410 access points that I would like to monitor with
rancid as well. I can log in fine with hlogin. But they do not support "show
system" or "show system information". Instead the command needs to be "show
system info".
Is anyone using those devices in rancid? I tried type "hp" in router.db, but
this doesn't work.
CLI# show system info
[CPU info] [Mem
info]
263438336
Uptime: 123 days, 03:56> Load 5min: 0.00 Free
RAM: 219406336
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: xxxxxxxxxx CPU use now: 0% Cache
RAM: 14221312
CPU 5sec ago: 1%
[Storage use]
3%
1%
Switches to parent context.
Restarts the system.
Show networking interfaces.
Show bridge information.
Show bridge forwarding information.
Show the ARP table.
Show all IP addresses.
Show all IP routes.
Show DNS cache entries. Specify a serial number to display detailed
information.
Show basic system information.
Display current certificates.
Display how the certificates are used.
Protected access to shell.
Displays and modifies the Internet-to-Ethernet address translation
tables used by the address resolution protocol.
Runs a performance throughput test.
Determines if the specified remote IP address is active.
Pings a destination on a device interface using ARP packets.
Exit the enable context.
Sends port capture to an FTP server.
Display internal status.
Print all configuration that applies to this device.
Display client station log. Enter the MAC address to display more
details for a specific client station.
Show all access points detected nearby.
Show all rogue access points detected nearby.
Show all current wireless associations.
Show current client matrix statistics.
Show current local mesh interfaces.
Switches to the config context.
Resets the unit to factory default settings.
Switches the unit operational mode.
kind regards,
Helmut Wieser
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Which version of rancid are you using, and are you using it for any
other HP devices ?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Helmut Wieser
2012-02-09 09:32:09 UTC
Permalink
It seems to be! After some deep digging I found an EULA on the device
that refers to Colubris.
They were bought by HP in 2008.

So that's why they won't work with the hp module. And there doesn't seem
to be a colubris module, so they won't work with rancid right now.

I still tried the patch from below, it has no effect.
Post by Helmut Wieser
CLI# show system
% Command incomplete.
CLI# show system information
% Unknown command.
The error is different. is this perhaps another OEM?
Post by Helmut Wieser
CLI# show system<<< I pressed the question mark key>>>
Show basic system information.
CLI# show system info
[CPU
info] [Mem info]
Firmware Version: 5.3.1.0-01-7143 Load 1min: 0.09 Total
RAM: 263438336
Uptime: 148 days, 02:23> Load 5min: 0.02 Free
RAM: 219660288
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: SG9152S0W1 CPU use now: 0% Cache
RAM: 14217216
CPU 5sec ago: 0%
[Storage use]
CPU 10sec ago: 0%
Permanent: 3%
CPU 20sec ago: 0%
Temporary: 1%
CLI# show system-information
% Unknown command.
CLI# show system-info
% Unknown command.
CLI#
Post by heasley
Post by Helmut Wieser
I'm using rancid-2.3.6 on CentOS 5.4. I got a few HP ProCurve 4204s, HP
2650s, 2520s, etc.
They all work fine, but then of course these respond to "show system" or
"show system information".
the way its coded, I wouldn't expect it to fail if can't run either of those,
though the collection would be somewhat deficient. What is the error they
produce in response to either of those commands?
Post by Helmut Wieser
Post by shouldbe q931
Hi,
I've got rancid running fine with a variety of devices. However I've got a
few HP ProCurve MSM410 access points that I would like to monitor with
rancid as well. I can log in fine with hlogin. But they do not support "show
system" or "show system information". Instead the command needs to be "show
system info".
Is anyone using those devices in rancid? I tried type "hp" in router.db, but
this doesn't work.
CLI# show system info
[CPU info] [Mem
info]
263438336
Uptime: 123 days, 03:56> Load 5min: 0.00 Free
RAM: 219406336
Board Revision: 50-00-1036-02 Load 15min: 0.00 Buffer
RAM: 6041600
Serial Number: xxxxxxxxxx CPU use now: 0% Cache
RAM: 14221312
CPU 5sec ago: 1%
[Storage use]
3%
1%
Switches to parent context.
Restarts the system.
Show networking interfaces.
Show bridge information.
Show bridge forwarding information.
Show the ARP table.
Show all IP addresses.
Show all IP routes.
Show DNS cache entries. Specify a serial number to display detailed
information.
Show basic system information.
Display current certificates.
Display how the certificates are used.
Protected access to shell.
Displays and modifies the Internet-to-Ethernet address translation
tables used by the address resolution protocol.
Runs a performance throughput test.
Determines if the specified remote IP address is active.
Pings a destination on a device interface using ARP packets.
Exit the enable context.
Sends port capture to an FTP server.
Display internal status.
Print all configuration that applies to this device.
Display client station log. Enter the MAC address to display more
details for a specific client station.
Show all access points detected nearby.
Show all rogue access points detected nearby.
Show all current wireless associations.
Show current client matrix statistics.
Show current local mesh interfaces.
Switches to the config context.
Resets the unit to factory default settings.
Switches the unit operational mode.
kind regards,
Helmut Wieser
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Which version of rancid are you using, and are you using it for any
other HP devices ?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Index: bin/hrancid.in
===================================================================
--- bin/hrancid.in (revision 2392)
+++ bin/hrancid.in (working copy)
@@ -236,6 +236,7 @@
next if (/^(\s*|\s*$cmd\s*)$/);
return(-1) if (/command authorization failed/i);
return(0) if /^(Invalid|Ambiguous) input:/i;
+ return(0) if /^% Unknown command/i;
if (/memory\s+-\s+total\s+:\s+(\S+)/i) {
my($mem) = $1;
Loading...