I've searched around to try and find one for you, but I haven't seen anything with this. Does the Cisco 2511 have a specific API to control it with? I don't know much about it, but if it has some specific interface, there may be an example we could find that relates to the Cisco 2511 interface.
J.R. Allen