Users Guide

Perl Scripts | Actions and Adaptive CLI
OMNM 6.5.3 User Guide 599
must be in another continue pattern to force the last line before a pause in output to be the
router's prompt. The patterns are
.*Proceed.*
and
.*SHUTDOWN in.*
allowing any
characters before and after the keywords to match.
Alternatively, this example could have a third command after
reboot
to force a new router
prompt, but managing this problem with the continuation set seemed more straightforward.
Cisco Adaptive CLI Caveat
If you have not saved configuration changes for Cisco routers, then this Adaptive CLI fails. For sake
of this example, such a failure is the correct response. However, if the Adaptive CLI needs multiple
confirmations you can just add more with their responses as appears in the Continue Patterns
described above.
Example 4 - Adaptive CLI To Extract Upload/Download Speeds
The following describes an example Adaptive CLI configured to extract upload and download
ADSL speeds from a Cisco Router. To create this example, follow these steps:
1
Right-click to create a new Adaptive CLI in the Actions portlet.
2
Name it and configure the Adaptive CLI in the General screen. Since these are generic
settings described elsewhere, the details do not appear here.