Configuring Interactive CLI Prompts

If the built-in interactive CLI prompts in the Shared Device Settings don't match those of your device, you can change them for this device. Thus Front Server can log into this device with your customized prompts.

To configure interactive CLI prompts:

1.Right-click the device on a map page and select Shared Device Settings from the drop-down menu to open the Shared Device Settings page.

2.Click Advanced on the CLI tab.

3.Select the Enable check box to enable the login script. The system logs on to the device with the parameters configured on the page by default.

4.Configure the command line prompts for entering the non-privileged mode and privileged mode of the device respectively based on your needs. You can click Default to use the system predefined command line prompts.

1)Click Add to add an entry.

2)In the Expected prompt column, enter the prompt strings that you expect to receive from the remote device.

3)In the associated Send Command column, enter the strings for how to respond after you receive the expected strings.

4)To show the content in the Send Command column as ciphertexts, click Yes in the Hide column.

5.Select whether to apply the configured login scripts to the devices in a device group.

1)Select the Apply settings to device group check box.

2)Select a device group from the drop-down list.

6.Click Submit to save the settings.

Tip: The system supports the following variables when you configure the command line prompts:

- $(hostname)

- $(username)

- $(password)

- $(privilege username)

- $(privilege password)

The variables are replaced with the corresponding values in the Shared Device Settings. For example, the $(username) variable in the login script will be replaced with the value of the Username field in the Shared Device Settings of the device.