Configuration error checking, Deleting a configuration, Deleting a configuration 3 – Brocade Network Advisor SAN + IP User Manual v12.1.0 User Manual

Page 1323: Using a dash character in cli, Configuration manager

Advertising
background image

Brocade Network Advisor SAN + IP User Manual

1273

53-1002949-01

Deleting a configuration

34

Using a dash character in CLI Configuration manager

You can override how the Management application treats messages without editing the CLI
responses properties file. To do this, enter a dash (-) at the beginning of each configuration line. For
example, to create a configuration that defines an IP address for port 3/2, enter the following
commands in the CLI Configuration Manager:

-interface ethernet 3/2

- ip address 192.45.6.110 255.255.255.0

NOTE

Make sure there is no space between the dash and the first character of a command entered at the
configuration level. When entering a sublevel command, you must use a space or a tab between the
dash and the first character of the command.

Using the dash tells the Management application to ignore any response, even if the response is
not in the cliResponses.properties file.

Configuration error checking

To prevent invalid commands from being entered in a configuration definition, the
cliShowCommands.properties file under the Install_Home\conf\cli\ directory specifies what
commands cannot be included in a configuration definition. The command lists the following:

An entry in a command=disallowed format indicates a command that must not be entered in
the CLI Command tab.
For example, you see the ping=disallowed entry. Ping cannot be included in a configuration or
monitoring definition.

A command that does not have "disallowed" can only be used under the monitoring. For
example, by default, the sh (show) command is included in the cliShowCommands.properties
file. This means that the sh command can be entered only under monitoring. For more
information on monitoring, refer to

“Monitoring configurations”

on page 1275.

You can add commands to the lists in the cliShowCommands.properties file. However, any
commands you add to that file are commands that are treated as display commands only or
are commands that cannot be used in a definition if they are listed with the "=disallowed"
expression.

Deleting a configuration

To delete a configuration, complete the following steps.

1. Select Configure > CLI Configuration.

The CLI Configuration dialog box displays.

2. Select one or more configurations to delete in the Templates table and click Delete.

3. Click Yes on the “Do you want to delete?” message to confirm.

4. Click Close to close the CLI Configuration dialog box.

Advertising