Cisco Cisco Process Orchestrator 3.1 Mode D'Emploi

Page de 786
 
13-118
Cisco Process Orchestrator 3.1 User Guide
 
Appendix 13      Using Adapters 
  Terminal Adapter
Getting Started Using the Terminal Adapter
Use the following process to monitor and manage Terminal adapter instances. 
Step 1
Create the Terminal targets (see 
).
Step 2
Define a Terminal message runtime users (see 
).
Step 3
Define a Terminal command activity (see 
). 
Step 4
View the activity results (see 
).
Configuring the Terminal Adapter
Configuring SSH Version 2.0 Support for Cisco IOS Devices
To properly execute Cisco IOS processes and activities against the Terminal adapter, the IOS device 
cannot run using SSH v1.0. The IOS devices should be configured to run SSH v2.0. The Secure Shell 
Version 2 Support feature allows users to configure Secure Shell (SSH) Version 2.
Before configuring SSH, download the k9 (Triple Data Encryption Standard [3DES]) software image 
from Cisco IOS Release 12.3(4)T, 12.2(25)S, or 12.3(7)JA onto your router.
For additional information on configuring IOS devices for SSH v2.0 support, see 
Secure Shell Version 
2 Support
 on the Cisco web site.
Configuring an Expect Template
Because creating Terminal targets can be complex, the expect template provides users with limited 
knowledge of expects a simpler method to complete the target configuration properties. Expect templates 
contain default configuration sequence of expects and elevated privilege command expects.
The Expect Template tab on the Terminal Adapter dialog box displays the list of default expect template 
configurations that have been created using the Expect Templates dialog box. From this tab, users can 
create, modify, and delete expect templates.
Expect templates can be imported and exported just like other objects in an automation pack. Imported 
expect templates from an automation pack can only be modified by the author of that automation pack. 
A Process Orchestrator content-author can only export those expect templates created by that content 
author.
Step 1
Choose Administration > Adapters, highlight Terminal Adapter, right-click and choose Properties.
Step 2
Click the Expect Templates tab, then click New > Expect Template.
Step 3
Click the General tab and enter the required information.
Step 4
Click the Expect Template tab to configure the default expect values.
Step 5
Complete the following information for the connection patterns.
  •
Prompt—Enter the system prompt pattern in regular expression
  •
Error—Enter the error message pattern in regular expression